Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
49d1a032
Commit
49d1a032
authored
Nov 14, 2019
by
Guillaume Ballet
Committed by
Felix Lange
Nov 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: gather info to investigate why builds fail on ARM (#20281)
parent
765fe446
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
.travis.yml
.travis.yml
+2
-0
ci.go
build/ci.go
+4
-0
No files found.
.travis.yml
View file @
49d1a032
...
...
@@ -47,6 +47,8 @@ jobs:
dist
:
xenial
go
:
1.13.x
script
:
-
cat /proc/cpuinfo
-
free -h
-
go run build/ci.go install
-
go run build/ci.go test -coverage $TEST_PACKAGES
...
...
build/ci.go
View file @
49d1a032
...
...
@@ -229,6 +229,9 @@ func doInstall(cmdline []string) {
if
*
arch
==
""
||
*
arch
==
runtime
.
GOARCH
{
goinstall
:=
goTool
(
"install"
,
buildFlags
(
env
)
...
)
if
runtime
.
GOARCH
==
"arm64"
{
goinstall
.
Args
=
append
(
goinstall
.
Args
,
"-p"
,
"1"
)
}
goinstall
.
Args
=
append
(
goinstall
.
Args
,
"-v"
)
goinstall
.
Args
=
append
(
goinstall
.
Args
,
packages
...
)
build
.
MustRun
(
goinstall
)
...
...
@@ -241,6 +244,7 @@ func doInstall(cmdline []string) {
os
.
RemoveAll
(
filepath
.
Join
(
path
,
"pkg"
,
runtime
.
GOOS
+
"_arm"
))
}
}
// Seems we are cross compiling, work around forbidden GOBIN
goinstall
:=
goToolArch
(
*
arch
,
*
cc
,
"install"
,
buildFlags
(
env
)
...
)
goinstall
.
Args
=
append
(
goinstall
.
Args
,
"-v"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment