Skip to content

Commit

Permalink
add arm64 support (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgk committed Sep 30, 2019
1 parent 8495c0b commit fc5d860
Show file tree
Hide file tree
Showing 5 changed files with 5,568 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "go"]
path = go
url = https://github.com/golang/go.git
branch = release-branch.go1.12
branch = release-branch.go1.13
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
GOROOT= /usr/local/go

GOOS= freebsd
GOARCH= amd64 386 arm
GOARCH= amd64 386 arm arm64
GOARM= 6 7

all:
cd ${.CURDIR}/go ; \
git reset --hard ; \
git clean -fd ; \
git apply ${.CURDIR}/arm64/arm64.patch
.for goarch in ${GOARCH}
. if ${goarch} == arm
. for goarm in ${GOARM}
Expand All @@ -25,6 +29,9 @@ all:
.endfor

clean:
cd ${.CURDIR}/go ; \
git reset --hard ; \
git clean -fd
rm -rf go-*-bootstrap go-*.tar.xz

upload:
Expand Down
4 changes: 4 additions & 0 deletions arm64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This directory contains https://github.com/MikaelUrankar/go/tree/freebsd-aarch64 patch
rebased on https://github.com/golang/go/tree/release-branch.go1.13

Thanks to: Mikael Urankar (https://github.com/MikaelUrankar)
Loading

0 comments on commit fc5d860

Please # to comment.