-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding easyconfig for Cgl-0.60.8-foss-2024a.eb
- Loading branch information
andped
committed
Jan 10, 2025
1 parent
5a3effc
commit 0ccb637
Showing
1 changed file
with
48 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,48 @@ | ||
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': '2024a'} | ||
toolchainopts = {'pic': True, 'usempi': True} | ||
|
||
source_urls = ['https://github.com/coin-or/%(name)s/archive/refs/tags/releases/'] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['1482ba38afb783d124df8d5392337f79fdd507716e9f1fb6b98fc090acd1ad96'] | ||
|
||
builddependencies = [ | ||
('Autotools', '20231222'), | ||
('Doxygen', '1.11.0'), | ||
('pkgconf', '2.2.0'), | ||
] | ||
dependencies = [ | ||
('CoinUtils', '2.11.12'), | ||
('Osi', '0.108.11'), | ||
('Clp', '1.17.10'), | ||
] | ||
|
||
# Use CoinUtils from EB | ||
configopts = '--with-coinutils-lib="-lCoinUtils" ' | ||
configopts += '--with-coinutils-datadir=$EBROOTCOINUTILS/share/coin/Data ' | ||
configopts += '--with-clp-lib="-lOsiClp -lClpSolver -lClp" ' | ||
configopts += '--with-clp-datadir=$EBROOTCLP/share/coin/Data ' | ||
configopts += '--with-osi-lib="-lOsiClp -lClpSolver -lClp -lOsi" ' | ||
configopts += '--with-osi-datadir=$EBROOTOSI/share/coin/Data ' | ||
|
||
|
||
sanity_check_paths = { | ||
'files': ['lib/libCgl.so'], | ||
'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' |