Skip to content

Commit

Permalink
v21.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Nov 30, 2023
1 parent c49f313 commit cae309b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eu

node_ver=21.2.0
node_ver=v21.3.0

apk add \
clang \
Expand All @@ -14,11 +14,7 @@ apk add \

cd "$(mktemp -d)"

curl -f -L --retry 5 https://github.com/nodejs/node/archive/refs/tags/v$node_ver.tar.gz | tar xz --strip-components=1
curl -f -L --retry 5 https://github.com/nodejs/node/commit/0ee49c8620793ec09bc9b8303a1915d289975fb3.diff | patch -p1
curl -f -L --retry 5 https://github.com/nodejs/node/commit/09f4aa948918bb43a45a29d89515f568336b4531.diff | patch -p1
curl -f -L --retry 5 https://github.com/nodejs/node/commit/ec023a7a793f2e2e457e811e4c6ab9e81d5feeb0.diff | patch -p1
curl -f -L --retry 5 https://github.com/nodejs/node/commit/8e60189585dce0327eca38aef8e72ed5d58e7b6f.diff | patch -p1
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver/node-$node_ver.tar.gz | tar xz --strip-components=1
patch -p1 -i /workspace/node-clang-lto.diff

make -j"$(nproc)" binary \
Expand All @@ -30,4 +26,4 @@ make -j"$(nproc)" binary \

out/Release/node -e 'console.log(6*7)' | grep -F 42

mv node-v$node_ver-linux-x64-static.tar.xz /workspace
mv node-$node_ver-linux-x64-static.tar.xz /workspace

0 comments on commit cae309b

Please sign in to comment.