Skip to content

Commit

Permalink
progress on #165 Mikado
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Jul 21, 2023
1 parent 908b65f commit 710f37c
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions 165_Mikado/Osi-0.108.8-GCC-12.2.0.eb
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"

0 comments on commit 710f37c

Please sign in to comment.