Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 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
54 changes: 54 additions & 0 deletions easybuild/easyconfigs/p/Python/Python-2.7.13-GCCcore-6.4.0-bare.eb
Original file line number Diff line number Diff line change
@@ -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'
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors:: Fotis Georgatos <fotis@cern.ch>
# 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:])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Another style error:

/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SQLite/SQLite-3.19.3-GCCcore-6.4.0.eb:28:15: E128 continuation line under-indented for visual indent

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@JackPerdue please remove this file, now that I've merged the separate SQLite PR

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'
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/t/Tcl/Tcl-8.6.6-GCCcore-6.4.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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': '6.4.0'}

source_urls = ["http://prdownloads.sourceforge.net/tcl"]
sources = ['%(namelower)s%(version)s-src.tar.gz']
checksums = ['a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07']

builddependencies = [
('binutils', '2.28'),
]

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

configopts = '--enable-threads EXTRA_INSTALL="install-private-headers"'

runtest = 'test'

start_dir = 'unix'

sanity_check_paths = {
'files': ['bin/tclsh%(version_major)s.%(version_minor)s', 'include/tcl.h',
'lib/libtcl%%(version_major)s.%%(version_minor)s.%s' % SHLIB_EXT,
'lib/tclConfig.sh', 'man/man1/tclsh.1'],
'dirs': ['share'],
}


moduleclass = 'lang'