forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: FLINT-3.1.1-gfbf-2023b.eb, NTL-11.5.1-GCC-13.2.0.eb
- Loading branch information
1 parent
7d4834a
commit 1d22a25
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'FLINT' | ||
version = '3.1.1' | ||
|
||
homepage = 'https://www.flintlib.org/' | ||
|
||
description = """FLINT (Fast Library for Number Theory) is a C library in support of computations | ||
in number theory. Operations that can be performed include conversions, arithmetic, computing GCDs, | ||
factoring, solving linear systems, and evaluating special functions. In addition, FLINT provides | ||
various low-level routines for fast arithmetic. FLINT is extensively documented and tested.""" | ||
|
||
toolchain = {'name': 'gfbf', 'version': '2023b'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['https://github.com/flintlib/%(namelower)s/releases/download/v%(version)s/'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
checksums = ['161f81d0a809408daab36ec79ba89380346dc3195d3671f97106f1b8774f653a'] | ||
|
||
builddependencies = [ | ||
('CMake', '3.27.6'), | ||
('Python', '3.11.5'), | ||
] | ||
|
||
dependencies = [ | ||
('GMP', '6.3.0'), | ||
('MPFR', '4.2.1'), | ||
('NTL', '11.5.1'), | ||
] | ||
|
||
# Make flexiblas the first to be found and used to avoid linking openblas. | ||
preconfigopts = 'sed -i "s/PATH_SUFFIXES openblas/PATH_SUFFIXES flexiblas openblas/g;' | ||
preconfigopts += 's/accelerate openblas/accelerate flexiblas openblas/g" ' | ||
preconfigopts += '%(builddir)s/%(namelower)s-%(version)s/CMake/FindCBLAS.cmake && ' | ||
|
||
configopts = '-DWITH_NTL=on -DBUILD_TESTING=yes' | ||
|
||
runtest = 'test' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/lib%%(namelower)s.%s' % SHLIB_EXT], | ||
'dirs': ['include'], | ||
} | ||
|
||
moduleclass = 'math' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# contributed by Guilherme Peretti-Pezzi (CSCS) | ||
# updated by Alex Domingo (Vrije Universiteit Brussel) | ||
# updated by Åke Sandgren(Umeå University) | ||
# Update: Petr Král (INUITS) | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'NTL' | ||
version = '11.5.1' | ||
|
||
homepage = 'https://shoup.net/ntl/' | ||
|
||
description = """NTL is a high-performance, portable C++ library providing data structures and | ||
algorithms for manipulating signed, arbitrary length integers, and for vectors, | ||
matrices, and polynomials over the integers and over finite fields.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '13.2.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
github_account = 'libntl' | ||
source_urls = [GITHUB_LOWER_SOURCE] | ||
sources = ['v%(version)s.tar.gz'] | ||
checksums = ['ef578fa8b6c0c64edd1183c4c303b534468b58dd3eb8df8c9a5633f984888de5'] | ||
|
||
builddependencies = [ | ||
('Perl', '5.38.0'), | ||
] | ||
|
||
dependencies = [ | ||
('GMP', '6.3.0'), | ||
] | ||
|
||
start_dir = 'src' | ||
|
||
prefix_opt = 'PREFIX=' | ||
configopts = 'CXX="$CXX" CXXFLAGS="$CXXFLAGS" GMP_PREFIX="$EBROOTGMP" SHARED=on' | ||
|
||
runtest = 'check' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libntl.%s' % e for e in ['a', SHLIB_EXT]], | ||
'dirs': ['include/NTL', 'share/doc'], | ||
} | ||
|
||
moduleclass = 'math' | ||
|