Browse Source

arm64 Go version for aarch64 (armV8)

master
openoms 6 years ago
parent
commit
8ec42c9273
  1. 5
      build_sdcard.sh
  2. 5
      home.admin/97addMobileWalletLNDconnect.sh
  3. 5
      home.admin/97addMobileWalletZeus.sh

5
build_sdcard.sh

@ -571,9 +571,12 @@ echo ""
# Go is needed for ZAP connect later # Go is needed for ZAP connect later
# see https://golang.org/dl/ # see https://golang.org/dl/
goVersion="1.12.5" goVersion="1.12.5"
if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then if [ ${isARM} -eq 1 ] ; then
goOSversion="armv6l" goOSversion="armv6l"
fi fi
if [ ${isAARCH64} -eq 1 ] ; then
goOSversion="arm64"
fi
if [ ${isX86_64} -eq 1 ] ; then if [ ${isX86_64} -eq 1 ] ; then
goOSversion="amd64" goOSversion="amd64"
fi fi

5
home.admin/97addMobileWalletLNDconnect.sh

@ -33,9 +33,12 @@ echo "### Check Framework: GO ###"
goInstalled=$(go version 2>/dev/null | grep -c 'go') goInstalled=$(go version 2>/dev/null | grep -c 'go')
if [ ${goInstalled} -eq 0 ];then if [ ${goInstalled} -eq 0 ];then
goVersion="1.12.5" goVersion="1.12.5"
if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then if [ ${isARM} -eq 1 ] ; then
goOSversion="armv6l" goOSversion="armv6l"
fi fi
if [ ${isAARCH64} -eq 1 ] ; then
goOSversion="arm64"
fi
if [ ${isX86_64} -eq 1 ] ; then if [ ${isX86_64} -eq 1 ] ; then
goOSversion="amd64" goOSversion="amd64"
fi fi

5
home.admin/97addMobileWalletZeus.sh

@ -18,9 +18,12 @@ fi
goInstalled=$(go version 2>/dev/null | grep -c 'go') goInstalled=$(go version 2>/dev/null | grep -c 'go')
if [ ${goInstalled} -eq 0 ];then if [ ${goInstalled} -eq 0 ];then
goVersion="1.12.5" goVersion="1.12.5"
if [ ${isARM} -eq 1 ] || [ ${isAARCH64} -eq 1 ] ; then if [ ${isARM} -eq 1 ] ; then
goOSversion="armv6l" goOSversion="armv6l"
fi fi
if [ ${isAARCH64} -eq 1 ] ; then
goOSversion="arm64"
fi
if [ ${isX86_64} -eq 1 ] ; then if [ ${isX86_64} -eq 1 ] ; then
goOSversion="amd64" goOSversion="amd64"
fi fi

Loading…
Cancel
Save