mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
nodejs.org: build static binary on linux/x86-64
This commit is contained in:
parent
38be359c68
commit
ab47472bca
1 changed files with 15 additions and 1 deletions
|
@ -28,10 +28,20 @@ build:
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
|
|
||||||
|
# FIXME: currently, dynamic builds of nodejs.org are segfaulting on linux/x86-64
|
||||||
|
if test "{{hw.platform}}/{{hw.arch}}" = "linux/x86-64"; then
|
||||||
|
for i in out/tools/v8_gypfiles/gen-regexp-special-case.target.mk out/test_crypto_engine.target.mk; do
|
||||||
|
if test -f "$i"; then
|
||||||
|
sed -i.bak -e 's/\-static//g' $i
|
||||||
|
rm $i.bak
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
make --jobs {{ hw.concurrency }} install
|
make --jobs {{ hw.concurrency }} install
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
# we provide npm (well not yet, but we will)
|
|
||||||
- --without-npm
|
- --without-npm
|
||||||
- --prefix={{ prefix }}
|
- --prefix={{ prefix }}
|
||||||
# like, maybe we should include this?
|
# like, maybe we should include this?
|
||||||
|
@ -39,6 +49,10 @@ build:
|
||||||
- --with-intl=system-icu
|
- --with-intl=system-icu
|
||||||
- --shared-openssl
|
- --shared-openssl
|
||||||
- --shared-zlib
|
- --shared-zlib
|
||||||
|
linux/x86-64:
|
||||||
|
ARGS:
|
||||||
|
- --fully-static
|
||||||
|
- --enable-static
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in a new issue