-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{compiler}[GCCcore/4.9.3] LLVM v3.8.1 #3474
Changes from 5 commits
ee2aa40
d817e80
204770d
05f59d2
7995113
22346e9
661bca4
3cb609f
231364c
81c0bc4
277daf5
8763478
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'CMake' | ||
version = '3.6.1' | ||
|
||
homepage = 'http://www.cmake.org' | ||
description = """CMake, the cross-platform, open-source build system. | ||
CMake is a family of tools designed to build, test and package software.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '4.9.3'} | ||
|
||
source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
|
||
configopts = '-- -DCMAKE_USE_OPENSSL=1' | ||
|
||
builddependencies = [ | ||
('binutils', '2.25'), | ||
] | ||
|
||
dependencies = [ | ||
('ncurses', '6.0'), | ||
# OS dependency should be preferred if the os version is more recent then this version, | ||
# it's nice to have an up to date openssl for security reasons | ||
#('OpenSSL', '1.0.1p'), | ||
] | ||
|
||
osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')] | ||
|
||
sanity_check_paths = { | ||
'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'devel' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'LLVM' | ||
version = '3.8.1' | ||
|
||
homepage = "http://llvm.org/" | ||
description = """The LLVM Core libraries provide a modern source- and target-independent | ||
optimizer, along with code generation support for many popular CPUs | ||
(as well as some less common ones!) These libraries are built around a well | ||
specified code representation known as the LLVM intermediate representation | ||
("LLVM IR"). The LLVM Core libraries are well documented, and it is | ||
particularly easy to invent your own language (or port an existing compiler) | ||
to use LLVM as an optimizer and code generator.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '4.9.3'} | ||
|
||
source_urls = ["http://llvm.org/releases/%(version)s"] | ||
sources = ["llvm-%(version)s.src.tar.xz"] | ||
|
||
builddependencies = [ | ||
('binutils', '2.25'), | ||
('CMake', '3.6.1'), | ||
# We use the minimal Python in GCCcore | ||
('Python', '2.7.12', '-bare'), | ||
] | ||
|
||
dependencies = [ | ||
('ncurses', '6.0'), | ||
] | ||
|
||
configopts = '-DBUILD_SHARED_LIBS=ON' | ||
# required to install extra tools in bin/ | ||
configopts += "-DLLVM_INSTALL_UTILS=ON" | ||
|
||
separate_build_dir = True | ||
|
||
moduleclass = 'compiler' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name = 'Python' | ||
version = '2.7.12' | ||
versionsuffix = '-bare' | ||
|
||
homepage = 'http://python.org/' | ||
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively." | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '4.9.3'} | ||
toolchainopts = {'pic': True, 'opt': True, 'optarch': True} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ocaisa please drop the |
||
|
||
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/'] | ||
sources = [SOURCE_TGZ] | ||
|
||
dependencies = [ | ||
('zlib', '1.2.8'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ocaisa please also include There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
('libreadline', '6.3'), | ||
('ncurses', '6.0'), | ||
('SQLite', '3.14.1'), | ||
# ('OpenSSL', '1.0.1k'), # OS dependency should be preferred if the os version is more recent then this version, it's | ||
# nice to have an up to date openssl for security reasons | ||
] | ||
|
||
osdependencies = [('openssl-devel', 'libssl-dev')] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ocaisa this should be |
||
|
||
# We hide this by default since users should not use it in production, high-performance Python should be delivered at | ||
# compiler level with a default extension set | ||
#hidden = True | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ocaisa can you clarify why this should not be used in production in the comment? Also, please use |
||
|
||
# bare installation: only known module deps for GCCcore tools included | ||
exts_list =[] | ||
|
||
moduleclass = 'lang' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## | ||
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild | ||
# | ||
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA | ||
# Authors:: Fotis Georgatos <[email protected]> | ||
# License:: MIT/GPL | ||
# $Id$ | ||
# | ||
# This work implements a part of the HPCBIOS project and is a component of the policy: | ||
# http://hpcbios.readthedocs.org/en/latest/ | ||
## | ||
|
||
easyblock = 'ConfigureMake' | ||
|
||
name = 'SQLite' | ||
version = '3.14.1' | ||
|
||
homepage = 'http://www.sqlite.org/' | ||
description = 'SQLite: SQL Database Engine in a C Library' | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '4.9.3'} | ||
|
||
# eg. http://www.sqlite.org/2014/sqlite-autoconf-3080600.tar.gz | ||
source_urls = ['http://www.sqlite.org/2016/'] | ||
version_str = '%%(version_major)s%s00' % ''.join('%02d' % int(x) for x in version.split('.')[1:]) | ||
sources = ['sqlite-autoconf-%s.tar.gz' % version_str] | ||
|
||
builddependencies = [ | ||
('binutils', '2.25'), | ||
] | ||
|
||
dependencies = [ | ||
('libreadline', '6.3'), | ||
('Tcl', '8.6.6'), | ||
] | ||
|
||
parallel = 1 | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/sqlite3', 'include/sqlite3ext.h', 'include/sqlite3.h', 'lib/libsqlite3.a', 'lib/libsqlite3.%s' % SHLIB_EXT], | ||
'dirs': ['lib/pkgconfig'], | ||
} | ||
|
||
moduleclass = 'devel' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'Tcl' | ||
version = '8.6.6' | ||
|
||
homepage = 'http://www.tcl.tk/' | ||
description = """Tcl (Tool Command Language) is a very powerful but easy to learn dynamic programming language, | ||
suitable for a very wide range of uses, including web and desktop applications, networking, administration, testing and many more.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '4.9.3'} | ||
|
||
source_urls = ["http://prdownloads.sourceforge.net/tcl"] | ||
sources = ['%(namelower)s%(version)s-src.tar.gz'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.25'), | ||
] | ||
|
||
dependencies = [ | ||
('zlib', '1.2.8'), | ||
] | ||
|
||
configopts = '--enable-threads EXTRA_INSTALL="install-private-headers"' | ||
|
||
runtest = 'test' | ||
|
||
start_dir = 'unix' | ||
|
||
moduleclass = 'lang' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ocaisa please include a custom
sanity_check_paths
like we have in https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/l/LLVM/LLVM-3.8.0-intel-2016a.ebThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cloned