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
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/c/CFITSIO/CFITSIO-3.47-GCCcore-8.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'ConfigureMake'

name = 'CFITSIO'
version = '3.47'

homepage = 'https://heasarc.gsfc.nasa.gov/fitsio/'
description = """CFITSIO is a library of C and Fortran subroutines for reading and writing data files in
FITS (Flexible Image Transport System) data format."""

toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}

sources = ['%%(namelower)s-%s.tar.gz' % version]
source_urls = ['https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/']

patches = ['CFITSIO_install_test_data.patch']

checksums = [
'418516f10ee1e0f1b520926eeca6b77ce639bed88804c7c545e74f26b3edf4ef', # cfitsio-3.47.tar.gz
'e7b99d380976e2695f524254add38298c35117d152d67be36f105c3cb57e4375', # CFITSIO_install_test_data.patch
]

# curl for HTTPs support
dependencies = [('cURL', '7.66.0')]

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

# make would create just static libcfitsio.a.
# Let's create dynamic lib and testprog too.
buildopts = '&& make shared && make testprog'

sanity_check_paths = {
'files': [
'lib/libcfitsio.a',
'lib/libcfitsio.%s' % SHLIB_EXT,
],
'dirs': ['include'],
}

sanity_check_commands = [
('cd %(installdir)s/share && testprog'),
]

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name = 'ROOT'
version = '6.20.04'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://root.cern.ch/drupal/'
description = """The ROOT system provides a set of OO frameworks with all the functionality
needed to handle and analyze large amounts of data in a very efficient way."""

toolchain = {'name': 'foss', 'version': '2019b'}
toolchainopts = {'pic': True}

source_urls = ['https://root.cern.ch/download/']
sources = ['%(namelower)s_v%(version)s.source.tar.gz']
patches = ['ROOT-6.14.06_fix-VDT-target.patch']
checksums = [
'1f8c76ccdb550e64e6ddb092b4a7e9d0a10655ef80044828cba12d5e7c874472', # root_v6.20.04.source.tar.gz
'ff51eb823726d146840b149945b7896b8e60cc0920933b740d780a540b62e4d8', # ROOT-6.14.06_fix-VDT-target.patch
]

builddependencies = [
('CMake', '3.15.3'),
('pkg-config', '0.29.2'),
]
dependencies = [
('GSL', '2.6'),
('libxml2', '2.9.9'),
('PCRE', '8.43'),
('CFITSIO', '3.47'),
('freetype', '2.10.1'),
('Python', '3.7.4'),
('SciPy-bundle', '2019.10', versionsuffix),
('zlib', '1.2.11'),
('X11', '20190717'),
('Mesa', '19.1.7'),
('libGLU', '9.0.1'),
('glew', '2.1.0'),
('GL2PS', '1.4.0'),
('FFTW', '3.3.8'),
('SQLite', '3.29.0'),
('XZ', '5.2.4'),
('libpng', '1.6.37'),
]

# NOTE: Ensure that each configopts string begins with a blank
# disable some components
configopts = " -Dxrootd=OFF -Dmysql=OFF -Dkrb5=OFF -Dodbc=OFF -Doracle=OFF -Dpgsql=OFF -Dqt=OFF"

# make sure some components are enabled
configopts += " -Dpython=ON -Dpython3=ON -Dpcre=ON -Dzlib=ON"
configopts += " -Dunuran=ON -Dexplicitlink=ON -Dminuit2=ON -Droofit=ON "

# Add component-specific settings based on dependencies
configopts += ' -Dfftw3=ON -Dgsl=ON -DOpenGL_GL_PREFERENCE=GLVND'

moduleclass = 'data'