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: Cgl-0.60.8-foss-2023a.eb
- Loading branch information
1 parent
5030f4c
commit 781856a
Showing
1 changed file
with
51 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,51 @@ | ||
easyblock = "ConfigureMake" | ||
|
||
name = 'Cgl' | ||
version = '0.60.8' | ||
|
||
homepage = "https://github.com/coin-or/Cgl" | ||
description = """The COIN-OR Cut Generation Library (Cgl) is a collection of cut generators that | ||
can be used with other COIN-OR packages that make use of cuts, such as, among | ||
others, the linear solver Clp or the mixed integer linear programming solvers | ||
Cbc or BCP. Cgl uses the abstract class OsiSolverInterface (see Osi) to use or | ||
communicate with a solver. It does not directly call a solver.""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
toolchainopts = {'pic': True, 'usempi': True} | ||
|
||
source_urls = ['https://github.com/coin-or/Cgl/archive/refs/tags/releases/'] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['1482ba38afb783d124df8d5392337f79fdd507716e9f1fb6b98fc090acd1ad96'] | ||
|
||
builddependencies = [ | ||
('Autotools', '20220317'), | ||
('Doxygen', '1.9.7'), | ||
# ('pkg-config', '0.29.2'), # pkgconf should be used in preference to pkg-config | ||
('pkgconf', '1.9.5'), | ||
] | ||
|
||
dependencies = [ | ||
('CoinUtils', '2.11.10'), | ||
('Osi', '0.108.9'), | ||
('Clp', '1.17.9'), | ||
] | ||
|
||
# Use CoinUtils from EB | ||
configopts = '--with-coinutils-lib="-lCoinUtils" ' | ||
configopts += '--with-coinutils-datadir=$EBROOTCOINUTILS/share/coin/Data' | ||
# Use Clp from EB | ||
configopts += '--with-clp-lib="-lOsiClp -lClpSolver -lClp" ' | ||
configopts += '--with-clp-datadir=$EBROOTCLP/share/coin/Data ' | ||
# Use Osi from EB (also needs links to Clp due to OsiClpSolver) | ||
configopts += '--with-osi-lib="-lOsiClp -lClpSolver -lClp -lOsi" ' | ||
configopts += '--with-osi-datadir=$EBROOTOSI/share/coin/Data ' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libCgl.%s' % SHLIB_EXT], | ||
'dirs': ['include/coin', 'lib/pkgconfig', 'share/coin'] | ||
} | ||
|
||
# other coin-or projects expect <header.hpp> instead of <coin/header.hpp> | ||
modextrapaths = {'CPATH': 'include/coin'} | ||
|
||
moduleclass = "math" |