Skip to content

Commit f5d0e21

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

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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)