|
@@ -67,17 +67,16 @@ if [[ "${OS_NAME}" == "osx" ]]; then
|
|
|
|
|
|
yarn postinstall
|
|
|
else
|
|
|
- if [[ "${npm_config_arch}" == "arm" ]]; then
|
|
|
- export npm_config_arm_version=7
|
|
|
- elif [[ "${npm_config_arch}" == "ia32" ]]; then
|
|
|
+ if [[ "${OS_NAME}" == "windows" ]]; then
|
|
|
# TODO: Should be replaced with upstream URL once https://github.com/nodejs/node-gyp/pull/2825
|
|
|
# gets merged.
|
|
|
rm -rf .build/node-gyp
|
|
|
mkdir -p .build/node-gyp
|
|
|
cd .build/node-gyp
|
|
|
|
|
|
- git clone https://github.com/rzhao271/node-gyp.git .
|
|
|
- git checkout 102b347da0c92c29f9c67df22e864e70249cf086
|
|
|
+ git clone https://github.com/nodejs/node-gyp.git .
|
|
|
+ git checkout v9.4.0
|
|
|
+ git am --3way --whitespace=fix ../../build/npm/gyp/patches/gyp_spectre_mitigation_support.patch
|
|
|
npm install
|
|
|
|
|
|
npm_config_node_gyp=$( pwd )
|
|
@@ -86,6 +85,10 @@ else
|
|
|
cd ../..
|
|
|
fi
|
|
|
|
|
|
+ if [[ "${npm_config_arch}" == "arm" ]]; then
|
|
|
+ export npm_config_arm_version=7
|
|
|
+ fi
|
|
|
+
|
|
|
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --network-timeout 180000
|
|
|
fi
|
|
|
|