Last active
January 31, 2019 14:47
-
-
Save chasset/d482dda37aa5961c7afc91adeef0a65a to your computer and use it in GitHub Desktop.
Install nodejs with EasyBuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
easyblock = 'ConfigureMake' | |
name = 'nodejs' | |
version = '11.9.0' | |
homepage = 'http://nodejs.org' | |
description = """Node.js is a platform built on Chrome's JavaScript runtime | |
for easily building fast, scalable network applications. Node.js uses an | |
event-driven, non-blocking I/O model that makes it lightweight and efficient, | |
perfect for data-intensive real-time applications that run across distributed devices.""" | |
toolchain = {'name': 'foss', 'version': '2019a'} | |
toolchainopts = {'lowopt': True} | |
sources = ['node-v%(version)s-linux-x64.tar.gz'] | |
source_urls = ['http://nodejs.org/dist/v%(version)s/'] | |
checksums = ['0e872c288724e7de72eaa89d1fbc29979a60cdc8c4c0bc1ea65339328bbaaf4c'] | |
# Python is required (only) as build dependency | |
allow_system_deps = [('Python', SYS_PYTHON_VERSION)] | |
sanity_check_paths = { | |
'files': ["bin/node", "bin/npm"], | |
'dirs': ["lib/node_modules", "include/node"] | |
} | |
moduleclass = 'lang' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment