-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
908b65f
commit 710f37c
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 = 'Osi' | ||
version = '0.108.8' | ||
|
||
homepage = "https://github.com/coin-or/Osi" | ||
description = """Osi (Open Solver Interface) provides an abstract base class to a generic linear | ||
programming (LP) solver, along with derived classes for specific solvers. Many | ||
applications may be able to use the Osi to insulate themselves from a specific | ||
LP solver. That is, programs written to the OSI standard may be linked to any | ||
solver with an OSI interface and should produce correct results. The OSI has | ||
been significantly extended compared to its first incarnation. Currently, the | ||
OSI supports linear programming solvers and has rudimentary support for integer | ||
programming.""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '12.2.0'} | ||
|
||
source_urls = ['https://github.com/coin-or/Osi/archive/refs/tags/releases/'] | ||
sources = ['%(version)s.tar.gz'] | ||
checksums = ['8b01a49190cb260d4ce95aa7e3948a56c0917b106f138ec0a8544fadca71cf6a'] | ||
|
||
builddependencies = [ | ||
('Autotools', '20220317'), | ||
('Doxygen', '1.9.5'), | ||
('pkg-config', '0.29.2'), | ||
] | ||
|
||
dependencies = [ | ||
('CoinUtils', '2.11.9'), | ||
('bzip2', '1.0.8'), | ||
('zlib', '1.2.12'), | ||
] | ||
|
||
# Disable GLPK because Osi requires GLPK<=4.48 | ||
configopts = '--without-glpk ' | ||
# Use CoinUtils from EB | ||
configopts += '--with-coinutils-lib="-lCoinUtils" --with-coinutils-incdir=$EBROOTCOINUTILS/include/coin ' | ||
configopts += '--with-coinutils-datadir=$EBROOTCOINUTILS/share/coin/Data' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libOsi.%s' % SHLIB_EXT, 'lib/libOsiCommonTests.%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" |