From ba912ad9bcef5473c3f54c90f3d155e6681ae05d Mon Sep 17 00:00:00 2001 From: Jack Perdue Date: Thu, 20 Jul 2017 17:51:00 -0500 Subject: [PATCH 1/3] adding easyconfigs: Cython-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb --- ...n-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb | 33 ++++++++++++ .../Python-2.7.13-GCCcore-6.4.0-bare.eb | 54 +++++++++++++++++++ .../s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb | 48 +++++++++++++++++ 3 files changed, 135 insertions(+) create mode 100644 easybuild/easyconfigs/c/Cython/Cython-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb create mode 100644 easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb create mode 100644 easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb diff --git a/easybuild/easyconfigs/c/Cython/Cython-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb b/easybuild/easyconfigs/c/Cython/Cython-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb new file mode 100644 index 000000000000..43483d928e34 --- /dev/null +++ b/easybuild/easyconfigs/c/Cython/Cython-0.26-GCCcore-6.4.0-Python-2.7.13-bare.eb @@ -0,0 +1,33 @@ +easyblock = 'PythonPackage' + +name = 'Cython' +version = '0.26' +pyver = '2.7.13' +pyshortver = '2.7' +pysubver = '-bare' +versionsuffix = '-Python-%s%s' % (pyver, pysubver) + +homepage = 'https://pypi.python.org/pypi/Cython/' + +description = """ + The Cython language makes writing C extensions for the Python language as easy + as Python itself. Cython is a source code translator based on the well-known + Pyrex, but supports more cutting edge functionality and optimizations. +""" + +toolchain = {'name': 'GCCcore', 'version': '6.4.0'} + +sources = [SOURCE_TAR_GZ] +source_urls = [PYPI_SOURCE] +checksums = ['4c24e2c22ddaed624d35229dc5db25049e9e225c6f64f3364326836cad8f2c66'] + +builddependencies = [ + ('binutils', '2.28'), + ('Python', pyver, pysubver), +] + +sanity_check_paths = { + 'files': ['bin/cygdb', 'bin/%(namelower)s', + 'lib/python%s/site-packages/%%(namelower)s.py' % pyshortver], + 'dirs': ['lib/python%s/site-packages/%%(name)s' % pyshortver], +} diff --git a/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb b/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb new file mode 100644 index 000000000000..ab738d93a087 --- /dev/null +++ b/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb @@ -0,0 +1,54 @@ +name = 'Python' +version = '2.7.13' +versionsuffix = '-bare' + +homepage = 'http://python.org/' + +description = """ + Python is a programming language that lets you work more quickly and + integrate your systems more effectively. + +Note: This module is meant to provide a builddependency for other Python + modules while using EasyBuild's --minimaltoolchain option. Modules + built with it will require the full Python later +""" + +toolchain = {'name': 'GCCcore', 'version': '6.4.0'} +toolchainopts = {'pic': True} + +source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/'] +sources = [SOURCE_TGZ] +checksums = ['a4f05a0720ce0fd92626f0278b6b433eee9a6173ddf2bced7957dfb599a5ece1'] + +builddependencies = [ + ('binutils', '2.28'), +] + +dependencies = [ + ('bzip2', '1.0.6'), + ('libreadline', '7.0'), + ('ncurses', '6.0'), + ('SQLite', '3.19.3'), + ('zlib', '1.2.11'), +] + +osdependencies = [ + # rely upon distribution for timely security updates + ('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 + +# bare installation: only known module deps for GCCcore tools included +exts_list = [] + +# Until such time that EasyBuild accepts 'rpath' as a toolchainopt... +# add RPATH so this can be as a builddependency later +prebuildopts = """ + sed -e 's:Modules/python.o \\\\:-Wl,-rpath=%(installdir)s/lib Modules/python.o \\\\:' -i.eb Makefile +""" + +moduleclass = 'lang' diff --git a/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb b/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb new file mode 100644 index 000000000000..e10115f361d1 --- /dev/null +++ b/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb @@ -0,0 +1,48 @@ +## +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +# +# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA +# Authors:: Fotis Georgatos +# 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.19.3' + +homepage = 'http://www.sqlite.org/' + +description = 'SQLite: SQL Database Engine in a C Library' + +toolchain = {'name': 'GCCcore', 'version': '6.4.0'} +toolchainopts = {'pic': True} + +# eg. http://www.sqlite.org/2017/sqlite-autoconf-3190300.tar.gz +source_urls = ['http://www.sqlite.org/2017/'] +version_str = '%%(version_major)s%s00' % ''.join('%02d' % int(x) for x in version.split('.')[1:]) +sources = ['sqlite-autoconf-%s.tar.gz' % version_str] +checksums = ['06129c03dced9f87733a8cba408871bd60673b8f93b920ba8d815efab0a06301'] + +builddependencies = [ + ('binutils', '2.28'), +] + +dependencies = [ + ('libreadline', '7.0'), + ('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' From 12ba4f12b9a7c5351db2884d827c5a0dfb603755 Mon Sep 17 00:00:00 2001 From: Jack Perdue Date: Sun, 30 Jul 2017 22:59:05 -0500 Subject: [PATCH 2/3] Delete SQLite-3.19.3-GCCcore-6.4.0.eb --- .../s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb | 48 ------------------- 1 file changed, 48 deletions(-) delete mode 100644 easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb diff --git a/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb b/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb deleted file mode 100644 index e10115f361d1..000000000000 --- a/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb +++ /dev/null @@ -1,48 +0,0 @@ -## -# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild -# -# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA -# Authors:: Fotis Georgatos -# 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.19.3' - -homepage = 'http://www.sqlite.org/' - -description = 'SQLite: SQL Database Engine in a C Library' - -toolchain = {'name': 'GCCcore', 'version': '6.4.0'} -toolchainopts = {'pic': True} - -# eg. http://www.sqlite.org/2017/sqlite-autoconf-3190300.tar.gz -source_urls = ['http://www.sqlite.org/2017/'] -version_str = '%%(version_major)s%s00' % ''.join('%02d' % int(x) for x in version.split('.')[1:]) -sources = ['sqlite-autoconf-%s.tar.gz' % version_str] -checksums = ['06129c03dced9f87733a8cba408871bd60673b8f93b920ba8d815efab0a06301'] - -builddependencies = [ - ('binutils', '2.28'), -] - -dependencies = [ - ('libreadline', '7.0'), - ('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' From 4afce68332f8caabaaf10c762633562501fe91e1 Mon Sep 17 00:00:00 2001 From: Jack Perdue Date: Sun, 30 Jul 2017 23:00:14 -0500 Subject: [PATCH 3/3] Delete Python-2.7.13-GCCcore-6.4.0-bare.eb --- .../Python-2.7.13-GCCcore-6.4.0-bare.eb | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb diff --git a/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb b/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb deleted file mode 100644 index ab738d93a087..000000000000 --- a/easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb +++ /dev/null @@ -1,54 +0,0 @@ -name = 'Python' -version = '2.7.13' -versionsuffix = '-bare' - -homepage = 'http://python.org/' - -description = """ - Python is a programming language that lets you work more quickly and - integrate your systems more effectively. - -Note: This module is meant to provide a builddependency for other Python - modules while using EasyBuild's --minimaltoolchain option. Modules - built with it will require the full Python later -""" - -toolchain = {'name': 'GCCcore', 'version': '6.4.0'} -toolchainopts = {'pic': True} - -source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/'] -sources = [SOURCE_TGZ] -checksums = ['a4f05a0720ce0fd92626f0278b6b433eee9a6173ddf2bced7957dfb599a5ece1'] - -builddependencies = [ - ('binutils', '2.28'), -] - -dependencies = [ - ('bzip2', '1.0.6'), - ('libreadline', '7.0'), - ('ncurses', '6.0'), - ('SQLite', '3.19.3'), - ('zlib', '1.2.11'), -] - -osdependencies = [ - # rely upon distribution for timely security updates - ('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 - -# bare installation: only known module deps for GCCcore tools included -exts_list = [] - -# Until such time that EasyBuild accepts 'rpath' as a toolchainopt... -# add RPATH so this can be as a builddependency later -prebuildopts = """ - sed -e 's:Modules/python.o \\\\:-Wl,-rpath=%(installdir)s/lib Modules/python.o \\\\:' -i.eb Makefile -""" - -moduleclass = 'lang'