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
3eebeae3
Commit
3eebeae3
authored
Dec 02, 2015
by
Jeffrey Wilcke
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2032 from karalabe/linux-arm64-cross
Makefile: enable 64-bit ARM builds on Linux
parents
888e7bc7
98d68cfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Makefile
Makefile
+8
-2
No files found.
Makefile
View file @
3eebeae3
...
...
@@ -3,7 +3,8 @@
# don't need to bother with make.
.PHONY
:
geth geth-cross evm all test travis-test-with-coverage xgo clean
.PHONY
:
geth-linux geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-386 geth-linux-amd64
.PHONY
:
geth-linux geth-linux-386 geth-linux-amd64
.PHONY
:
geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
.PHONY
:
geth-darwin geth-darwin-386 geth-darwin-amd64
.PHONY
:
geth-windows geth-windows-386 geth-windows-amd64
.PHONY
:
geth-android geth-ios
...
...
@@ -37,7 +38,7 @@ geth-linux-amd64: xgo
@
echo
"Linux amd64 cross compilation done:"
@
ls
-l
$(GOBIN)
/geth-linux-
*
|
grep
amd64
geth-linux-arm
:
geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7
geth-linux-arm
:
geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7
geth-linux-arm64
@
echo
"Linux ARM cross compilation done:"
@
ls
-l
$(GOBIN)
/geth-linux-
*
|
grep
arm
...
...
@@ -56,6 +57,11 @@ geth-linux-arm-7: xgo
@
echo
"Linux ARMv7 cross compilation done:"
@
ls
-l
$(GOBIN)
/geth-linux-
*
|
grep
arm-7
geth-linux-arm64
:
xgo
build/env.sh
$(GOBIN)
/xgo
--go
=
$(GO)
--buildmode
=
$(MODE)
--dest
=
$(GOBIN)
--deps
=
$(CROSSDEPS)
--targets
=
linux/arm64
-v
$(
shell
build/flags.sh
)
./cmd/geth
@
echo
"Linux ARM64 cross compilation done:"
@
ls
-l
$(GOBIN)
/geth-linux-
*
|
grep
arm64
geth-darwin
:
geth-darwin-386 geth-darwin-amd64
@
echo
"Darwin cross compilation done:"
@
ls
-l
$(GOBIN)
/geth-darwin-
*
...
...
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