From 780b9ae983efeef540247d7675291c4d28d37f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kr=C3=A1l?= Date: Fri, 2 Aug 2024 10:54:12 +0200 Subject: [PATCH] progress on #253 Sagemath + plantri --- 253_Sagemath_plantri/BRiAl-1.2.12-GCC-13.2.0.eb | 17 ++++++----------- .../Sagemath-10.3-foss-2023b.eb | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/253_Sagemath_plantri/BRiAl-1.2.12-GCC-13.2.0.eb b/253_Sagemath_plantri/BRiAl-1.2.12-GCC-13.2.0.eb index bf54de71..c489c773 100644 --- a/253_Sagemath_plantri/BRiAl-1.2.12-GCC-13.2.0.eb +++ b/253_Sagemath_plantri/BRiAl-1.2.12-GCC-13.2.0.eb @@ -8,8 +8,8 @@ description = """BRiAl is the legacy version of PolyBoRi maintained by sagemath toolchain = {'name': 'GCC', 'version': '13.2.0'} -source_urls = ['https://github.com/BRiAl/BRiAl/releases/download/%(version)s/'] -sources = ['%(namelower)s-%(version)s.tar.bz2'] +source_urls = ['https://github.com/BRiAl/BRiAl/releases/download/%(version)s'] +sources = [SOURCELOWER_TAR_BZ2] checksums = ['ca009e3722dd3f0a60d15501caed1413146c80abced57423e32ae0116f407494'] dependencies = [ @@ -17,19 +17,14 @@ dependencies = [ ('m4ri', '20200125'), ] -# configopts = "--enable-shared " - -# https://bugzilla.gnome.org/show_bug.cgi?id=655517 -# prebuildopts = r"sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool" +configopts = "--with-boost=$EBROOTBOOST " runtest = 'check' sanity_check_paths = { - 'files': ['include/polybori.h', 'lib/libbrial.%s' % SHLIB_EXT], - 'dirs': ['include/polybori'] + 'files': ['include/polybori.h'] + + ['lib/libbrial.%s' % e for e in ['a', SHLIB_EXT]], + 'dirs': [], } moduleclass = 'math' - -# TODO error -# configure: error: Could not find a version of the Boost::Unit_Test_Framework library! diff --git a/253_Sagemath_plantri/Sagemath-10.3-foss-2023b.eb b/253_Sagemath_plantri/Sagemath-10.3-foss-2023b.eb index add2490f..66922b54 100644 --- a/253_Sagemath_plantri/Sagemath-10.3-foss-2023b.eb +++ b/253_Sagemath_plantri/Sagemath-10.3-foss-2023b.eb @@ -44,7 +44,7 @@ dependencies = [ ('libbraiding', '1.2'), ('planarity', '3.0.2.0'), ('rankwidth', '0.9'), - ('BRiAl', '1.2.12'), # TODO + ('BRiAl', '1.2.12'), ] use_pip = True