Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions easybuild/easyconfigs/l/LLVM/LLVM-3.9.0-foss-2016b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies = [
('zlib', '1.2.8'),
]

configopts = '-DBUILD_SHARED_LIBS=ON '
configopts = "-DBUILD_SHARED_LIBS=ON "
# required to install extra tools in bin/
configopts += '-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON '
configopts += '-DCMAKE_BUILD_TYPE=Release '
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
4 changes: 2 additions & 2 deletions easybuild/easyconfigs/l/LLVM/LLVM-3.9.0-intel-2016b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ dependencies = [

configopts = '-DBUILD_SHARED_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -shared-intel" '
# required to install extra tools in bin/
configopts += '-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON '
configopts += '-DCMAKE_BUILD_TYPE=Release '
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
6 changes: 3 additions & 3 deletions easybuild/easyconfigs/l/LLVM/LLVM-3.9.1-foss-2017a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies = [
('zlib', '1.2.11'),
]

configopts = '-DBUILD_SHARED_LIBS=ON '
configopts = "-DBUILD_SHARED_LIBS=ON "
# required to install extra tools in bin/
configopts += '-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON '
configopts += '-DCMAKE_BUILD_TYPE=Release '
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
6 changes: 3 additions & 3 deletions easybuild/easyconfigs/l/LLVM/LLVM-4.0.0-foss-2017a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies = [
('zlib', '1.2.11'),
]

configopts = '-DBUILD_SHARED_LIBS=ON '
configopts = "-DBUILD_SHARED_LIBS=ON "
# required to install extra tools in bin/
configopts += '-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON '
configopts += '-DCMAKE_BUILD_TYPE=Release '
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
3 changes: 2 additions & 1 deletion easybuild/easyconfigs/l/LLVM/LLVM-4.0.0-intel-2017a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ dependencies = [

configopts = '-DBUILD_SHARED_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -shared-intel" '
# required to install extra tools in bin/
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON"
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
3 changes: 2 additions & 1 deletion easybuild/easyconfigs/l/LLVM/LLVM-4.0.1-intel-2017a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ dependencies = [

configopts = '-DBUILD_SHARED_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -shared-intel" '
# required to install extra tools in bin/
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON"
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
Expand Down
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/l/LLVM/LLVM-5.0.0-intel-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'CMakeMake'

name = 'LLVM'
version = '5.0.0'

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': 'intel', 'version': '2017b'}
toolchainopts = {'cstd': 'gnu++11'}

source_urls = ["http://llvm.org/releases/%(version)s"]
sources = ["llvm-%(version)s.src.tar.xz"]
checksums = ['e35dcbae6084adcf4abb32514127c5eabd7d63b733852ccdb31e06f1373136da']

builddependencies = [
('CMake', '3.9.5'),
('Python', '2.7.14'),
]

dependencies = [
('ncurses', '6.0'),
('zlib', '1.2.11'),
]

configopts = '-DBUILD_SHARED_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -shared-intel" '
# required to install extra tools in bin/
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
configopts += "-DCMAKE_BUILD_TYPE=Release "

sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}

separate_build_dir = True

moduleclass = 'compiler'