Skip to content

Commit

Permalink
SciPy-bundle/2023.12-iimkl-2023b and msgpack-c/6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPinches committed Sep 22, 2024
1 parent 5d41dad commit f075c62
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 0 deletions.
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/m/msgpack-c/msgpack-c-6.0.0-GCC-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Thomas Hoffmann, EMBL Heidelberg, structures-it@embl.de, 2021/04
easyblock = 'CMakeMake'

name = 'msgpack-c'
version = '6.0.0'

homepage = 'http://msgpack.org/'
description = """MessagePack is an efficient binary serialization format, which lets you exchange
data among multiple languages like JSON, except that it's faster and smaller.
Small integers are encoded into a single byte while typical short strings
require only one extra byte in addition to the strings themselves."""

toolchain = {'name': 'GCC', 'version': '13.2.0'}

source_urls = ['https://github.com/msgpack/msgpack-c/releases/download/c-%(version)s']
sources = ['msgpack-c-%(version)s.tar.gz']
checksums = ['3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba']

builddependencies = [
('CMake', '3.27.6'),
('binutils', '2.40'),
('googletest', '1.14.0'),
]

dependencies = [
('Boost', '1.83.0'),
]

sanity_check_paths = {
'files': [
['lib/libmsgpack-c.%s' % x for x in ['a', '%s' % SHLIB_EXT]],
['include/msgpack.%s' % x for x in ['h']]
],
'dirs': ['lib/pkgconfig', 'include/msgpack'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Thomas Hoffmann, EMBL Heidelberg, structures-it@embl.de, 2021/04
easyblock = 'CMakeMake'

name = 'msgpack-c'
version = '6.0.0'

homepage = 'http://msgpack.org/'
description = """MessagePack is an efficient binary serialization format, which lets you exchange
data among multiple languages like JSON, except that it's faster and smaller.
Small integers are encoded into a single byte while typical short strings
require only one extra byte in addition to the strings themselves."""

toolchain = {'name': 'intel-compilers', 'version': '2023.2.1'}

source_urls = ['https://github.com/msgpack/msgpack-c/releases/download/c-%(version)s']
sources = ['msgpack-c-%(version)s.tar.gz']
checksums = ['3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba']

builddependencies = [
('CMake', '3.27.6'),
('binutils', '2.40'),
('googletest', '1.14.0'),
]

dependencies = [
('Boost', '1.83.0'),
]

sanity_check_paths = {
'files': [
['lib/libmsgpack-c.%s' % x for x in ['a', '%s' % SHLIB_EXT]],
['include/msgpack.%s' % x for x in ['h']]
],
'dirs': ['lib/pkgconfig', 'include/msgpack'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
easyblock = 'PythonBundle'

name = 'SciPy-bundle'
version = '2023.12'

homepage = 'https://python.org/'
description = "Bundle of Python packages for scientific software"

toolchain = {'name': 'iimkl', 'version': '2023b'}
toolchainopts = {
'pic': True, 'lowopt': True, 'strict': True,
'oneapi': True, 'optarch': False, # prevents -xHost
}

builddependencies = [
('hypothesis', '6.90.0'),
('UnZip', '6.0'),
# scipy >= 1.9.0 uses Meson/Ninja
('Meson', '1.2.3'),
('meson-python', '0.15.0'),
('Ninja', '1.11.1'),
('pkgconf', '2.0.3'), # required by scipy
]

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
('pybind11', '2.11.1'), # required by scipy
]

use_pip = True

# order is important!
exts_list = [
('numpy', '1.26.2', {
'easyblock': 'PythonPackage', # pip install builds numpy v1.26.x via spin/meson/ninja
'patches': [
'numpy-1.25.1_disable_fortran_callback_test.patch',
'numpy-1.25.1_disable-broken-test_long_long_map.patch',
'numpy-1.26.2_fix_selected_kind_for_ifort.patch',
'numpy-1.25.1_disable-broken-fortran-docstring-test.patch',
'numpy-1.25.1_fix-test_features.patch',
],
'checksums': [
{'numpy-1.26.2.tar.gz': 'f65738447676ab5777f11e6bbbdb8ce11b785e105f690bc45966574816b6d3ea'},
{'numpy-1.25.1_disable_fortran_callback_test.patch':
'3c02bd9973b7082fde9f9d18edfeb05798226ccb5731a56f5677269200c345cf'},
{'numpy-1.25.1_disable-broken-test_long_long_map.patch':
'fa0fb0a16c4f1339a974c1c84b79df21dc9bfdc14e3e68f6aebaf5e30bad3fe9'},
{'numpy-1.26.2_fix_selected_kind_for_ifort.patch':
'3622bacbe4063373cc0b1c0aa0ffe3d30dfe132f6a763b15b45cc6387cbd51d7'},
{'numpy-1.25.1_disable-broken-fortran-docstring-test.patch':
'8a4d36e3b3a9c9bf43df6e5214f3883234a069b80c5c1027a7c84bd5cb133457'},
{'numpy-1.25.1_fix-test_features.patch':
'1c05ee5d105fe2f824416dd6dd5c64ed0c1cd710a002b4e6dbfafff19203adc5'},
],
}),
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.5.4', {
'checksums': ['9c270fe5f4b130969b54174de7db4e764b09b4f7f67ccfc32480e29f78348d97'],
}),
('beniget', '0.4.1', {
'checksums': ['75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c'],
}),
('pythran', '0.14.0', {
'checksums': ['42f3473946205964844eff7f750e2541afb2006d53475d708f5ff2d048db89bd'],
}),
('versioneer', '0.29', {
'checksums': ['5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731'],
}),
('scipy', '1.12.0', {
'enable_slow_tests': True,
'ignore_test_result': False,
'patches': [
'scipy-1.11.1_disable-tests.patch',
'scipy-1.11.1_xfail-aarch64_test_maxiter_worsening.patch',
'scipy-1.11.1_disable-tests-iimkl.patch',
'scipy-1.11.4_disable-test_branch_cut.patch', # intel might need -assume=minus0
],
'checksums': [
{'scipy-1.12.0.tar.gz': '4bf5abab8a36d20193c698b0f1fc282c1d083c94723902c447e5d2f1780936a3'},
{'scipy-1.11.1_disable-tests.patch': '906bfb03397d94882ccdc1b93bc2c8e854e0e060c2d107c83042992394e6a4af'},
{'scipy-1.11.1_xfail-aarch64_test_maxiter_worsening.patch':
'918c8e6fa8215d459126f267764c961bde729ea4a116c7f6287cddfdc58ffcea'},
{'scipy-1.11.1_disable-tests-iimkl.patch':
'e85cf95d343fa4fd9e0045df3a030209a8d7b32a47d6da64ae1efd7b8ef827e3'},
{'scipy-1.11.4_disable-test_branch_cut.patch':
'3433d284e4074ee8a5b10bfc65c729214bc75670c36d8b7a983bb5ccddc5cf61'},
],
}),
('numexpr', '2.8.7', {
'checksums': ['596eeb3bbfebc912f4b6eaaf842b61ba722cebdb8bc42dfefa657d3a74953849'],
}),
('Bottleneck', '1.3.7', {
'checksums': ['e1467e373ad469da340ed0ff283214d6531cc08bfdca2083361a3aa6470681f8'],
}),
('tzdata', '2023.3', {
'checksums': ['11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a'],
}),
('pandas', '2.1.3', {
'preinstallopts': "export PANDAS_CI=0 && ",
'checksums': ['22929f84bca106921917eb73c1521317ddd0a4c71b395bcf767a106e3494209f'],
}),
('mpmath', '1.3.0', {
'checksums': ['7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f'],
}),
('deap', '1.4.1', {
'modulename': 'deap.base',
'checksums': ['cc01de9892dfa7d1bc9803dab28892fead177f0182c81db47360a240ead778ff'],
}),
]

sanity_pip_check = True

moduleclass = 'lang'

0 comments on commit f075c62

Please sign in to comment.