From c7d1e9e0deb3ea4f75098d5acea9f06ad6105621 Mon Sep 17 00:00:00 2001 From: Miguel Dias Costa Date: Sat, 11 Nov 2023 15:46:44 +0800 Subject: [PATCH 1/2] adding easyconfigs: Givaro-4.2.0-GCCcore-11.3.0.eb --- .../g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb diff --git a/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb b/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb new file mode 100644 index 00000000000..fc41e542efe --- /dev/null +++ b/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb @@ -0,0 +1,41 @@ +## +# This file is an EasyBuild recipe; see https://github.com/easybuilders/easybuild +# +# Copyright:: Copyright (c) 2016 Riccardo Murri +# Authors:: Riccardo Murri +# License:: GPL +# +## + +easyblock = 'ConfigureMake' + +name = 'Givaro' +version = '4.2.0' + +homepage = 'https://github.com/linbox-team/givaro' +description = "C++ library for arithmetic and algebraic computations" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://github.com/linbox-team/givaro/archive'] +sources = ['v%(version)s.zip'] +checksums = ['bf51b47ac9a02be233fc39ac78d959d13630bcc78997007ffec410d940ed4c64'] + +builddependencies = [ + ('Autotools', '20220317'), + ('binutils', '2.38'), +] + +dependencies = [ + ('GMP', '6.2.1'), +] + +preconfigopts = "env NOCONFIGURE=1 ./autogen.sh && " +configopts = "--with-gmp=$EBROOTGMP --enable-inline" + +sanity_check_paths = { + 'files': ['bin/givaro-config', 'include/givaro-config.h'], + 'dirs': ['bin', 'include', 'lib'], +} + +moduleclass = 'math' From 7a2eb039d734e5e253577b7eed76b324872ca164 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Sun, 12 Nov 2023 21:08:46 +0100 Subject: [PATCH 2/2] add sanity check command for Givaro --- easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb b/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb index fc41e542efe..ee09ead5dc2 100644 --- a/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb +++ b/easybuild/easyconfigs/g/Givaro/Givaro-4.2.0-GCCcore-11.3.0.eb @@ -38,4 +38,6 @@ sanity_check_paths = { 'dirs': ['bin', 'include', 'lib'], } +sanity_check_commands = ["givaro-config --help"] + moduleclass = 'math'