diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-05 23:12:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 10:12:14 -0500 |
commit | afaae7085592b5f788dc51eeb3081476a8ce6d47 (patch) | |
tree | 6709d33308341765ae323221de317aa69002de30 /var | |
parent | e64e600fbbaed90af1aa6cd9e0b5cdc0c9d44e32 (diff) | |
download | spack-afaae7085592b5f788dc51eeb3081476a8ce6d47.tar.gz spack-afaae7085592b5f788dc51eeb3081476a8ce6d47.tar.bz2 spack-afaae7085592b5f788dc51eeb3081476a8ce6d47.tar.xz spack-afaae7085592b5f788dc51eeb3081476a8ce6d47.zip |
nodejs: add version 8.11.4 (#17824)
* nodejs: add version 8.11.4
* node-js: refine configure() for different version
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/node-js/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/node-js/package.py b/var/spack/repos/builtin/packages/node-js/package.py index 0089ec6dac..ff1ee2e1f8 100644 --- a/var/spack/repos/builtin/packages/node-js/package.py +++ b/var/spack/repos/builtin/packages/node-js/package.py @@ -26,6 +26,7 @@ class NodeJs(Package): version('12.14.0', sha256='5c1939867228f3845c808ef84a89c8ee93cc35f857bf7587ecee1b5a6d9da67b') version('11.1.0', sha256='3f53b5ac25b2d36ad538267083c0e603d9236867a936c22a9116d95fa10c60d5') version('10.13.0', sha256='aa06825fff375ece7c0d881ae0de5d402a857e8cabff9b4a50f2f0b7b44906be') + version('8.11.4', sha256='459144e361d64ca7362c37cc9717c044ef909d348cb5aa3f2b62538560a6085a') version('8.9.1', sha256='32491b7fcc4696b2cdead45c47e52ad16bbed8f78885d32e873952fee0f971e1') version('7.1.0', sha256='595e7e2a37d1e0573044a90077bb12c0f750e5d8851899ffa74038238da9a983') version('6.3.0', sha256='4ed7a99985f8afee337cc22d5fef61b495ab4238dfff3750ac9019e87fc6aae6') @@ -105,7 +106,10 @@ class NodeJs(Package): return args def configure(self, spec, prefix): - python('configure.py', *self.configure_args()) + if self.version >= Version('10.11.0'): + python('configure.py', *self.configure_args()) + else: + python('configure', *self.configure_args()) def build(self, spec, prefix): make() |