Skip to content

Commit bafd0a4

Browse files
committed
Build with small icu
Force python3 to be used: macOS has no 'python3.x' command
1 parent a4d7ae3 commit bafd0a4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build-libv8

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ set -u
55

66
version="${1}"
77

8+
NJOBS="${NJOBS:-$(getconf _NPROCESSORS_ONLN 2>/dev/null || true)}"
9+
NJOBS="${NJOBS:-1}"
10+
811
cd "src/node-${version}"
912

10-
./configure --openssl-no-asm --without-npm
11-
make
13+
python3 configure --openssl-no-asm --without-npm --shared --with-intl=small-icu
14+
make -j"${NJOBS}"
1215

1316
# taken from
1417
# ./configure

0 commit comments

Comments
 (0)