From 5c0b02ed47968ffab91b68c129cc901fdf155250 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 16 Feb 2017 15:44:38 +0100 Subject: [PATCH 1/7] MPI/OPAL/1.5/variants - build module for version 1.5.1-20170216 snapshot --- MPI/OPAL/1.5/variants | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MPI/OPAL/1.5/variants b/MPI/OPAL/1.5/variants index c5b189d..e571112 100644 --- a/MPI/OPAL/1.5/variants +++ b/MPI/OPAL/1.5/variants @@ -1,4 +1,4 @@ OPAL/1.5.0-20161209 unstable gcc/5.4.0 openmpi/1.10.4 dks/1.0.1 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 b:cmake/3.6.3 b:OpenBLAS/0.2.19 OPAL/1.5.0-20170126 unstable gcc/5.4.0 openmpi/1.10.4 dks/1.0.1 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 b:cmake/3.6.3 b:OpenBLAS/0.2.19 -OPAL/1.5.1-20170210 unstable gcc/5.4.0 openmpi/1.10.4 dks/1.0.1 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 b:cmake/3.6.3 b:OpenBLAS/0.2.19 +OPAL/1.5.1-20170216 unstable gcc/5.4.0 openmpi/1.10.4 dks/1.0.1 boost/1.62.0 hdf5/1.8.18 H5hut/2.0.0rc3 gsl/2.2.1 trilinos/12.10.1 cuda/8.0.44 b:cmake/3.6.3 b:OpenBLAS/0.2.19 From cb26a6fe2c90538ad7998a516e3bed11d554fed8 Mon Sep 17 00:00:00 2001 From: Hans-Christian Stadler Kleeb Date: Tue, 14 Mar 2017 15:41:04 +0100 Subject: [PATCH 2/7] openmpi 2.0.1 with gcc 6.3.0 --- Compiler/openmpi/2.0/variants.Linux | 1 + 1 file changed, 1 insertion(+) diff --git a/Compiler/openmpi/2.0/variants.Linux b/Compiler/openmpi/2.0/variants.Linux index 507b806..1992f09 100644 --- a/Compiler/openmpi/2.0/variants.Linux +++ b/Compiler/openmpi/2.0/variants.Linux @@ -4,5 +4,6 @@ openmpi/2.0.1 stable gcc/4.8.5 openmpi/2.0.1 stable gcc/4.9.4 openmpi/2.0.1 stable gcc/5.4.0 openmpi/2.0.1 stable gcc/6.2.0 +openmpi/2.0.1 stable gcc/6.3.0 openmpi/2.0.0 stable intel/16.3 From 68c0fb1c48a5eee4bb47c92d9f2b55a455f78b69 Mon Sep 17 00:00:00 2001 From: Hans-Christian Stadler Kleeb Date: Tue, 14 Mar 2017 15:42:26 +0100 Subject: [PATCH 3/7] gmp 6.1.2 --- Libraries/gmp/6/variants | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/gmp/6/variants b/Libraries/gmp/6/variants index c23f150..0f82ba5 100644 --- a/Libraries/gmp/6/variants +++ b/Libraries/gmp/6/variants @@ -1,3 +1,4 @@ gmp/6.0.0 stable gmp/6.1.0 stable gmp/6.1.1 stable +gmp/6.1.2 stable From 533234ca3c999bd521c2dafa974bcc81fb7b40d9 Mon Sep 17 00:00:00 2001 From: Hans-Christian Stadler Kleeb Date: Tue, 14 Mar 2017 15:43:18 +0100 Subject: [PATCH 4/7] mpfr 3.1.5 --- Libraries/mpfr/3/variants | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/mpfr/3/variants b/Libraries/mpfr/3/variants index 58f0e6e..35b0212 100644 --- a/Libraries/mpfr/3/variants +++ b/Libraries/mpfr/3/variants @@ -2,3 +2,4 @@ mpfr/3.1.2 stable b:gmp/5.1.1 mpfr/3.1.3 stable b:gmp/6.0.0 mpfr/3.1.4 stable b:gmp/6.1.0 mpfr/3.1.4-1 stable b:gmp/6.1.1 +mpfr/3.1.5 stable b:gmp/6.1.2 From 61d14c6560215b7cb1e7b0853a78de1a8c22c376 Mon Sep 17 00:00:00 2001 From: Hans-Christian Stadler Kleeb Date: Tue, 14 Mar 2017 15:44:14 +0100 Subject: [PATCH 5/7] gcc 6.3.0 --- Programming/gcc/6/variants | 1 + 1 file changed, 1 insertion(+) diff --git a/Programming/gcc/6/variants b/Programming/gcc/6/variants index 7032046..dee69bc 100644 --- a/Programming/gcc/6/variants +++ b/Programming/gcc/6/variants @@ -1,2 +1,3 @@ gcc/6.1.0 stable b:gmp/6.1.0 b:mpfr/3.1.4 b:mpc/1.0.3 gcc/6.2.0 stable b:gmp/6.1.1 b:mpfr/3.1.4 b:mpc/1.0.3 +gcc/6.3.0 stable b:gmp/6.1.2 b:mpfr/3.1.5 b:mpc/1.0.3 From 61e25ea4a799ce0ddf8c8665483c869418f5cc97 Mon Sep 17 00:00:00 2001 From: Hans-Christian Stadler Kleeb Date: Tue, 14 Mar 2017 16:23:41 +0100 Subject: [PATCH 6/7] boost 1.63.0 for gcc 6.3.0 --- Compiler/boost/1/variants | 1 + 1 file changed, 1 insertion(+) diff --git a/Compiler/boost/1/variants b/Compiler/boost/1/variants index c0ecaab..59120c3 100644 --- a/Compiler/boost/1/variants +++ b/Compiler/boost/1/variants @@ -16,3 +16,4 @@ boost/1.62.0 stable gcc/4.9.4 Python/2.7.12 boost/1.62.0 stable gcc/5.4.0 Python/2.7.12 boost/1.62.0 stable gcc/6.2.0 Python/2.7.12 boost/1.62.0 unstable gcc/6.3.0 Python/2.7.12 +boost/1.63.0 stable gcc/6.3.0 Python/2.7.12 From 54dfc484e66e3886b27684b366b0e265111abb91 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Sun, 23 Apr 2017 19:23:15 +0200 Subject: [PATCH 7/7] buildblocks/gtest: added --- Programming/gtest/1/variants | 1 + Programming/gtest/build | 33 +++++++++++++++++++++++++++++++-- Programming/gtest/modulefile | 10 ++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 Programming/gtest/1/variants create mode 100644 Programming/gtest/modulefile diff --git a/Programming/gtest/1/variants b/Programming/gtest/1/variants new file mode 100644 index 0000000..9c6ffe2 --- /dev/null +++ b/Programming/gtest/1/variants @@ -0,0 +1 @@ +gtest/1.7.0 unstable b:cmake diff --git a/Programming/gtest/build b/Programming/gtest/build index c128e37..c8e8d27 100755 --- a/Programming/gtest/build +++ b/Programming/gtest/build @@ -1,7 +1,36 @@ #!/usr/bin/env modbuild +declare -a config_args=() + +pbuild::set_docfiles \ + CHANGES \ + CONTRIBUTORS \ + LICENSE \ + README + +pbuild::configure() { + cmake \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DCMAKE_BUILD_TYPE=RELEASE \ + "${config_args[@]}" \ + "${MODULE_SRCDIR}" +} + +pbuild::install() { + local -r _include_srcdir="${MODULE_SRCDIR}/include/gtest" + local -r _include_dstdir="${PREFIX}/include" + if [[ -e "${_include_dstdir}" ]]; then + chmod -R u+w "${_include_dstdir}" + fi + mkdir -p "${_include_dstdir}" + cp -rv "${_include_srcdir}"/* "${_include_dstdir}" + + + local -r _lib_dstdir="${PREFIX}/lib" + mkdir -p "${_lib_dstdir}" + cp -v *.a "${_lib_dstdir}" +} + pbuild::add_to_group 'Programming' -pbuild::set_runtime_dependencies "" -pbuild::set_build_dependencies "${COMPILER}" pbuild::make_all diff --git a/Programming/gtest/modulefile b/Programming/gtest/modulefile new file mode 100644 index 0000000..330ede2 --- /dev/null +++ b/Programming/gtest/modulefile @@ -0,0 +1,10 @@ +#%Module1.0 + +module-whatis "Google's C++ test framework" +module-url "https://github.com/google/googletest/" +module-license "See ${PREFIX}/share/doc/gtest/LICENSE" +module-maintainer "Achim Gsell " + +module-help " +See https://github.com/google/googletest/blob/master/googletest/docs/Primer.md +"