Skip to content

Commit 13dfce9

Browse files
committed
v22.2.0
1 parent 8ef4ef5 commit 13dfce9

File tree

4 files changed

+7
-82
lines changed

4 files changed

+7
-82
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
build:
1010
name: build
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
1313

1414
- name: setup-podman

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `node-static`
22

33
Highly opinionated x86_64-linux nodejs build, fully statically linked,
4-
with pointer compression, clang LTO and mimalloc. Should be fast
5-
when it works, but it doesn't work with native addons, so don't use it
6-
in your project unless you know what you're doing.
4+
with pointer compression and mimalloc. Should be fast when it works,
5+
but it doesn't work with native addons, so don't use it in your
6+
project unless you know what you're doing.

build.sh

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,20 @@
22

33
set -eu
44

5-
node_ver=v22.1.0
5+
node_ver=v22.2.0
66

77
apk add \
8-
clang \
98
linux-headers \
10-
lld \
11-
llvm \
129
python3 \
1310
xz
1411

1512
cd "$(mktemp -d)"
1613

17-
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver/node-$node_ver.tar.gz | tar xz --strip-components=1
18-
patch -p1 -i /workspace/node-clang-lto.diff
14+
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver/node-$node_ver.tar.xz | tar xJ --strip-components=1
1915
patch -p1 -i /workspace/use-etc-ssl-certs.patch
2016

2117
make -j"$(nproc)" binary \
22-
AR="llvm-ar" \
23-
CC="clang" \
24-
CXX="clang++" \
25-
CONFIG_FLAGS="--enable-lto --experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
18+
CONFIG_FLAGS="--experimental-enable-pointer-compression --fully-static --openssl-use-def-ca-store" \
2619
VARIATION="static"
2720

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

node-clang-lto.diff

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)