mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(nodejs)
This commit is contained in:
parent
940855d93c
commit
37425ba158
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue