fix(nodejs)

This commit is contained in:
Jacob Heider 2023-04-14 17:24:35 -04:00 committed by Jacob Heider
parent 940855d93c
commit 37425ba158

View file

@ -27,6 +27,13 @@ build:
python.org: '>=3.7 <3.11' python.org: '>=3.7 <3.11'
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
script: | script: |
# This is hacky, but it works.
# Knowing the precise versions to test is difficult, since
# nodejs develops multiple majors in sync.
if ./configure --help | grep -- --without-corepack; then
ARGS="$ARGS --without-corepack"
fi
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
env: env:
@ -34,7 +41,6 @@ build:
- --without-npm - --without-npm
- --prefix={{ prefix }} - --prefix={{ prefix }}
# like, maybe we should include this? # like, maybe we should include this?
- --without-corepack
- --with-intl=system-icu - --with-intl=system-icu
- --shared-openssl - --shared-openssl
- --shared-zlib - --shared-zlib