File tree Expand file tree Collapse file tree 4 files changed +7
-82
lines changed Expand file tree Collapse file tree 4 files changed +7
-82
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
name : build
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-24.04
12
12
steps :
13
13
14
14
- name : setup-podman
Original file line number Diff line number Diff line change 1
1
# ` node-static `
2
2
3
3
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.
Original file line number Diff line number Diff line change 2
2
3
3
set -eu
4
4
5
- node_ver=v22.1 .0
5
+ node_ver=v22.2 .0
6
6
7
7
apk add \
8
- clang \
9
8
linux-headers \
10
- lld \
11
- llvm \
12
9
python3 \
13
10
xz
14
11
15
12
cd " $( mktemp -d) "
16
13
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
19
15
patch -p1 -i /workspace/use-etc-ssl-certs.patch
20
16
21
17
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" \
26
19
VARIATION=" static"
27
20
28
21
mv node-$node_ver -linux-x64-static.tar.xz /workspace
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments