Update codium tool NPM
parent
1eb49b3f0d
commit
9b4d69a616
|
@ -1,9 +1,9 @@
|
|||
id: "com.vscodium.codium.tool.NPM"
|
||||
build-extension: true
|
||||
branch: "20.08"
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//20.08
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
|
@ -20,8 +20,8 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://github.com/libuv/libuv.git
|
||||
tag: v1.41.0
|
||||
commit: 1dff88e5161cba5c59276d2070d2e304e4dcb242
|
||||
tag: v1.43.0
|
||||
commit: 988f2bfc4defb9a85a536a3e645834c161143ee0
|
||||
build-options:
|
||||
cflags: -flto -Os
|
||||
cxxflags: -flto -Os
|
||||
|
@ -30,8 +30,8 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://github.com/nghttp2/nghttp2.git
|
||||
tag: v1.43.0
|
||||
commit: fb0bd22979711c89d92d98ac5db57ebc6f4fd148
|
||||
tag: v1.47.0
|
||||
commit: d9f580c3cb419e77474da507eef20f1c81ecff32
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DENABLE_PYTHON_BINDINGS=OFF
|
||||
|
@ -39,12 +39,15 @@ modules:
|
|||
cflags: -flto -Os
|
||||
cxxflags: -flto -Os
|
||||
ldflags: -flto -Os
|
||||
- name: npm
|
||||
- name: node
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/nodejs/node.git
|
||||
tag: v14.17.2
|
||||
commit: 8ef3b0fc59370c90d885a6d1bc516af0a63f9962
|
||||
tag: v16.14.0
|
||||
commit: 418ff70b810f0e7112d48baaa72932a56cfa213b
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's/crsT/crs/g' deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py tools/gyp/pylib/gyp/generator/make.py
|
||||
config-opts:
|
||||
- --enable-lto
|
||||
- --enable-pgo-generate
|
||||
|
@ -55,20 +58,20 @@ modules:
|
|||
- --shared-nghttp2
|
||||
- --shared-openssl
|
||||
- --shared-zlib
|
||||
build-options:
|
||||
cflags: -flto -Os
|
||||
cxxflags: -flto -Os
|
||||
ldflags: -flto -Os
|
||||
#build-options:
|
||||
# cflags: -flto -Os
|
||||
# cxxflags: -flto -Os
|
||||
# ldflags: -flto -Os
|
||||
- name: yarn
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/yarnpkg/yarn/releases/download/v1.22.11/yarn-1.22.11.js
|
||||
sha256: a74f1b00e38e139f96b2a5baed6db153841f8f5ab5a057992fa23962f292aec3
|
||||
url: https://github.com/yarnpkg/yarn/releases/download/v1.22.17/yarn-1.22.17.js
|
||||
sha256: 0a7a650c99f34c58cca1aaa82c25424d5383c29db30678450159b035107aea69
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 yarn-* /app/tools/NPM/bin/yarn
|
||||
- name: finish
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- find /app/tools/NPM/bin -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0"' {}
|
||||
- find /app/tools/NPM/lib -maxdepth 0 -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0"' {}
|
||||
- find /app/tools/NPM/bin -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0" || true' {}
|
||||
- find /app/tools/NPM/lib -maxdepth 0 -type f | xargs -I{} bash -c 'mv "$0" "$0_" && cp -a "$0_" "$0" && rm "$0_" && strip --strip-unneeded "$0" || true' {}
|
||||
|
|
Loading…
Reference in New Issue