Skip to content
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

Merged
merged 12 commits into from
Aug 31, 2016
35 changes: 35 additions & 0 deletions easybuild/easyconfigs/c/CMake/CMake-3.6.1-GCCcore-4.9.3.eb
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'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/l/LLVM/LLVM-3.8.1-GCCcore-4.9.3.eb
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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cloned

moduleclass = 'compiler'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/p/Python/Python-2.7.12-GCCcore-4.9.3-bare.eb
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}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa please drop the opt and optarch, since they're enabled by default


source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]

dependencies = [
('zlib', '1.2.8'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa please also include bzip2 as a dep

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The 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')]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa this should be ('openssl-devel', 'libssl-dev', 'libopenssl-devel')


# 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
Copy link
Member

Choose a reason for hiding this comment

The 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?
If it's clear, I guess it makes sense to leave this in.

Also, please use --pr-commit-msg with --update-pr to provide meaningful commit messages; I'll look into enforcing that (only --new-pr defaults to somewhat decent auto-derived commit messages)


# bare installation: only known module deps for GCCcore tools included
exts_list =[]

moduleclass = 'lang'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/s/SQLite/SQLite-3.14.1-GCCcore-4.9.3.eb
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'
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/t/Tcl/Tcl-8.6.6-GCCcore-4.9.3.eb
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'