Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
fix: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Dec 1, 2023
1 parent 0a3935e commit fe6626a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if [[ "$ARCH" = "aarch64" ]]; then
darch=linux/arm64
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu > /dev/null
# export CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ CC_host="gcc -m32" CXX_host="g++ -m32"
export DEVELOPMENT_SKIP_GETTING_ASSET=true
fi

# echo "Prepare builder for ${ARCH}"
Expand All @@ -28,7 +29,7 @@ npm install "re2@${TOOL_VERSION}" --save-exact --no-audit --no-fund --prefix .ca

if [[ "$ARCH" = "aarch64" ]]; then
echo "Rebuilding re2 v${VERSION} for Node v${NODE_VERSION} (${farch})"
npm explore re2 --prefix .cache -- npm run rebuild --arch=arm
#npm explore re2 --prefix .cache -- npm run rebuild --arch=${farch}
fi

echo "Testing re2 v${VERSION} for Node v${NODE_VERSION} (${farch})"
Expand Down

0 comments on commit fe6626a

Please sign in to comment.