From 710f37c9a50ea6148c1da64f045583e3ba3c5017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kr=C3=A1l?= Date: Fri, 21 Jul 2023 16:04:40 +0200 Subject: [PATCH] progress on #165 Mikado --- 165_Mikado/Osi-0.108.8-GCC-12.2.0.eb | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 165_Mikado/Osi-0.108.8-GCC-12.2.0.eb diff --git a/165_Mikado/Osi-0.108.8-GCC-12.2.0.eb b/165_Mikado/Osi-0.108.8-GCC-12.2.0.eb new file mode 100644 index 00000000..393ac74a --- /dev/null +++ b/165_Mikado/Osi-0.108.8-GCC-12.2.0.eb @@ -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 instead of +modextrapaths = {'CPATH': 'include/coin'} + +moduleclass = "math"