Skip to content

Commit

Permalink
Merge pull request #200 from nicolasnoble/arm64
Browse files Browse the repository at this point in the history
Building arm64 binaries.
  • Loading branch information
nicolasnoble authored Mar 3, 2018
2 parents 02e4121 + aa50d30 commit a867c90
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ node_versions=( 4.0.0 5.0.0 6.0.0 7.0.0 8.0.0 9.0.0 )
for version in ${node_versions[@]}
do
# Cross compile for ARM on x64
# Requires debian or ubuntu packages "g++-aarch64-linux-gnu" and "g++-arm-linux-gnueabihf".
CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ LD=arm-linux-gnueabihf-g++ ./node_modules/.bin/node-pre-gyp configure rebuild package testpackage --target=$version --target_arch=arm
CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ LD=aarch64-linux-gnu-g++ ./node_modules/.bin/node-pre-gyp configure rebuild package testpackage --target=$version --target_arch=arm64
cp -r build/stage/* "${ARTIFACTS_OUT}"/
done

0 comments on commit a867c90

Please sign in to comment.