Skip to content

Commit 8fc6526

Browse files
committed
v24.2.0
1 parent 8ea8cc1 commit 8fc6526

File tree

5 files changed

+4
-84
lines changed

5 files changed

+4
-84
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -63,52 +63,3 @@ jobs:
6363
export PATH=$PWD/bin:$PATH
6464
npm install @bjorn3/browser_wasi_shim
6565
popd
66-
67-
darwin:
68-
name: ${{ matrix.arch }}-darwin
69-
runs-on:
70-
- ${{ matrix.runner_tag }}
71-
- macOS
72-
strategy:
73-
matrix:
74-
include:
75-
- arch: aarch64
76-
runner_tag: ARM64
77-
- arch: x86_64
78-
runner_tag: X64
79-
steps:
80-
- name: checkout
81-
uses: actions/checkout@v4
82-
83-
- name: build-node
84-
run: |
85-
set -euo pipefail
86-
87-
node_ver=v23.11.0
88-
89-
pushd "$(mktemp -d)"
90-
91-
curl -f -L --retry 5 https://github.com/nodejs/node/archive/refs/tags/$node_ver.tar.gz | tar xz --strip-components=1
92-
patch -p1 -i $GITHUB_WORKSPACE/bump-v8-wasm-limits.diff
93-
patch -p1 -i $GITHUB_WORKSPACE/lto.diff
94-
95-
make -j$(curl -f -L --retry 5 https://gitlab.haskell.org/ghc/ghc/-/raw/master/mk/detect-cpu-count.sh | sh) binary CONFIG_FLAGS="--enable-lto"
96-
97-
mkdir $GITHUB_WORKSPACE/dist
98-
mv node-$node_ver-*.tar.xz $GITHUB_WORKSPACE/dist
99-
100-
popd
101-
102-
- name: upload-artifact
103-
uses: actions/upload-artifact@v4
104-
with:
105-
name: node-darwin-${{ matrix.arch }}
106-
path: dist/node-v*.tar.xz
107-
108-
- name: test-node
109-
run: |
110-
pushd dist
111-
tar xJf node-v*.tar.xz --strip-components=1
112-
export PATH=$PWD/bin:$PATH
113-
npm install @bjorn3/browser_wasi_shim
114-
popd

README.md

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

33
Highly opinionated nodejs build, fully statically linked with
4-
musl/mimalloc on linux, with increased V8 wasm limits and LLVM
5-
ThinLTO. Don't use it in your own project unless you know what you're
6-
doing.
4+
musl/mimalloc on linux, with LLVM ThinLTO. Don't use it in your own
5+
project unless you know what you're doing.

build-alpine.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
node_ver=v23.11.0
5+
node_ver=v24.2.0
66

77
apk add \
88
clang \
@@ -14,15 +14,13 @@ apk add \
1414
cd "$(mktemp -d)"
1515

1616
curl -f -L --retry 5 https://nodejs.org/dist/$node_ver/node-$node_ver.tar.xz | tar xJ --strip-components=1
17-
patch -p1 -i /workspace/bump-v8-wasm-limits.diff
1817
patch -p1 -i /workspace/lto.diff
19-
patch -p1 -i /workspace/use-etc-ssl-certs.diff
2018

2119
make -j"$(nproc)" binary \
2220
AR=llvm-ar \
2321
CC=clang \
2422
CXX=clang++ \
25-
CONFIG_FLAGS="--enable-lto --fully-static --openssl-use-def-ca-store" \
23+
CONFIG_FLAGS="--enable-lto --fully-static" \
2624
LDFLAGS=-Wl,-z,stack-size=8388608 \
2725
VARIATION="static"
2826

bump-v8-wasm-limits.diff

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

use-etc-ssl-certs.diff

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

0 commit comments

Comments
 (0)