diff --git a/Compiler/OpenBLAS/build-yaml b/Compiler/OpenBLAS/build-yaml new file mode 100755 index 0000000..87289c3 --- /dev/null +++ b/Compiler/OpenBLAS/build-yaml @@ -0,0 +1,9 @@ +#!/usr/bin/env modbuild + +pbuild::install_docfiles 'LICENSE' 'README.md' + +pbuild::pre_configure() { + pbuild::add_configure_args "-DCMAKE_BUILD_TYPE=Release" + pbuild::add_configure_args "-DDYNAMIC_ARCH=ON" +} + diff --git a/Compiler/OpenBLAS/files/config.yaml b/Compiler/OpenBLAS/files/config.yaml new file mode 100644 index 0000000..8cdf3f0 --- /dev/null +++ b/Compiler/OpenBLAS/files/config.yaml @@ -0,0 +1,100 @@ +--- +# yamllint disable rule:line-length +format: 1 +OpenBLAS: + defaults: + group: Compiler + overlay: base + relstage: stable + systems: [rhel6, rhel7, rhel8] + urls: + - url: http://github.com/xianyi/$P/archive/v${V_PKG}.tar.gz + name: OpenBLAS-${V_PKG}.tar.gz + + shasums: + OpenBLAS-0.2.9.tar.gz: e899c70b8771896655765f5c64c00c990f8dd0fe569e96788d8c971a23ecb22a + OpenBLAS-0.2.19.tar.gz: 9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557 + OpenBLAS-0.2.20.tar.gz: 5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394 + OpenBLAS-0.3.7.tar.gz: bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379 + OpenBLAS-0.3.9.tar.gz: 17d4677264dfbc4433e97076220adc79b050e4f8a083ea3f853a53af253bc380 + OpenBLAS-0.3.10.tar.gz: 0484d275f87e9b8641ff2eecaa9df2830cbe276ac79ad80494822721de6e1693 + OpenBLAS-0.3.13.tar.gz: 79197543b17cc314b7e43f7a33148c308b0807cd6381ee77f77e15acf3e6459e + OpenBLAS-0.3.15.tar.gz: 30a99dec977594b387a17f49904523e6bc8dd88bd247266e83485803759e4bbe + OpenBLAS-0.3.20.tar.gz: 8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c + OpenBLAS-0.3.21.tar.gz: f36ba3d7a60e7c8bcc54cd9aaa9b1223dd42eaf02c811791c37e8ca707c241ca + OpenBLAS-0.3.23.tar.gz: 5d9491d07168a5d00116cdc068a40022c3455bf9293c7cb86a65b1054d7e5114 + OpenBLAS-0.3.24.tar.gz: ceadc5065da97bd92404cac7254da66cc6eb192679cf1002098688978d4d5132 + + versions: + 0.3.24: + config: + group_deps: + compiler: + gcc: [12.3.0, 13.1.0] + build_requires: [cmake/3.23.2] + relstage: unstable + overlay: devel + 0.3.23: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.5.0, 9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0] + build_requires: [cmake/3.23.2] + 0.3.21: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.5.0, 9.5.0, 10.4.0, 11.3.0, 12.1.0] + build_requires: [cmake/3.23.2] + 0.3.20: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.5.0, 9.5.0, 10.3.0, 11.3.0, 12.1.0] + 0.3.15: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.4.0, 9.3.0, 10.3.0] + 0.3.13: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.4.0, 9.3.0, 10.2.0, 10.3.0] + 0.3.10;0.3.9: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.4.0, 9.3.0, 10.1.0] + 0.3.9: + variants: + - group_deps: + compiler: + gcc: [7.5.0, 8.4.0, 9.3.0, 10.1.0] + 0.3.7: + variants: + - group_deps: + compiler: + gcc: [7.4.0, 8.3.0, 9.2.0] + 0.2.20: + variants: + - group_deps: + compiler: + gcc: [5.5.0, 6.4.0, 7.3.0] + - group_deps: + compiler: + intel: [17.4] + relstage: deprecated + 0.2.19: + variants: + - group_deps: + gcc: [4.8.5, 4.9.4, 5.3.0, 5.4.0, 6.2.0, 6.3.0] + 0.2.9: + variants: + - group_deps: + compiler: + gcc: [4.7.4, 4.8.2, 4.8.3, 4.8.4, 4.8.5, 4.9.2, 6.1.0, 6.2.0] + - group_deps: + compiler: + intel: [15.3] + relstage: deprecated diff --git a/Compiler/OpenBLAS/files/variants.rhel6 b/Compiler/OpenBLAS/files/variants.rhel6 index 3070e47..7a8f953 100644 --- a/Compiler/OpenBLAS/files/variants.rhel6 +++ b/Compiler/OpenBLAS/files/variants.rhel6 @@ -20,4 +20,6 @@ OpenBLAS/0.3.15 stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} OpenBLAS/0.3.20 stable gcc/{7.5.0,8.5.0,9.5.0,10.3.0,11.3.0,12.1.0} -OpenBLAS/0.3.21 stable gcc/{7.5.0,8.5.0,9.5.0,10.4.0,11.3.0,12.1.0} b:cmake/3.23.2 +OpenBLAS/0.3.21 stable gcc/{7.5.0,8.5.0,9.5.0,10.4.0,11.3.0,12.1.0} b:cmake/3.23.2 + +OpenBLAS/0.3.23 stable gcc/{7.5.0,8.5.0,9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} b:cmake/3.23.2 diff --git a/Compiler/gsl/files/variants.rhel6 b/Compiler/gsl/files/variants.rhel6 index 415e68f..d3d44c3 100644 --- a/Compiler/gsl/files/variants.rhel6 +++ b/Compiler/gsl/files/variants.rhel6 @@ -16,4 +16,4 @@ gsl/2.5 deprecated intel/19.4 gsl/2.6 stable gcc/{7.4.0,7.5.0,8.3.0,8.4.0,8.5.0,9.1.0,9.2.0,9.3.0,9.5.0,10.1.0,10.2.0,10.3.0,11.2.0,12.1.0} -gsl/2.7 stable gcc/{7.5.0,8.4.0,8.5.0,9.3.0,9.5.0,10.3.0,10.4.0,11.3.0,12.1.0} +gsl/2.7 stable gcc/{7.5.0,8.4.0,8.5.0,9.3.0,9.5.0,10.3.0,10.4.0,11.3.0,11.4.0,12.1.0,12.3.0,13.1.0} diff --git a/Compiler/hdf5_serial/build-yaml b/Compiler/hdf5_serial/build-yaml new file mode 100755 index 0000000..79ce963 --- /dev/null +++ b/Compiler/hdf5_serial/build-yaml @@ -0,0 +1,52 @@ +#!/usr/bin/env modbuild + +pbuild::install_docfiles ACKNOWLEDGMENTS +pbuild::install_docfiles COPYING +#pbuild::install_docfiles MANIFEST +pbuild::install_docfiles README.md + +pbuild::pre_configure() { + pbuild::add_configure_args "--enable-shared" + pbuild::add_configure_args "--enable-cxx" + pbuild::add_configure_args "--enable-unsupported" + pbuild::add_configure_args "--enable-threadsafe" + pbuild::add_configure_args "--with-pic" + case "${COMPILER}" in + clang-macos ) + # we do not have Fortran in Xcode + pbuild::add_configure_args "--disable-fortran" + if [[ "${V_MAJOR}.${V_MINOR}" == "1.8" ]]; then + pbuild::add_configure_args "--disable-fortran2003" + fi + ;; + pgi ) + # PGI uses GCC's include files, some object files and + # the STL implementation! + # The PGI C pre-processor is broken and doesn't work + # for HDF5. We use the pre-processor of the underlying + # GCC... + # This is a bit hackish! + # + # The following eval sets GCCDIR! Which is something + # like: + # /opt/psi/Programming/gcc/7.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/7.3.0 + # + eval $(pgcc -show 2>/dev/null | \ + awk '/^GCCDIR[[:space:]]*=/{gsub(/[[:space:]]/,""); print $0}') + pbuild::add_configure_args "CPP=${GCCDIR%%/..*}/cpp" + pbuild::add_configure_args "CFLAGS=-fPIC" + pbuild::add_configure_args "CXXFLAGS=-fPIC" + pbuild::add_configure_args "FCFLAGS=-fPIC" + pbuild::add_configure_args "--enable-fortran" + if [[ "${V_MAJOR}.${V_MINOR}" == "1.8" ]]; then + pbuild::add_configure_args "--enable-fortran2003" + fi + ;; + * ) + pbuild::add_configure_args "--enable-fortran" + if [[ "${V_MAJOR}.${V_MINOR}" == "1.8" ]]; then + pbuild::add_configure_args "--enable-fortran2003" + fi + ;; + esac +} diff --git a/Compiler/hdf5_serial/files/config.yaml b/Compiler/hdf5_serial/files/config.yaml new file mode 100644 index 0000000..00cbb15 --- /dev/null +++ b/Compiler/hdf5_serial/files/config.yaml @@ -0,0 +1,204 @@ +--- +# yamllint disable rule:line-length +format: 1 +hdf5_serial: + defaults: + group: Compiler + overlay: base + relstage: stable + systems: [rhel7, rhel8, rhel9] + urls: + - url: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${V_MAJOR}.${V_MINOR}/hdf5-$V/src/hdf5-$V.tar.bz2 + shasums: + hdf5-1.8.10-patch1.tar.bz2: 292afb3615ad9e68f4d5d18ebb11e4a73f2aece39f2da3875a457ff1e109fc41 + hdf5-1.8.12.tar.bz2: 10a369a4fc207bb09245f57c758e587420e06dfc0e445e337a58b0848b75a949 + hdf5-1.8.13.tar.bz2: c2f5a412107aba6f99fd7a4a9db6ce5f5fc8171ec931472784e5839d26aa17ef + hdf5-1.8.14.tar.bz2: 53722cb9f5977af2908f92fc1a3f8c597800a5cb448cfe5c75060d6335bb9bab + hdf5-1.8.15-patch1.tar.bz2: a5afc630c4443547fff15e9637b5b10404adbed4c00206d89517d32d6668fb32 + hdf5-1.8.15.1.tar.bz2: 289307fd70cef6715e0a28371635c8038153a4f25069319e34b0bc675a23e8ed + hdf5-1.8.16.tar.bz2: 13aaae5ba10b70749ee1718816a4b4bfead897c2fcb72c24176e759aec4598c6 + hdf5-1.8.17.tar.bz2: fc35dd8fd8d398de6b525b27cc111c21fc79795ad6db1b1f12cb15ed1ee8486a + hdf5-1.8.18.tar.bz2: 01c6deadf4211f86922400da82c7a8b5b50dc8fc1ce0b5912de3066af316a48c + hdf5-1.8.19.tar.bz2: 59c03816105d57990329537ad1049ba22c2b8afe1890085f0c022b75f1727238 + hdf5-1.8.20.tar.bz2: a4f2db7e0a078aa324f64e0216a80731731f73025367fa94d158c9b1d3fbdf6f + hdf5-1.8.21.tar.bz2: e5b1b1dee44a64b795a91c3321ab7196d9e0871fe50d42969761794e3899f40d + hdf5-1.10.0.tar.bz2: 31ff70dc7c7317066ab3bda3eec4498a8b099c69c1271b008ed3df388e743d28 + hdf5-1.10.1.tar.bz2: 9c5ce1e33d2463fb1a42dd04daacbc22104e57676e2204e3d66b1ef54b88ebf2 + hdf5-1.10.2.tar.bz2: 1cad5b7bfdf128dfc53cd16fba48f6e7ae4e93c75c371d9ec8dfc4df0c1fcb71 + hdf5-1.10.3.tar.bz2: c65cdcce4724a57fd3f8da9f0d109b497be30092acb9fac634d1291190d905a9 + hdf5-1.10.4.tar.bz2: 1267ff06aaedc04ca25f7c6026687ea2884b837043431195f153401d942b28df + hdf5-1.10.5.tar.bz2: 68d6ea8843d2a106ec6a7828564c1689c7a85714a35d8efafa2fee20ca366f44 + hdf5-1.10.6.tar.bz2: 09d6301901685201bb272a73e21c98f2bf7e044765107200b01089104a47c3bd + hdf5-1.10.6_slurm.tar.bz2: d5a89e26beae0bc03ad18a0b0d1d3d75f87c32047879d25da11970cb5c4662a3 + hdf5-1.10.7.tar.bz2: 02018fac7e5efc496d9539a303cfb41924a5dadffab05df9812096e273efa55e + hdf5-1.10.8.tar.bz2: 66ec544b195a4cb9f6ffed034fd82e52429d6112747c2996ab69853f606e546b + hdf5-1.10.11.tar.bz2: 0afc77da5c46217709475bbefbca91c0cb6f1ea628ccd8c36196cf6c5a4de304 + hdf5-1.12.0.tar.bz2: 97906268640a6e9ce0cde703d5a71c9ac3092eded729591279bf2e3ca9765f61 + hdf5-1.12.2.tar.bz2: 3016ea56a175d2ca7f2568c8016420f7a2aad8f95e214fe7fa5485f4b80fbe51 + hdf5-1.13.1.tar.bz2: e16973ec893e2d5aa9c8dc73e196db9b99a605578e7317b421c713936f8bf57d + + versions: + 1.8.12: + config: + group_deps: + compiler: + gcc: [4.7.4, 4.8.3, 4.8.4, 4.9.2] + intel: [15.2] + relstage: deprecated + + 1.8.13: + config: + group_deps: + compiler: + gcc: [4.7.4] + relstage: deprecated + + 1.8.14: + config: + group_deps: + compiler: + gcc: [4.7.4, 4.8.5, 4.9.3] + intel: [15.2] + relstage: deprecated + + 1.8.15-patch1: + config: + group_deps: + compiler: + gcc: [5.2.0] + relstage: deprecated + + 1.8.16: + config: + group_deps: + compiler: + gcc: [4.7.4, 5.3.0, 6.1.0] + intel: [15.3, 16.2] + relstage: deprecated + + 1.8.17: + config: + group_deps: + compiler: + gcc: [4.7.4, 4.9.4, 5.4.0, 6.2.0] + intel: [16.3] + relstage: deprecated + + 1.8.18: + config: + group_deps: + compiler: + gcc: [4.8.5, 5.5.0, 6.3.0, 6.4.0, 7.2.0, 7.3.0] + relstage: deprecated + + 1.8.19: + config: + group_deps: + compiler: + gcc: [4.8.5] + relstage: deprecated + + 1.8.20: + config: + group_deps: + compiler: + gcc: [4.8.5, 8.2.0] + intel: [18.4] + relstage: deprecated + + 1.8.21: + config: + group_deps: + compiler: + gcc: [5.5.0, 6.5.0, 7.4.0, 8.3.0] + pgi: [18.5] + relstage: deprecated + + 1.10.0: + config: + group_deps: + compiler: + gcc: [6.1.0] + intel: [16.3] + relstage: deprecated + + 1.10.1: + config: + group_deps: + compiler: + gcc: [4.8.5, 4.9.4, 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.2.0, 7.3.0] + intel: [17.1, 17.4] + pgi: [17.3, 17.7] + relstage: deprecated + + 1.10.2: + config: + group_deps: + compiler: + gcc: [5.5.0] + intel: [18.2, 18.3] + relstage: deprecated + + 1.10.3: + config: + group_deps: + compiler: + gcc: [4.8.5] + relstage: deprecated + + 1.10.4: + config: + group_deps: + compiler: + gcc: [7.3.0] + relstage: deprecated + + 1.10.5: + config: + group_deps: + compiler: + gcc: [5.5.0] + intel: [19.3] + relstage: deprecated + + 1.10.6: + config: + group_deps: + compiler: + gcc: [7.5.0, 8.4.0, 9.3.0, 10.2.0] + relstage: stable + + 1.10.7: + config: + group_deps: + compiler: + gcc: [10.2.0, 10.3.0, 11.2.0] + relstage: stable + + 1.10.8: + config: + group_deps: + compiler: + gcc: [6.5.0, 7.5.0, 8.5.0, 9.5.0, 10.3.0, 11.3.0, 12.1.0] + relstage: stable + + 1.10.11: + config: + group_deps: + compiler: + gcc: [10.4.0] + relstage: unstable + + 1.12.0: + config: + group_deps: + compiler: + gcc: [10.2.0] + relstage: stable + + 1.12.2: + config: + group_deps: + compiler: + gcc: [6.5.0, 7.5.0, 8.5.0, 9.5.0, 10.3.0, 11.3.0, 12.1.0] + relstage: stable diff --git a/Compiler/hdf5_serial/files/variants.yaml b/Compiler/hdf5_serial/files/variants.yaml deleted file mode 100644 index 1a52a81..0000000 --- a/Compiler/hdf5_serial/files/variants.yaml +++ /dev/null @@ -1,109 +0,0 @@ -overlay: base -relstage: stable - -hdf5_serial/1.8.12: - - with: gcc/{4.7.4,4.8.3,4.8.4,4.9.2} - relstage: deprecated - - with: intel/15.2 - relstage: deprecated - -hdf5_serial/1.8.13: - - with: gcc/4.7.4 - relstage: deprecated - -hdf5_serial/1.8.14: - - with: gcc/{4.7.4,4.8.5,4.9.3} - relstage: deprecated - - with: intel/15.2 - relstage: deprecated - -hdf5_serial/1.8.15-patch1: - - with: gcc/5.2.0 - relstage: deprecated - -hdf5_serial/1.8.16: - - with: gcc/{4.7.4,5.3.0,6.1.0} - relstage: deprecated - - with: intel/{15.3,16.2} - relstage: deprecated - -hdf5_serial/1.8.17: - - with: gcc/{4.7.4,4.9.4,5.4.0,6.2.0} - relstage: deprecated - - with: intel/16.3 - relstage: deprecated - -hdf5_serial/1.8.18: - - with: gcc/{4.8.5,5.5.0,6.3.0,6.4.0,7.2.0,7.3.0} - relstage: deprecated - -hdf5_serial/1.8.19: - - with: gcc/4.8.5 - relstage: deprecated - -hdf5_serial/1.8.20: - - with: gcc/{4.8.5,8.2.0} - relstage: deprecated - - with: intel/18.4 - relstage: deprecated - -hdf5_serial/1.8.21: - - with: gcc/{5.5.0,6.5.0,7.4.0,8.3.0} - relstage: deprecated - - with: pgi/18.5 - relstage: deprecated - -hdf5_serial/1.10.0: - - with: gcc/6.1.0 - relstage: deprecated - - with: intel/16.3 - relstage: deprecated - -hdf5_serial/1.10.1: - - with: gcc/{4.8.5,4.9.4,5.4.0,5.5.0,6.3.0,6.4.0,7.1.0,7.2.0,7.3.0} - relstage: deprecated - - with: intel/{17.1,17.4} - relstage: deprecated - - with: pgi/{17.3,17.7} - relstage: deprecated - -hdf5_serial/1.10.2: - - with: gcc/5.5.0 - relstage: deprecated - - with: intel/{18.2,18.3} - relstage: deprecated - -hdf5_serial/1.10.3: - - with: gcc/4.8.5 - relstage: deprecated - -hdf5_serial/1.10.4: - - with: gcc/7.3.0 - relstage: deprecated - -hdf5_serial/1.10.5: - - with: gcc/5.5.0 - relstage: deprecated - - with: intel/19.3 - relstage: deprecated - -hdf5_serial/1.10.6: - - with: gcc/{7.5.0,8.4.0,9.3.0,10.2.0} - relstage: stable - -hdf5_serial/1.10.7: - - with: gcc/{10.2.0,10.3.0,11.2.0} - relstage: stable - -hdf5_serial/1.10.8: - - with: gcc/{6.5.0,7.5.0,8.5.0,9.5.0,10.3.0,11.3.0,12.1.0} - relstage: stable - -hdf5_serial/1.12.0: - - with: gcc/10.2.0 - relstage: stable - -hdf5_serial/1.12.2: - - with: gcc/{6.5.0,7.5.0,8.5.0,9.5.0,10.3.0,11.3.0,12.1.0} - relstage: stable - diff --git a/Compiler/openmpi/build b/Compiler/openmpi/build index ab75d48..ba87cf3 100755 --- a/Compiler/openmpi/build +++ b/Compiler/openmpi/build @@ -21,35 +21,35 @@ pbuild::pre_configure() { pbuild::add_configure_args "--enable-static" pbuild::add_configure_args "--with-slurm=yes" - if [[ -n "${CUDA_VERSION}" ]]; then + if [[ -v CUDA_VERSION ]]; then pbuild::add_configure_args "--with-cuda=${CUDA_HOME}" fi - if [[ -n "${HWLOC_VERSION}" ]]; then + if [[ -v HWLOC_VERSION ]]; then unset HWLOC_VERSION pbuild::add_configure_args "--with-hwloc=${HWLOC_PREFIX}" else pbuild::add_configure_args "--with-hwloc=internal" fi - if [[ -n "${LIBEVENT_VERSION}" ]]; then + if [[ -v LIBEVENT_VERSION ]]; then pbuild::add_configure_args "--with-libevent=${LIBEVENT_PREFIX}" fi - if [[ -n "${PMIX_VERSION}" ]]; then + if [[ -v PMIX_VERSION ]]; then unset PMIX_VERSION pbuild::add_configure_args "--with-pmix=${PMIX_PREFIX}" fi - if [[ -n "${LIBFABRIC_VERSION}" ]]; then + if [[ -v LIBFABRIC_VERSION ]]; then pbuild::add_configure_args "--with-ofi=${LIBFABRIC_PREFIX}" fi - if [[ -n "${UCX_VERSION}" ]]; then + if [[ -v UCX_VERSION ]]; then pbuild::add_configure_args "--with-ucx=${UCX_PREFIX}" fi - if [[ -n "${INTEL_VERSION}" ]]; then + if [[ -v INTEL_VERSION ]]; then pbuild::add_configure_args "CC=icc" pbuild::add_configure_args "CXX=icpc" pbuild::add_configure_args "FC=ifort" @@ -95,7 +95,7 @@ pbuild::post_install() { pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libpmi2.so' fi - if [[ -n "${CUDA_VERSION}" ]]; then + if [[ -v CUDA_VERSION ]]; then echo "opal_warn_on_missing_libcuda = 0" >> ${PREFIX}/etc/openmpi-mca-params.conf fi diff --git a/Compiler/openmpi/build-xml b/Compiler/openmpi/build-xml new file mode 100755 index 0000000..31bf3b5 --- /dev/null +++ b/Compiler/openmpi/build-xml @@ -0,0 +1,100 @@ +#!/usr/bin/env modbuild + +pbuild::install_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README' + +pbuild::pre_configure() { + pbuild::add_configure_args "--prefix=${PREFIX}" + pbuild::add_configure_args "--enable-mpi-cxx" + pbuild::add_configure_args "--enable-mpi-cxx-seek" + pbuild::add_configure_args "--enable-orterun-prefix-by-default" + pbuild::add_configure_args "--enable-shared" + pbuild::add_configure_args "--enable-static" + pbuild::add_configure_args "--with-slurm=yes" + + if [[ -v CUDA_VERSION ]]; then + pbuild::add_configure_args "--with-cuda=${CUDA_HOME}" + fi + + if [[ -v HWLOC_VERSION ]]; then + unset HWLOC_VERSION + pbuild::add_configure_args "--with-hwloc=${HWLOC_PREFIX}" + else + pbuild::add_configure_args "--with-hwloc=internal" + fi + + if [[ -v LIBEVENT_VERSION ]]; then + pbuild::add_configure_args "--with-libevent=${LIBEVENT_PREFIX}" + fi + + if [[ -v PMIX_VERSION ]]; then + unset PMIX_VERSION + pbuild::add_configure_args "--with-pmix=${PMIX_PREFIX}" + fi + + if [[ -v LIBFABRIC_VERSION ]]; then + pbuild::add_configure_args "--with-ofi=${LIBFABRIC_PREFIX}" + fi + + if [[ -v UCX_VERSION ]]; then + pbuild::add_configure_args "--with-ucx=${UCX_PREFIX}" + fi + + if [[ -v INTEL_VERSION ]]; then + pbuild::add_configure_args "CC=icc" + pbuild::add_configure_args "CXX=icpc" + pbuild::add_configure_args "FC=ifort" + pbuild::add_configure_args "F90=ifort" + pbuild::add_configure_args "F77=ifort" + pbuild::add_configure_args "LDFLAGS=-Wc,-static-intel,-O0" + fi + + if pbuild::use_flag slurm || pbuild::use_flag dgx || pbuild::use_flag merlin6; then + pbuild::add_configure_args "--with-gpfs=/usr/lpp/mmfs" + pbuild::add_configure_args "--with-pmi" + # pbuild::add_configure_args "--with-pmi-libdir=/usr/lib64/" + + if pbuild::use_flag "libpmix"; then + pbuild::add_configure_args "--enable-install-libpmix" + fi + fi + + local version + (( version = (${V_MAJOR} * 100 + ${V_MINOR}) * 100 + V_PATCHLVL )) + if (( V_MAJOR < 4 )); then + pbuild::add_configure_args "--enable-mpi-f90" + pbuild::add_configure_args "--enable-mpi-profile" + pbuild::add_configure_args "--enable-smp-locks" + elif (( V_MAJOR >= 4 )); then + pbuild::add_configure_args "--enable-mpi-fortran" + pbuild::add_configure_args "--without-verbs" + fi + +} + +pbuild::post_install() { + if ! pbuild::use_flag slurm && ! pbuild::use_flag dgx && ! pbuild::use_flag merlin6; then + mkdir -p "${PREFIX}/lib/fallback" + local -r binary=$(ls "${PREFIX}"/lib/libmpi.so.*.*.*) + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libuc[mpst].so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libuct_ib.so.0' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libnuma.so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libibverbs.so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/librdmacm.so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libpmi.so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libpmi2.so' + pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libpmi2.so' + fi + + if [[ -v CUDA_VERSION ]]; then + echo "opal_warn_on_missing_libcuda = 0" >> ${PREFIX}/etc/openmpi-mca-params.conf + fi + + for FILE in $(find $PREFIX -type f \( ! -name "*.a" -and ! -name "*.mod" \) -exec grep -IL . "{}" \;) + do + OLD_RPATH=$(objdump -a -x $FILE | grep RPATH | awk '{print $2}') + NEW_RPATH=$(echo $OLD_RPATH | sed 's/:\/usr\/lib64:/:/g') + if [[ "${OLD_RPATH}" != "${NEW_RPATH}" ]]; then + patchelf --force-rpath --set-rpath "${NEW_RPATH}" "${FILE}" + fi + done +} diff --git a/Compiler/openmpi/files/config.yaml b/Compiler/openmpi/files/config.yaml new file mode 100644 index 0000000..1bac1f8 --- /dev/null +++ b/Compiler/openmpi/files/config.yaml @@ -0,0 +1,218 @@ +--- +# yamllint disable rule:line-length +format: 1 +openmpi: + defaults: + group: Compiler + overlay: base + relstage: stable + systems: [rhel7, rhel8, rhel9] + docfiles: [AUTHORS, LICENSE, NEWS, README] + urls: + - url: https://download.open-mpi.org/release/open-mpi/v${V_MAJOR}.${V_MINOR}/openmpi-${V_PKG}.tar.bz + shasums: + openmpi-1.10.0.tar.bz2: 26b432ce8dcbad250a9787402f2c999ecb6c25695b00c9c6ee05a306c78b6490 + openmpi-1.10.4.tar.bz2: fb3c0c4c77896185013b6091b306d29ba592eb40d8395533da5c8bc300d922db + openmpi-1.10.7.tar.bz2: a089ece151fec974905caa35b0a59039b227bdea4e7933069e94bee4ed0e5a90 + openmpi-1.4.3.tar.bz2: 220b72b1c7ee35469ff74b4cfdbec457158ac6894635143a33e9178aa3981015 + openmpi-1.4.5.tar.bz2: a3857bc69b7d5258cf7fc1ed1581d9ac69110f5c17976b949cb7ec789aae462d + openmpi-1.6.5.tar.bz2: fe37bab89b5ef234e0ac82dc798282c2ab08900bf564a1ec27239d3f1ad1fc85 + openmpi-1.8.0.tar.bz2: 8ce8a0fb60d39469adba0adc4d0b94b3055ef6f800d536dbcb788f334b55db0d + openmpi-1.8.1.tar.bz2: 171427ebc007943265f33265ec32e15e786763952e2bfa2eac95e3e192c1e18f + openmpi-1.8.2.tar.bz2: ab70770faf1bac15ef44301fe2186b02f857646545492dd7331404e364a7d131 + openmpi-1.8.4.tar.bz2: 23158d916e92c80e2924016b746a93913ba7fae9fff51bf68d5c2a0ae39a2f8a + openmpi-1.8.8.tar.bz2: a28382d1e6a36f4073412dc00836ff2524e42b674da9caf6ca7377baad790b94 + openmpi-2.0.0.tar.bz2: 08b64cf8e3e5f50a50b4e5655f2b83b54653787bd549b72607d9312be44c18e0 + openmpi-2.0.1.tar.bz2: fed74f4ae619b7ebcc18150bb5bdb65e273e14a8c094e78a3fea0df59b9ff8ff + openmpi-2.1.0.tar.bz2: b169e15f5af81bf3572db764417670f508c0df37ce86ff50deb56bd3acb43957 + openmpi-2.1.1.tar.bz2: bd7badd4ff3afa448c0d7f3ca0ee6ce003b957e9954aa87d8e4435759b5e4d16 + openmpi-2.1.2.tar.bz2: 3cc5804984c5329bdf88effc44f2971ed244a29b256e0011b8deda02178dd635 + openmpi-2.1.5.tar.bz2: b807ccab801f27c3159a5edf29051cd3331d3792648919f9c4cee48e987e7794 + openmpi-2.1.6.tar.bz2: 98b8e1b8597bbec586a0da79fcd54a405388190247aa04d48e8c40944d4ca86e + openmpi-3.0.0.tar.bz2: f699bff21db0125d8cccfe79518b77641cd83628725a1e1ed3e45633496a82d7 + openmpi-3.0.1.tar.bz2: 663450d1ee7838b03644507e8a76edfb1fba23e601e9e0b5b2a738e54acd785d + openmpi-3.0.5.tar.bz2: f8976b95f305efc435aa70f906b82d50e335e34cffdbf5d78118a507b1c6efe8 + openmpi-3.1.1.tar.bz2: 3f11b648dd18a8b878d057e9777f2c43bf78297751ad77ae2cef6db0fe80c77c + openmpi-3.1.2.tar.bz2: c654ed847f34a278c52a15c98add40402b4a90f0c540779f1ae6c489af8a76c5 + openmpi-3.1.3.tar.bz2: 8be04307c00f51401d3fb9d837321781ea7c79f2a5a4a2e5d4eaedc874087ab6 + openmpi-3.1.4.tar.bz2: 17a69e0054db530c7dc119f75bd07d079efa147cf94bf27e590905864fe379d6 + openmpi-3.1.5.tar.bz2: fbf0075b4579685eec8d56d34d4d9c963e6667825548554f5bf308610af72133 + openmpi-3.1.6.tar.bz2: 50131d982ec2a516564d74d5616383178361c2f08fdd7d1202b80bdf66a0d279 + openmpi-4.0.0.tar.bz2: 2f0b8a36cfeb7354b45dda3c5425ef8393c9b04115570b615213faaa3f97366b + openmpi-4.0.1.tar.bz2: cce7b6d20522849301727f81282201d609553103ac0b09162cf28d102efb9709 + openmpi-4.0.2.tar.bz2: 900bf751be72eccf06de9d186f7b1c4b5c2fa9fa66458e53b77778dffdfe4057 + openmpi-4.0.3.tar.bz2: 1402feced8c3847b3ab8252165b90f7d1fa28c23b6b2ca4632b6e4971267fd03 + openmpi-4.0.4.tar.bz2: 47e24eb2223fe5d24438658958a313b6b7a55bb281563542e1afc9dec4a31ac4 + openmpi-4.0.5.tar.bz2: c58f3863b61d944231077f344fe6b4b8fbb83f3d1bc93ab74640bf3e5acac009 + openmpi-4.0.6.tar.bz2: 94b7b59ae9860f3bd7b5f378a698713e7b957070fdff2c43453b6cbf8edb410c + openmpi-4.0.7.tar.bz2: 7d3ecc8389161eb721982c855f89c25dca289001577a01a439ae97ce872be997 + openmpi-4.1.0.tar.bz2: 73866fb77090819b6a8c85cb8539638d37d6877455825b74e289d647a39fd5b5 + openmpi-4.1.1rc2.tar.bz2: f7d572621c93934b329281ee159c89124905ef05900d1a817efb7d262442d0f3 + openmpi-4.1.1.tar.bz2: e24f7a778bd11a71ad0c14587a7f5b00e68a71aa5623e2157bafee3d44c07cda + openmpi-4.1.3.tar.bz2: 3d81d04c54efb55d3871a465ffb098d8d72c1f48ff1cbaf2580eb058567c0a3b + openmpi-4.1.4.tar.bz2: 92912e175fd1234368c8730c03f4996fe5942e7479bb1d10059405e7f2b3930d + openmpi-4.1.5.tar.bz2: a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3 + + versions: + + 4.1.5: + variants: + - systems: [merlin-*, ra-*] + suffix: _slurm + group_deps: + compiler: {gcc: [9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0]} + build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5] + runtime_deps: [cuda/12.1.1] + - systems: [merlin-*, ra-*] + suffix: _slurm + relstage: unstable + group_deps: + compiler: {intelcc: [22.2]} + build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5] + runtime_deps: [cuda/12.1.1] + + 4.1.4_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [10.4.0]} + runtime_deps: [cuda/11.5.1] + build_requires: [ucx/1.12.1_slurm] + + 4.1.3_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [9.3.0, 10.3.0, 11.2.0]} + runtime_deps: [cuda/11.5.1] + build_requires: [ucx/1.12.1_slurm] + + 4.1.1-1_slurm: + config: + relstage: unstable + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.3.0] + build_requires: [ucx/1.10.0_slurm] + + 4.1.1_slurm: + config: + relstage: unstable + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.3.0] + build_requires: [ucx/1.11.2_slurm] + + 4.1.0-1_dgx: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.2.2] + build_requires: [ucx/1.10.0-1_dgx] + + 4.0.7-1_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.4.3] + build_requires: [ucx/1.11.2-1_slurm] + + 4.0.7_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.5.1] + build_requires: [ucx/1.11.2-2_slurm] + + 4.0.5-2_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [10.2.0]} + runtime_deps: [cuda/11.3.0] + build_requires: [ucx/1.11.0_slurm] + + 4.0.5-1_slurm: + config: + relstage: stable + group_deps: + compiler: {gcc: [8.4.0, 9.3.0, 10.2.0, 10.3.0]} + runtime_deps: [cuda/11.2.2] + build_requires: [ucx/1.10.0-1_slurm] + + 4.0.5-1_dgx: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [8.4.0, 9.3.0, 10.2.0]} + runtime_deps: [cuda/11.2.2] + build_requires: [ucx/1.10.0-1_dgx] + + 4.0.5_slurm: + config: + relstage: stable + variants: + - group_deps: + compiler: {gcc: [gcc/9.2.0]} + runtime_deps: [cuda/11.0.3] + - group_deps: + compiler: {gcc: [8.4.0, 9.3.0], intel: [20.4]} + runtime_deps: [cuda/11.1.0] + + 4.0.4_slurm_libpmix: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [9.3.0]} + + 4.0.4_slurm: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [4.9.4, 5.5.0, 6.5.0, 7.5.0, 8.4.0, 9.3.0], intel: [15.2, 17.4, 18.4, 20.1]} + + 4.0.3_slurm: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [4.9.4, 5.5.0, 6.5.0, 7.5.0, 8.4.0, 9.3.0], intel: [15.2, 17.4, 18.4, 20.1]} + + 3.1.6_slurm: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.9.4, 5.5.0, 6.5.0], intel: [15.2, 17.4, 18.4, 20.1]} + - group_deps: + compiler: {gcc: [7.5.0, 8.4.0, 9.3.0]} + relstage: stable + - group_deps: + compiler: {intel: [20.4]} + runtime_deps: [cuda/11.1.0] + + 3.1.4_merlin6: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [7.4.0, 8.3.0]} + + 3.1.5_merlin6;3.1.5-1_merlin6: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [7.3.0, 7.4.0, 8.3.0, 9.2.0], intel: [15.2, 17.4, 18.4]} + + 3.0.5_slurm: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [4.9.4, 5.5.0, 6.5.0, 7.4.0, 8.3.0, 9.2.0], intel: [15.2, 17.4, 18.4]} + + 2.1.6_slurm: + config: + relstage: deprecated + group_deps: + compiler: {gcc: [4.9.4, 5.5.0, 6.5.0, 7.4.0, 8.3.0, 9.2.0], intel: [15.2, 17.4, 18.4]} diff --git a/Compiler/openmpi/files/variants.merlin6 b/Compiler/openmpi/files/variants.merlin6 index d74c05c..3b81657 100644 --- a/Compiler/openmpi/files/variants.merlin6 +++ b/Compiler/openmpi/files/variants.merlin6 @@ -40,7 +40,7 @@ openmpi/4.1.1-1_slurm unstable gcc/10.2.0 cuda/11.3.0 b:ucx/1.10.0_slurm openmpi/4.1.3_slurm stable gcc/{9.3.0,10.3.0,11.2.0} cuda/11.5.1 b:ucx/1.12.1_slurm openmpi/4.1.4_slurm stable gcc/10.4.0 cuda/11.5.1 b:ucx/1.12.1_slurm -openmpi/4.1.5_slurm unstable gcc/{10.4.0,11.4.0} b:cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 +openmpi/4.1.5_slurm stable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} b:cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 openmpi/4.1.5_slurm unstable intelcc/22.2 b:cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 openmpi/4.0.5-1_dgx deprecated gcc/{8.4.0,9.3.0,10.2.0} cuda/11.2.2 b:ucx/1.10.0-1_dgx diff --git a/Compiler/openmpi/files/variants.rhel6 b/Compiler/openmpi/files/variants.rhel6 index 32db4a6..c81d7d8 100644 --- a/Compiler/openmpi/files/variants.rhel6 +++ b/Compiler/openmpi/files/variants.rhel6 @@ -52,3 +52,5 @@ openmpi/4.0.5 stable gcc/{7.5.0,8.4.0,9.3.0,10.2.0} ucx/1.8.1 openmpi/4.0.5 stable gcc/10.3.0 openmpi/4.1.4 stable gcc/10.4.0 + +openmpi/4.1.5 unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0} diff --git a/HDF5/H5hut/files/variants.merlin6 b/HDF5/H5hut/files/variants.merlin6 index 6ccc2b5..262952c 100644 --- a/HDF5/H5hut/files/variants.merlin6 +++ b/HDF5/H5hut/files/variants.merlin6 @@ -2,3 +2,4 @@ H5hut/2.0.0rc6_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm hdf5/1. H5hut/2.0.0rc6_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm hdf5/1.10.7_slurm b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.12 b:parmetis/4.0.3_slurm H5hut/2.0.0rc6_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm hdf5/1.10.8_slurm b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.17 +H5hut/2.0.0rc6_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm hdf5/1.10.8_slurm b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.17 diff --git a/HDF5/H5hut/files/variants.rhel6 b/HDF5/H5hut/files/variants.rhel6 index 97c47d1..27e09a6 100644 --- a/HDF5/H5hut/files/variants.rhel6 +++ b/HDF5/H5hut/files/variants.rhel6 @@ -23,3 +23,4 @@ H5hut/2.0.0rc6 deprecated gcc/{7.5.0,8.4.0,9.3.0,10.1.0} openmpi/3.1.6 hdf5/1.1 H5hut/2.0.0rc6 stable gcc/10.3.0 openmpi/4.0.5 hdf5/1.10.7 b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.12 b:parmetis/4.0.3 H5hut/2.0.0rc6 stable gcc/10.4.0 openmpi/4.1.4 hdf5/1.10.8 b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.17 +H5hut/2.0.0rc6 unstable gcc/10.4.0 openmpi/4.1.5 hdf5/1.10.8 b:automake/1.16.1 b:autoconf/2.69 b:libtool/2.4.6-1 b:Python/2.7.17 diff --git a/HDF5/trilinos/build b/HDF5/trilinos/build index 34afa1c..af23e67 100755 --- a/HDF5/trilinos/build +++ b/HDF5/trilinos/build @@ -1,9 +1,9 @@ #!/usr/bin/env modbuild pbuild::set_download_url \ - "https://github.com/$P/$P/tarball/$P-release-${V//./-}" \ + "https://github.com/trilinos/Trilinos/archive/refs/tags/$P-release-${V_PKG//./-}.tar.gz" \ "$P-${V_PKG}.tar.gz" - +# https://github.com/trilinos/Trilinos/archive/refs/tags/trilinos-release-13-4-0.tar.gz pbuild::set_sha256sum \ "trilinos-12.12.1.tar.gz:c8f2029fa36230b9f384c56139aaa33111227bcf653e73f7daf3c9efdecc1d2d" @@ -28,59 +28,99 @@ pbuild::configure() { config_args+=( "-DLAPACK_INCLUDE_DIRS:PATH=${LAPACK_INCLUDE_DIRS}" ) config_args+=( "-DLAPACK_LIBRARY_NAMES:STRING=${LAPACK_LIBRARY_NAMES}" ) fi - - if (( V_MAJOR == 12 && V_MINOR >= 12)); then - config_args+=( "-DTrilinos_ENABLE_SEACAS:BOOL=OFF" ) - config_args+=( "-DTrilinos_ENABLE_OpenMP:BOOL=OFF" ) - config_args+=( "-DKokkos_ENABLE_Serial:BOOL=ON" ) - config_args+=( "-DKokkos_ENABLE_OpenMP:BOOL=OFF" ) - config_args+=( "-DKokkos_ENABLE_Pthread:BOOL=OFF" ) - config_args+=( "-DKokkos_ENABLE_Cuda:BOOL=OFF" ) - config_args+=( "-DKokkos_ENABLE_Cuda_UVM:BOOL=OFF" ) - config_args+=( "-DTpetra_INST_SERIAL:BOOL=ON" ) - config_args+=( "-DTrilinos_ENABLE_TESTS:BOOL=OFF" ) - config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) - fi - PARMETIS_INCLUDE_DIRS="${PARMETIS_PREFIX}/include" PARMETIS_LIBRARIES="${PARMETIS_PREFIX}/lib/libparmetis.a" METIS_INCLUDE_DIRS="${PARMETIS_PREFIX}/include/metis" METIS_LIBRARIES="${PARMETIS_PREFIX}/lib/libmetis.a" + + if pbuild::version_lt 12.12.0; then + config_args+=( "-DTPL_ENABLE_DLlib:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_QT:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_MPI:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_BLAS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_LAPACK:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_METIS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_ParMETIS:BOOL=ON" ) + config_args+=( "-DTPL_METIS_INCLUDE_DIRS:PATH=$METIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_METIS_LIBRARIES:PATH=$METIS_LIBRARIES" ) + config_args+=( "-DTPL_ParMETIS_INCLUDE_DIRS:PATH=$PARMETIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_ParMETIS_LIBRARIES:PATH=$PARMETIS_LIBRARIES" ) + config_args+=( "-DTrilinos_ENABLE_Amesos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos2:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_AztecOO:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Belos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Epetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_EpetraExt:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Galeri:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Ifpack:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Isorropia:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_ML:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_NOX:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Optika:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_Teuchos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Tpetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_TESTS:BOOL=OFF" ) + elif pbuild::version_ge 12.12.0; then + + config_args+=( "-DGtest_SKIP_INSTALL:BOOL=ON" ) + config_args+=( "-DMueLu_ENABLE_Kokkos_Refactor:STRING=ON" ) + config_args+=( "-DMueLu_ENABLE_Kokkos_Refactor_Use_By_Default:STRING=ON" ) + config_args+=( "-DTpetra_ENABLE_DEPRECATED_CODE:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON" ) + config_args+=( "-DTpetra_ENABLE_TESTS:BOOL=OFF" ) + config_args+=( "-DTpetra_ENABLE_EXAMPLES:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_INT_INT:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_INT_LONG:BOOL=ON" ) + config_args+=( "-DTpetra_INST_INT_LONG_LONG:BOOL=OFF" ) + + config_args+=( "-DKokkos_ENABLE_Serial:BOOL=ON" ) + config_args+=( "-DKokkos_ENABLE_OpenMP:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Pthread:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda_UVM:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda_Lambda:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_SERIAL:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_DLlib:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_QT:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_MPI:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_BLAS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_LAPACK:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_METIS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_ParMETIS:BOOL=ON" ) + config_args+=( "-DTPL_METIS_INCLUDE_DIRS:PATH=$METIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_METIS_LIBRARIES:PATH=$METIS_LIBRARIES" ) + config_args+=( "-DTPL_ParMETIS_INCLUDE_DIRS:PATH=$PARMETIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_ParMETIS_LIBRARIES:PATH=$PARMETIS_LIBRARIES" ) + config_args+=( "-DTrilinos_ENABLE_SEACAS:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_OpenMP:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos2:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_AztecOO:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Belos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Epetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_EpetraExt:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Galeri:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Ifpack:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Isorropia:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_ML:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_NOX:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Optika:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_Teuchos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Tpetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_TESTS:BOOL=OFF" ) + fi + cmake \ -D CMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ -DCMAKE_CXX_FLAGS:STRING="-DMPICH_IGNORE_CXX_SEEK -fPIC" \ -DCMAKE_C_FLAGS:STRING="-DMPICH_IGNORE_CXX_SEEK -fPIC" \ - -DCMAKE_CXX_STANDARD:STRING="11" \ + -DCMAKE_CXX_STANDARD:STRING="14" \ -DCMAKE_Fortran_FLAGS:STRING="-fPIC" \ - -DTPL_ENABLE_DLlib:BOOL=OFF \ - -DTPL_ENABLE_QT:BOOL=OFF \ - -DTPL_ENABLE_MPI:BOOL=ON \ - -DTPL_ENABLE_BLAS:BOOL=ON \ - -DTPL_ENABLE_LAPACK:BOOL=ON \ - -DTPL_ENABLE_METIS:BOOL=ON \ - -DTPL_ENABLE_ParMETIS:BOOL=ON \ - -DTPL_METIS_INCLUDE_DIRS:PATH=$METIS_INCLUDE_DIRS \ - -DTPL_METIS_LIBRARIES:PATH=$METIS_LIBRARIES \ - -DTPL_ParMETIS_INCLUDE_DIRS:PATH=$PARMETIS_INCLUDE_DIRS \ - -DTPL_ParMETIS_LIBRARIES:PATH=$PARMETIS_LIBRARIES \ - -DTrilinos_ENABLE_Amesos:BOOL=ON \ - -DTrilinos_ENABLE_Amesos2:BOOL=ON \ - -DTrilinos_ENABLE_AztecOO:BOOL=ON \ - -DTrilinos_ENABLE_Belos:BOOL=ON \ - -DTrilinos_ENABLE_Epetra:BOOL=ON \ - -DTrilinos_ENABLE_EpetraExt:BOOL=ON \ - -DTrilinos_ENABLE_Galeri:BOOL=ON \ - -DTrilinos_ENABLE_Ifpack:BOOL=ON \ - -DTrilinos_ENABLE_Isorropia:BOOL=ON \ - -DTrilinos_ENABLE_ML:BOOL=ON \ - -DTrilinos_ENABLE_MueLu:BOOL=ON \ - -DTrilinos_ENABLE_NOX:BOOL=ON \ - -DTrilinos_ENABLE_Optika:BOOL=OFF \ - -DTrilinos_ENABLE_Teuchos:BOOL=ON \ - -DTrilinos_ENABLE_Tpetra:BOOL=ON \ - -DTrilinos_ENABLE_TESTS:BOOL=OFF \ "${config_args[@]}" \ "${SRC_DIR}" || exit 1 } diff --git a/HDF5/trilinos/build-xml b/HDF5/trilinos/build-xml new file mode 100755 index 0000000..df930b9 --- /dev/null +++ b/HDF5/trilinos/build-xml @@ -0,0 +1,123 @@ +#!/usr/bin/env modbuild + + +declare -rx AR=ar + +pbuild::configure() { + declare config_args=() + if [[ "${OS}" == "Linux" ]]; then + BLAS_PREFIX="${OPENBLAS_PREFIX}" + BLAS_INCLUDE_DIRS="${BLAS_PREFIX}/include" + BLAS_LIBRARY_DIRS="${BLAS_PREFIX}/lib64" + BLAS_LIBRARY_NAMES="openblas" + LAPACK_PREFIX="${OPENBLAS_PREFIX}" + + LAPACK_INCLUDE_DIRS="${LAPACK_PREFIX}/include" + LAPACK_LIBRARY_DIRS="${LAPACK_PREFIX}/lib64" + LAPACK_LIBRARY_NAMES="openblas" + config_args+=( "-DBLAS_LIBRARY_DIRS:PATH=${BLAS_LIBRARY_DIRS}" ) + config_args+=( "-DBLAS_INCLUDE_DIRS:PATH=${BLAS_LIBRARY_DIRS}" ) + config_args+=( "-DBLAS_LIBRARY_NAMES:STRING=${BLAS_LIBRARY_NAMES}" ) + config_args+=( "-DLAPACK_LIBRARY_DIRS:PATH=${LAPACK_LIBRARY_DIRS}" ) + config_args+=( "-DLAPACK_INCLUDE_DIRS:PATH=${LAPACK_INCLUDE_DIRS}" ) + config_args+=( "-DLAPACK_LIBRARY_NAMES:STRING=${LAPACK_LIBRARY_NAMES}" ) + fi + PARMETIS_INCLUDE_DIRS="${PARMETIS_PREFIX}/include" + PARMETIS_LIBRARIES="${PARMETIS_PREFIX}/lib/libparmetis.a" + METIS_INCLUDE_DIRS="${PARMETIS_PREFIX}/include" + METIS_LIBRARIES="${PARMETIS_PREFIX}/lib/libmetis.a" + + + if pbuild::version_lt 12.12.0; then + config_args+=( "-DTPL_ENABLE_DLlib:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_QT:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_MPI:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_BLAS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_LAPACK:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_METIS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_ParMETIS:BOOL=ON" ) + config_args+=( "-DTPL_METIS_INCLUDE_DIRS:PATH=$METIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_METIS_LIBRARIES:PATH=$METIS_LIBRARIES" ) + config_args+=( "-DTPL_ParMETIS_INCLUDE_DIRS:PATH=$PARMETIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_ParMETIS_LIBRARIES:PATH=$PARMETIS_LIBRARIES" ) + config_args+=( "-DTrilinos_ENABLE_Amesos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos2:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_AztecOO:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Belos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Epetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_EpetraExt:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Galeri:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Ifpack:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Isorropia:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_ML:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_NOX:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Optika:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_Teuchos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Tpetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_TESTS:BOOL=OFF" ) + elif pbuild::version_ge 12.12.0; then + + config_args+=( "-DGtest_SKIP_INSTALL:BOOL=ON" ) + config_args+=( "-DMueLu_ENABLE_Kokkos_Refactor:STRING=ON" ) + config_args+=( "-DMueLu_ENABLE_Kokkos_Refactor_Use_By_Default:STRING=ON" ) + config_args+=( "-DTpetra_ENABLE_DEPRECATED_CODE:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON" ) + config_args+=( "-DTpetra_ENABLE_TESTS:BOOL=OFF" ) + config_args+=( "-DTpetra_ENABLE_EXAMPLES:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_INT_INT:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_INT_LONG:BOOL=ON" ) + config_args+=( "-DTpetra_INST_INT_LONG_LONG:BOOL=OFF" ) + + config_args+=( "-DKokkos_ENABLE_Serial:BOOL=ON" ) + config_args+=( "-DKokkos_ENABLE_OpenMP:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Pthread:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda_UVM:BOOL=OFF" ) + config_args+=( "-DKokkos_ENABLE_Cuda_Lambda:BOOL=OFF" ) + config_args+=( "-DTpetra_INST_SERIAL:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_DLlib:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_QT:BOOL=OFF" ) + config_args+=( "-DTPL_ENABLE_MPI:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_BLAS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_LAPACK:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_METIS:BOOL=ON" ) + config_args+=( "-DTPL_ENABLE_ParMETIS:BOOL=ON" ) + config_args+=( "-DTPL_METIS_INCLUDE_DIRS:PATH=$METIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_METIS_LIBRARIES:PATH=$METIS_LIBRARIES" ) + config_args+=( "-DTPL_ParMETIS_INCLUDE_DIRS:PATH=$PARMETIS_INCLUDE_DIRS" ) + config_args+=( "-DTPL_ParMETIS_LIBRARIES:PATH=$PARMETIS_LIBRARIES" ) + config_args+=( "-DTrilinos_ENABLE_SEACAS:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_OpenMP:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Amesos2:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_AztecOO:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Belos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Epetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_EpetraExt:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Galeri:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Ifpack:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Isorropia:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_ML:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_MueLu:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_NOX:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Optika:BOOL=OFF" ) + config_args+=( "-DTrilinos_ENABLE_Teuchos:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_Tpetra:BOOL=ON" ) + config_args+=( "-DTrilinos_ENABLE_TESTS:BOOL=OFF" ) + fi + + cmake \ + -D CMAKE_BUILD_TYPE:STRING=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ + -DCMAKE_CXX_FLAGS:STRING="-DMPICH_IGNORE_CXX_SEEK -fPIC" \ + -DCMAKE_C_FLAGS:STRING="-DMPICH_IGNORE_CXX_SEEK -fPIC" \ + -DCMAKE_CXX_STANDARD:STRING="17" \ + -DCMAKE_Fortran_FLAGS:STRING="-fPIC" \ + "${config_args[@]}" \ + "${SRC_DIR}" || exit 1 +} + +pbuild::install_docfiles Copyright.txt LICENSE README RELEASE_NOTES + diff --git a/HDF5/trilinos/files/config.yaml b/HDF5/trilinos/files/config.yaml new file mode 100644 index 0000000..c253e01 --- /dev/null +++ b/HDF5/trilinos/files/config.yaml @@ -0,0 +1,33 @@ +--- +# yamllint disable rule:line-length +format: 1 +trilinos: + defaults: + group: HDF5 + overlay: base + relstage: stable + systems: [rhel7, rhel8, rhel9] + urls: + - url: https://github.com/trilinos/Trilinos/archive/refs/tags/$P-release-${V_MAJOR}-${V_MINOR}-${V_PATCHLVL}.tar.gz + name: $P-${V_PKG}.tar.gz + + versions: + 14.4.0: + variants: + - relstage: unstable + overlay: devel + group_deps: + compiler: {gcc: [10.4.0]} + mpi: {openmpi: [4.1.5]} + hdf5: {hdf5: [1.10.8]} + build_requires: [cmake/3.25.2, OpenBLAS/0.3.23, parmetis/4.0.3] + + 12.12.1: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {openmpi: [1.10.7, 2.1.2, 3.0.0]} + hdf5: {hdf5: [1.10.1]} + build_requires: [hdf5/1.10.1, cmake/3.6.3, OpenBLAS/0.2.20, parmetis/4.0.3] diff --git a/HDF5/trilinos/files/variants.merlin6 b/HDF5/trilinos/files/variants.merlin6 index 1747888..8da63f5 100644 --- a/HDF5/trilinos/files/variants.merlin6 +++ b/HDF5/trilinos/files/variants.merlin6 @@ -1,2 +1,6 @@ -trilinos/12.18.1_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm hdf5/1.10.6_slurm b:cmake/3.15.5 b:OpenBLAS/0.3.10 b:parmetis/4.0.3_slurm -trilinos/13.0.1_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm hdf5/1.10.8_slurm b:cmake/3.20.5 b:OpenBLAS/0.3.21 b:parmetis/4.0.3_slurm +trilinos/12.18.1_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm hdf5/1.10.6_slurm b:cmake/3.15.5 b:OpenBLAS/0.3.10 b:parmetis/4.0.3_slurm +trilinos/13.0.1_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm hdf5/1.10.7_slurm b:cmake/3.20.5 b:OpenBLAS/0.3.15 b:parmetis/4.0.3_slurm +trilinos/13.0.1_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm hdf5/1.10.8_slurm b:cmake/3.20.5 b:OpenBLAS/0.3.21 b:parmetis/4.0.3_slurm +trilinos/13.4.0_slurm unstable gcc/10.3.0 openmpi/4.0.5-1_slurm hdf5/1.10.7_slurm b:cmake/3.20.5 b:OpenBLAS/0.3.15 b:parmetis/4.0.3_slurm +trilinos/13.4.0_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm hdf5/1.10.8_slurm b:cmake/3.20.5 b:OpenBLAS/0.3.23 b:parmetis/4.0.3_slurm + diff --git a/HDF5/trilinos/files/variants.rhel6 b/HDF5/trilinos/files/variants.rhel6 index ee61ecc..2dac5f5 100644 --- a/HDF5/trilinos/files/variants.rhel6 +++ b/HDF5/trilinos/files/variants.rhel6 @@ -18,4 +18,5 @@ trilinos/12.18.1 stable gcc/{7.5.0,8.4.0,9.3.0,10.1.0} openmpi/3.1.6 hdf5/1.10 trilinos/13.0.1 stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 hdf5/1.10.7 b:cmake/3.15.5 b:OpenBLAS/0.3.15 b:parmetis/4.0.3 trilinos/13.0.1 stable gcc/10.4.0 openmpi/4.1.4 hdf5/1.10.8 b:cmake/3.15.5 b:OpenBLAS/0.3.21 b:parmetis/4.0.3 +trilinos/13.4.0 unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0} openmpi/4.1.5 hdf5/1.10.8 b:cmake/3.20.5 b:OpenBLAS/0.3.23 b:parmetis/4.0.3 diff --git a/Libraries/hwloc/build-xml b/Libraries/hwloc/build-xml new file mode 100755 index 0000000..f2b8b67 --- /dev/null +++ b/Libraries/hwloc/build-xml @@ -0,0 +1,8 @@ +#!/usr/bin/env modbuild + +pbuild::pre_configure() { + pbuild::add_configure_args "--enable-netloc" + pbuild::add_configure_args "--enable-plugins" +} + + diff --git a/Libraries/hwloc/files/config.yaml b/Libraries/hwloc/files/config.yaml new file mode 100644 index 0000000..418f57f --- /dev/null +++ b/Libraries/hwloc/files/config.yaml @@ -0,0 +1,20 @@ +format: 1 +hwloc: + defaults: + group: Libraries + relstage: stable + docfiles: [README, AUTHORS, NEWS, COPYING, VERSION] + urls: + - url: https://download.open-mpi.org/release/${P}/v${V_MAJOR}.${V_MINOR}/${P}-${V}.tar.gz + shasums: + hwloc-2.7.1.tar.gz: 4cb0a781ed980b03ad8c48beb57407aa67c4b908e45722954b9730379bc7f6d5 + hwloc-2.9.1.tar.gz: a440e2299f7451dc10a57ddbfa3f116c2a6c4be1bb97c663edd3b9c7b3b3b4cf + versions: + 2.7.1: + config: + relstage: stable + build_requires: cuda/11.5.1 + 2.9.1: + config: + relstage: stable + build_requires: cuda/12.1.1 diff --git a/Libraries/hwloc/files/variants.merlin6 b/Libraries/hwloc/files/variants.merlin6 index e754fa1..919640f 100644 --- a/Libraries/hwloc/files/variants.merlin6 +++ b/Libraries/hwloc/files/variants.merlin6 @@ -1,2 +1,2 @@ -hwloc/2.7.1 unstable b:cuda/11.5.1 -hwloc/2.9.1 unstable b:cuda/12.1.1 +hwloc/2.7.1 stable b:cuda/11.5.1 +hwloc/2.9.1 stable b:cuda/12.1.1 diff --git a/Libraries/libfabric/build-xml b/Libraries/libfabric/build-xml new file mode 100755 index 0000000..6e021f3 --- /dev/null +++ b/Libraries/libfabric/build-xml @@ -0,0 +1,2 @@ +#!/usr/bin/env modbuild + diff --git a/Libraries/libfabric/files/config.yaml b/Libraries/libfabric/files/config.yaml new file mode 100644 index 0000000..981efdc --- /dev/null +++ b/Libraries/libfabric/files/config.yaml @@ -0,0 +1,20 @@ +format: 1 +libfabric: + defaults: + group: Libraries + relstage: stable + compile_in_sourcetree: yes + docfiles: + - AUTHORS + - README + - COPYING + - NEWS.md + urls: + - url: https://github.com/ofiwg/libfabric/releases/download/v$V/$P-$V.tar.bz2 + shasums: + libfabric-1.13.0.tar.bz2: 0c68264ae18de5c31857724c754023351614330bd61a50b40cef2b5e8f63ab28 + libfabric-1.18.0.tar.bz2: 912fb7c7b3cf2a91140520962b004a1c5d2f39184adbbd98ae5919b0178afd43 + versions: + 1.18.0: + config: + build_requires: [gcc/10.4.0] diff --git a/Libraries/libfabric/files/variants b/Libraries/libfabric/files/variants index ab94958..4f4731e 100644 --- a/Libraries/libfabric/files/variants +++ b/Libraries/libfabric/files/variants @@ -1 +1 @@ -libfabric/1.18.0 unstable b:gcc/10.4.0 +libfabric/1.18.0 stable b:gcc/10.4.0 diff --git a/Libraries/libidn2/build b/Libraries/libidn2/build new file mode 100755 index 0000000..6e021f3 --- /dev/null +++ b/Libraries/libidn2/build @@ -0,0 +1,2 @@ +#!/usr/bin/env modbuild + diff --git a/Libraries/libidn2/files/config.yaml b/Libraries/libidn2/files/config.yaml new file mode 100644 index 0000000..3cbfa1c --- /dev/null +++ b/Libraries/libidn2/files/config.yaml @@ -0,0 +1,26 @@ +format: 1 +libidn2: + defaults: + group: Libraries + relstage: stable + docfiles: + - ABOUT-NLS + - AUTHORS + - CONTRIBUTING.md + - COPYING + - COPYING.LESSERv3 + - COPYING.unicode + - COPYINGv2 + - ChangeLog + - INSTALL + - NEWS + - README + - README.md + urls: + - url: https://ftp.gnu.org/gnu/libidn/libidn2-${V_PKG}.tar.gz + shasums: + libidn2-2.3.4.tar.gz: 93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f + versions: + 2.3.4: + config: + relstage: unstable diff --git a/Libraries/libidn2/files/variants b/Libraries/libidn2/files/variants new file mode 100644 index 0000000..a1fcd25 --- /dev/null +++ b/Libraries/libidn2/files/variants @@ -0,0 +1 @@ +libpng/1.6.34 unstable diff --git a/Libraries/libidn2/modulefile b/Libraries/libidn2/modulefile new file mode 100644 index 0000000..8a52e93 --- /dev/null +++ b/Libraries/libidn2/modulefile @@ -0,0 +1,13 @@ +#%Module1.0 + +module-whatis "PNG reference library" +module-url "http://www.libpng.org/pub/png/libpng.html" +module-license "Open source" +module-maintainer "Achim Gsell " + +module-help " +libpng is the official PNG reference library. It supports almost all +PNG features, is extensible, and has been extensively tested for over +23 years. +" + diff --git a/Libraries/nettle/build-xml b/Libraries/nettle/build-xml new file mode 100755 index 0000000..a99bec2 --- /dev/null +++ b/Libraries/nettle/build-xml @@ -0,0 +1,6 @@ +#!/usr/bin/env modbuild + +# use system gcc to compile +declare -rx CC=gcc + +pbuild::add_configure_args "--disable-shared" diff --git a/Libraries/nettle/files/config.yaml b/Libraries/nettle/files/config.yaml new file mode 100644 index 0000000..ad0a590 --- /dev/null +++ b/Libraries/nettle/files/config.yaml @@ -0,0 +1,16 @@ +format: 1 +nettle: + defaults: + group: Libraries + relstage: stable + docfiles: [] + urls: + - url: https://ftp.gnu.org/gnu/nettle/nettle-${V_PKG}.tar.gz + shasums: + nettle-3.9.1.tar.gz: ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3 + versions: + 3.9.1: + config: + relstage: unstable + build_requires: [gmp/6.1.2-1] + diff --git a/Libraries/pmix/build-xml b/Libraries/pmix/build-xml new file mode 100755 index 0000000..1ebd0fd --- /dev/null +++ b/Libraries/pmix/build-xml @@ -0,0 +1,24 @@ +#!/usr/bin/env modbuild + +pbuild::pre_configure() { + if [[ -v HWLOC_PREFIX ]]; then + pbuild::add_configure_args "--with-hwloc=${HWLOC_PREFIX}" + fi + + if [[ -v LIBEVENT_PREFIX ]]; then + pbuild::add_configure_args "--with-libevent=${LIBEVENT_PREFIX}" + fi + + if [[ -v INTEL_VERSION ]]; then + pbuild::add_configure_args "CC=icc" + pbuild::add_configure_args "CXX=icpc" + pbuild::add_configure_args "FC=ifort" + pbuild::add_configure_args "F77=ifort" + pbuild::add_configure_args "F90=ifort" + # pbuild::add_configure_args "LDFLAGS=-Wc,-static-intel" + fi + + # pbuild::add_configure_args "--enable-pmi-backward-compatibility" + pbuild::add_configure_args "--enable-shared" + pbuild::add_configure_args "--enable-static" +} diff --git a/Libraries/pmix/files/config.yaml b/Libraries/pmix/files/config.yaml new file mode 100644 index 0000000..4585449 --- /dev/null +++ b/Libraries/pmix/files/config.yaml @@ -0,0 +1,48 @@ +format: 1 +pmix: + defaults: + group: Libraries + relstage: stable + compile_in_sourcetree: yes + docfiles: + - AUTHORS + - README.md + - LICENSE + - NEWS + - VERSION + urls: + - url: "https://github.com/openpmix/openpmix/releases/download/v${V_PKG}/$P-${V_PKG}.tar.gz" + shasums: + pmix-1.2.5.tar.gz: d7337601c5b985743e6b6f79ec1a34dfc2aefbb2d04d40b2c0d5bd7100d268ed + pmix-2.2.5.tar.gz: db24480fa5be080e1ddcb273098992b69f8f21e4cd6b8df1682e836b303a2a6f + pmix-3.2.3.tar.gz: 1325a1355d0794196bb47665053fdbc588f9183aa5385f3581b668427316306e + pmix-4.1.2.tar.gz: a7a6d5b322c261999ce0a6395c0ac7dc359c0ff61380ed4c6935430fb9f5f6e6 + pmix-4.2.3.tar.gz: fd45e18e483e42089d4059df9753d9be3cfb68297a05981b1d937e09f7716d5a + pmix-4.2.4.tar.gz: f1fe5fe817ac447ce8d3d88486a1c0d22227efd186e11062aa1f7b0f093089c6 + versions: + 1.2.5: + config: + relstage: removed + docfiles: + - README + - LICENSE + - NEWS + - VERSION + 2.2.5;3.2.3: + config: + relstage: unstable + 4.1.2: + config: + relstage: unstable + runtime_deps: [libevent/2.1.12] + build_requires: [hwloc/2.7.1] + 4.2.3: + config: + relstage: unstable + runtime_deps: [libevent/2.1.12] + build_requires: [hwloc/2.9.1] + 4.2.4: + config: + relstage: stable + runtime_deps: [libevent/2.1.12] + build_requires: [gcc/10.4.0, hwloc/2.9.1] diff --git a/Libraries/pmix/files/variants.merlin6 b/Libraries/pmix/files/variants.merlin6 index beb6bdd..def96fc 100644 --- a/Libraries/pmix/files/variants.merlin6 +++ b/Libraries/pmix/files/variants.merlin6 @@ -3,4 +3,4 @@ pmix/2.2.5 unstable libevent/2.1.12 pmix/3.2.3 unstable libevent/2.1.12 pmix/4.1.2 unstable libevent/2.1.12 b:hwloc/2.7.1 pmix/4.2.3 unstable libevent/2.1.12 b:hwloc/2.9.1 -pmix/4.2.4 unstable b:gcc/10.4.0 libevent/2.1.12 b:hwloc/2.9.1 +pmix/4.2.4 stable b:gcc/10.4.0 libevent/2.1.12 b:hwloc/2.9.1 diff --git a/MPI/MITHRA/build b/MPI/MITHRA/build index b0012bb..7cc7bdb 100755 --- a/MPI/MITHRA/build +++ b/MPI/MITHRA/build @@ -26,6 +26,9 @@ pbuild::configure() { : } +pbuild::install() { + make -e PREFIX="${PREFIX}" install +} # Local Variables: # mode: sh # sh-basic-offset: 8 diff --git a/MPI/MITHRA/files/variants.rhel6 b/MPI/MITHRA/files/variants.rhel6 index 6e1c60b..5fe91c4 100644 --- a/MPI/MITHRA/files/variants.rhel6 +++ b/MPI/MITHRA/files/variants.rhel6 @@ -2,3 +2,4 @@ MITHRA/2020.8.27 deprecated gcc/8.4.0 openmpi/3.1.6 MITHRA/2.0 stable gcc/8.4.0 openmpi/3.1.6 MITHRA/2.0 stable gcc/10.3.0 openmpi/4.0.5 MITHRA/2.0 stable gcc/10.4.0 openmpi/4.1.4 +MITHRA/2.0 unstable gcc/10.4.0 openmpi/4.1.5 diff --git a/MPI/MITHRA/files/variants.slurm b/MPI/MITHRA/files/variants.slurm index 20035f6..827ce72 100644 --- a/MPI/MITHRA/files/variants.slurm +++ b/MPI/MITHRA/files/variants.slurm @@ -2,3 +2,4 @@ MITHRA/2020.8.27_slurm deprecated gcc/8.4.0 openmpi/3.1.6_slurm MITHRA/2.0_slurm stable gcc/8.4.0 openmpi/3.1.6_slurm MITHRA/2.0_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm MITHRA/2.0_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm +MITHRA/2.0_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm diff --git a/MPI/amrex/build b/MPI/amrex/build index 5c04f24..a1e395d 100755 --- a/MPI/amrex/build +++ b/MPI/amrex/build @@ -10,7 +10,7 @@ pbuild::install_docfiles 'license.txt' pbuild::install_docfiles 'README.txt' pbuild::pre_prep() { - echo "OPENMPI_VERSION=${OPENMPI_VEERSION}" 1>&2 + echo "OPENMPI_VERSION=${OPENMPI_VERSION}" 1>&2 if pbuild::version_gt "${OPENMPI_VERSION}" '4.0.0'; then pbuild::add_patch "files/AMReX_ParallelDescriptor.patch" fi diff --git a/MPI/amrex/files/variants.merlin6 b/MPI/amrex/files/variants.merlin6 index c2f93ac..78772a7 100644 --- a/MPI/amrex/files/variants.merlin6 +++ b/MPI/amrex/files/variants.merlin6 @@ -1,4 +1,5 @@ amrex/18.07_3d_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm b:cmake/3.15.5 amrex/18.07_3d_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm b:cmake/3.20.5 amrex/18.07_3d_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm b:cmake/3.20.5 +amrex/18.07.1_3d_slurm unstable gcc/{10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm b:cmake/3.20.5 diff --git a/MPI/amrex/files/variants.rhel6 b/MPI/amrex/files/variants.rhel6 index 39b3be3..01343a8 100644 --- a/MPI/amrex/files/variants.rhel6 +++ b/MPI/amrex/files/variants.rhel6 @@ -17,4 +17,5 @@ amrex/18.07_3d stable gcc/{7.3.0,8.2.0} mpich/3.2.1 b:cmake/3.9.6 amrex/18.07_3d stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6 b:cmake/3.15.5 amrex/18.07_3d stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 b:cmake/3.15.5 amrex/18.07_3d stable gcc/10.4.0 openmpi/4.1.4 b:cmake/3.15.5 +amrex/18.07.1_3d unstable gcc/10.4.0 openmpi/4.1.5 b:cmake/3.15.5 diff --git a/MPI/boost/files/variants.merlin6 b/MPI/boost/files/variants.merlin6 index c90fec5..e3c4b2a 100644 --- a/MPI/boost/files/variants.merlin6 +++ b/MPI/boost/files/variants.merlin6 @@ -9,3 +9,6 @@ boost/1.76.0_slurm stable gcc/{10.2.0,10.3.0} openmpi/4.0.5-1_slur boost/1.79.0_slurm stable gcc/{9.3.0,10.3.0} openmpi/4.1.3_slurm b:zlib/1.2.11 boost/1.79.0_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm b:zlib/1.2.13 boost/1.79.0_slurm unstable intel/22.1 impi/22.1 b:zlib/1.2.11 + +boost/1.81.0_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm b:zlib/1.2.13 +boost/1.82.0_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm b:zlib/1.2.13 diff --git a/MPI/boost/files/variants.rhel6 b/MPI/boost/files/variants.rhel6 index 8bd4f52..b8bbc04 100644 --- a/MPI/boost/files/variants.rhel6 +++ b/MPI/boost/files/variants.rhel6 @@ -14,3 +14,4 @@ boost/1.73.0 stable gcc/{7.5.0,8.4.0,9.3.0,10.1.0} openmpi/3.1.6 b:zlib/1.2.11 boost/1.76.0 stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 b:zlib/1.2.11 boost/1.79.0 stable gcc/10.4.0 openmpi/4.1.4 b:zlib/1.2.13 +boost/1.82.0 unstable gcc/10.4.0 openmpi/4.1.5 b:zlib/1.2.13 diff --git a/MPI/fftw/files/variants.merlin6 b/MPI/fftw/files/variants.merlin6 index 30dc0e0..7a4a719 100644 --- a/MPI/fftw/files/variants.merlin6 +++ b/MPI/fftw/files/variants.merlin6 @@ -7,4 +7,4 @@ fftw/3.3.9_merlin6 unstable gcc/{8.4.0,9.3.0,10.2.0,10.3.0,11.2.0} openmpi/4.0.5 fftw/3.3.10 unstable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 fftw/3.3.10_merlin6 unstable gcc/{8.4.0,9.3.0,10.2.0,10.3.0,11.2.0} openmpi/4.0.5-1_slurm -fftw/3.3.10_merlin6 unstable gcc/10.4.0 openmpi/4.1.5_slurm +fftw/3.3.10_merlin6 unstable gcc/{10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm diff --git a/MPI/hdf5/build-yaml b/MPI/hdf5/build-yaml new file mode 100755 index 0000000..188d8f6 --- /dev/null +++ b/MPI/hdf5/build-yaml @@ -0,0 +1,56 @@ +#!/usr/bin/env modbuild + +pbuild::install_docfiles ACKNOWLEDGMENTS +pbuild::install_docfiles COPYING +pbuild::install_docfiles MANIFEST +pbuild::install_docfiles README* + +pbuild::pre_configure() { + pbuild::add_configure_args "CC=${MPICC}" + pbuild::add_configure_args "CXX=${MPICXX}" + + pbuild::add_configure_args "--enable-shared" + pbuild::add_configure_args "--enable-parallel" + pbuild::add_configure_args "--enable-cxx" + pbuild::add_configure_args "--enable-unsupported" + #pbuild::add_configure_args "--enable-threadsafe" + pbuild::add_configure_args "--with-pic" + + local enable_fortran='yes' + + case "${COMPILER}" in + clang-macos ) + enable_fortran='no' + # we do not have Fortran in Xcode + ;; + pgi ) + # PGI uses GCC's include files, some object files and + # the STL implementation! + # The PGI C pre-processor is broken and doesn't work + # for HDF5. We use the pre-processor of the underlying + # GCC... + # This is a bit hackish! + # + # The following eval sets GCCDIR! Which is something + # like: + # /opt/psi/Programming/gcc/7.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/7.3.0 + # + eval $(pgcc -show 2>/dev/null | \ + awk '/^GCCDIR[[:space:]]*=/{gsub(/[[:space:]]/,""); print $0}') + pbuild::add_configure_args "CPP=${GCCDIR%%/..*}/cpp" + pbuild::add_configure_args "CFLAGS=-fPIC" + pbuild::add_configure_args "CXXFLAGS=-fPIC" + pbuild::add_configure_args "FCFLAGS=-fPIC" + ;; + esac + + if [[ "${enable_fortran}" == 'yes' ]]; then + pbuild::add_configure_args "F77=${MPIF77}" + pbuild::add_configure_args "F90=${MPIF90}" + pbuild::add_configure_args "FC=${MPIFC}" + pbuild::add_configure_args "FORTRAN=${MPIFORTRAN}" + pbuild::add_configure_args "--enable-fortran" + fi + +} + diff --git a/MPI/hdf5/files/config.yaml b/MPI/hdf5/files/config.yaml new file mode 100644 index 0000000..45c1ab5 --- /dev/null +++ b/MPI/hdf5/files/config.yaml @@ -0,0 +1,287 @@ +--- +# yamllint disable rule:line-length +format: 1 +hdf5: + defaults: + group: MPI + overlay: base + relstage: stable + systems: [rhel7, rhel8, rhel9] + urls: + - url: https://support.hdfgroup.org/ftp/HDF5/releases/$P-${V_MAJOR}.${V_MINOR}/$P-${V_PKG}/src/$P-${V_PKG}.tar.bz2 + shasums: + hdf5-1.8.10-patch1.tar.bz2: 292afb3615ad9e68f4d5d18ebb11e4a73f2aece39f2da3875a457ff1e109fc41 + hdf5-1.8.12.tar.bz2: 10a369a4fc207bb09245f57c758e587420e06dfc0e445e337a58b0848b75a949 + hdf5-1.8.13.tar.bz2: c2f5a412107aba6f99fd7a4a9db6ce5f5fc8171ec931472784e5839d26aa17ef + hdf5-1.8.14.tar.bz2: 53722cb9f5977af2908f92fc1a3f8c597800a5cb448cfe5c75060d6335bb9bab + hdf5-1.8.15-patch1.tar.bz2: a5afc630c4443547fff15e9637b5b10404adbed4c00206d89517d32d6668fb32 + hdf5-1.8.15.1.tar.bz2: 289307fd70cef6715e0a28371635c8038153a4f25069319e34b0bc675a23e8ed + hdf5-1.8.16.tar.bz2: 13aaae5ba10b70749ee1718816a4b4bfead897c2fcb72c24176e759aec4598c6 + hdf5-1.8.17.tar.bz2: fc35dd8fd8d398de6b525b27cc111c21fc79795ad6db1b1f12cb15ed1ee8486a + hdf5-1.8.18.tar.bz2: 01c6deadf4211f86922400da82c7a8b5b50dc8fc1ce0b5912de3066af316a48c + hdf5-1.8.19.tar.bz2: 59c03816105d57990329537ad1049ba22c2b8afe1890085f0c022b75f1727238 + hdf5-1.8.20.tar.bz2: a4f2db7e0a078aa324f64e0216a80731731f73025367fa94d158c9b1d3fbdf6f + hdf5-1.8.21.tar.bz2: e5b1b1dee44a64b795a91c3321ab7196d9e0871fe50d42969761794e3899f40d + hdf5-1.10.0.tar.bz2: 31ff70dc7c7317066ab3bda3eec4498a8b099c69c1271b008ed3df388e743d28 + hdf5-1.10.1.tar.bz2: 9c5ce1e33d2463fb1a42dd04daacbc22104e57676e2204e3d66b1ef54b88ebf2 + hdf5-1.10.2.tar.bz2: 1cad5b7bfdf128dfc53cd16fba48f6e7ae4e93c75c371d9ec8dfc4df0c1fcb71 + hdf5-1.10.3.tar.bz2: c65cdcce4724a57fd3f8da9f0d109b497be30092acb9fac634d1291190d905a9 + hdf5-1.10.4.tar.bz2: 1267ff06aaedc04ca25f7c6026687ea2884b837043431195f153401d942b28df + hdf5-1.10.5.tar.bz2: 68d6ea8843d2a106ec6a7828564c1689c7a85714a35d8efafa2fee20ca366f44 + hdf5-1.10.6.tar.bz2: 09d6301901685201bb272a73e21c98f2bf7e044765107200b01089104a47c3bd + hdf5-1.10.6_slurm.tar.bz2: d5a89e26beae0bc03ad18a0b0d1d3d75f87c32047879d25da11970cb5c4662a3 + hdf5-1.10.7.tar.bz2: 02018fac7e5efc496d9539a303cfb41924a5dadffab05df9812096e273efa55e + hdf5-1.10.8.tar.bz2: 66ec544b195a4cb9f6ffed034fd82e52429d6112747c2996ab69853f606e546b + hdf5-1.10.11.tar.bz2: 0afc77da5c46217709475bbefbca91c0cb6f1ea628ccd8c36196cf6c5a4de304 + hdf5-1.12.0.tar.bz2: 97906268640a6e9ce0cde703d5a71c9ac3092eded729591279bf2e3ca9765f61 + hdf5-1.12.2.tar.bz2: 3016ea56a175d2ca7f2568c8016420f7a2aad8f95e214fe7fa5485f4b80fbe51 + hdf5-1.13.1.tar.bz2: e16973ec893e2d5aa9c8dc73e196db9b99a605578e7317b421c713936f8bf57d + + versions: + 1.8.12: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.7.4, 4.8.3, 4.8.4, 4.9.2]} + mpi: {openmpi: [1.6.5, 1.8.2, 1.8.4]} + - group_deps: + compiler: {gcc: [4.8.2]} + mpi: {openmpi: [1.6.5]} + - group_deps: + compiler: {gcc: [4.7.4, 4.8.4, gcc/4.9.2, 5.1.0], intel: [15.2]} + mpit: {mpich: [3.1.4]} + - group_deps: + compiler: {gcc: [4.8.5]} + mpi: {openmpi: [1.8.8]} + - group_deps: + compiler: {gcc: [5.1.0], intel: [15.2]} + mpi: {openmpi: [1.6.5]} + - group_deps: + compiler: {gcc: [5.1.0], intel: [15.2, 15.3]} + mpi: {openmpi: [1.8.4]} + 1.8.13: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.7.4, 4.8.3, 4.8.4]} + mpi: {openmpi: [1.6.5, 1.8.2, 1.8.4]} + 1.8.14: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.7.4, 4.8.3, 4.8.4, 4.9.2]} + mpi: {openmpi: [1.6.5, 1.8.2, 1.8.4]} + - group_deps: + compiler: {gcc: [4.7.4, 4.8.4, 4.9.2, 5.1.0], intel: [15.2]} + mpi: {mpich: [3.1.4]} + - group_deps: + compiler: {gcc: [5.1.0], intel: [15.2]} + mpi: {openmpi: [1.6.5]} + - group_deps: + compiler: {gcc: [5.1.0], intel: [15.2, 15.3]} + mpi: {openmpi: [1.8.4]} + + 1.8.15-patch1: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.7.4, 4.8.4, 4.9.2, 5.1.0]} + mpi: {mpich: [3.1.4], openmpi: [1.6.5, 1.8.4]} + - group_deps: + compiler: {gcc: [4.8.5, 4.9.3, 5.2.0]} + mpi: {openmpi: [1.10.0]} + - group_deps: + compiler: {intel: [15.3]} + mpi: {openmpi: [1.6.5]} + + 1.8.15.1: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.9.3, 5.2.0]} + mpi: {openmpi: [1.8.8]} + + 1.8.16: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.8.5, 4.9.3]} + mpi: {openmpi: [1.8.8]} + - group_deps: + compiler: {gcc: [4.9.2]} + mpi: {openmpi: [1.8.4]} + - group_deps: + compiler: {gcc: [4.8.5, 5.3.0, 6.1.0]} + mpi: {openmpi: [1.10.2]} + + 1.8.17: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.8.5, 4.9.3]} + mpi: {openmpi: [1.8.8]} + - group_deps: + compiler: {gcc: [4.8.5, 5.3.0, 6.1.0, 6.2.0]} + mpi: {openmpi: [1.10.2]} + - group_deps: + compiler: {gcc: [4.8.5, 4.9.4, 5.4.0, 6.2.0]} + mpi: {openmpi: [1.10.4]} + + 1.8.18: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.8.5, 4.9.4, 5.4.0, 6.2.0]} + mpi: {openmpi: [1.10.4]} + + 1.8.20: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.8.5]} + mpi: {openmpi: [1.10.4]} + + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {openmpi: [1.10.7, 2.1.5, 3.1.3], mpich: [3.2.1]} + + - group_deps: + compiler: {intel: [18.4]} + mpi: {impi: [18.4]} + + 1.10.0: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [4.8.5, 5.3.0, 6.1.0]} + mpi: {openmpi: [1.10.2]} + + 1.10.1: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {openmpi: [1.10.7, 2.1.2, 3.0.0, 3.0.1]} + - group_deps: + compiler: {intel: [17.4]} + mpi: {openmpi: [1.10.7, 2.1.2, 3.0.0]} + - group_deps: + compiler: {pgi: [18.5]} + mpi: {pgi-mpi: [18.5]} + + 1.10.2: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {openmpi: [3.0.1]} + + 1.10.3: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {openmpi: [3.1.2]} + - group_deps: + compiler: {intel: [17.4]} + mpi: {intel-mpi: [17.4]} + + 1.10.4: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [5.5.0, 7.3.0, 8.2.0]} + mpi: {openmpi: [3.1.3]} + - group_deps: + compiler: {gcc: [7.3.0]} + mpi: {mpich: [3.3]} + + 1.10.5: + config: + relstage: deprecated + variants: + - group_deps: + compiler: {gcc: [7.4.0, 8.3.0]} + mpi: {openmpi: [3.1.4]} + + 1.10.6: + variants: + - group_deps: + compiler: {gcc: [7.5.0, 8.4.0, 9.3.0, 10.1.0]} + mpi: {openmpi: [3.1.6]} + + 1.10.6_slurm: + variants: + - group_deps: + compiler: {gcc: [7.5.0, 8.4.0, 9.3.0]} + mpi: {openmpi: [3.1.6_slurm]} + + 1.10.7: + variants: + - group_deps: + compiler: {gcc: [7.5.0, 8.4.0, 9.3.0, 10.2.0, 10.3.0]} + mpi: {openmpi: [4.0.5]} + + 1.10.7_slurm: + variants: + - group_deps: + compiler: {gcc: [10.3.0]} + mpi: {openmpi: [4.0.5-1_slurm]} + + 1.10.8: + variants: + - group_deps: + compiler: {gcc: [10.4.0]} + mpi: {openmpi: [4.1.4]} + - relstage: unstable + group_deps: + compiler: {gcc: [10.4.0]} + mpi: {openmpi: [4.1.5]} + + 1.10.8_slurm: + variants: + - group_deps: + compiler: {gcc: [10.4.0]} + mpi: {openmpi: [4.1.4_slurm]} + - relstage: unstable + group_deps: + compiler: {gcc: [9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0]} + mpi: {openmpi: [4.1.5_slurm]} + + 1.10.11: + variants: + - relstage: unstable + group_deps: + compiler: {gcc: [12.3.0]} + mpi: {openmpi: [4.1.5]} + + 1.12.0: + variants: + - group_deps: + compiler: {gcc: [7.5.0, 8.4.0, 9.3.0, 10.2.0]} + mpi: {openmpi: [4.0.5]} + - relstage: unstable + group_deps: + compiler: {pgi: [21.5]} + mpi: {pgi-mpi: [21.5]} + + 1.13.1_slurm: + variants: + - relstage: unstable + group_deps: + compiler: {gcc: [11.2.0]} + mpi: {openmpi: [4.1.3_slurm]} diff --git a/MPI/hdf5/files/variants.merlin6 b/MPI/hdf5/files/variants.merlin6 index 675c4e5..b2a0a13 100644 --- a/MPI/hdf5/files/variants.merlin6 +++ b/MPI/hdf5/files/variants.merlin6 @@ -1,4 +1,5 @@ hdf5/1.10.6_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm hdf5/1.10.7_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm hdf5/1.10.8_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm +hdf5/1.10.8_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm hdf5/1.13.1_slurm unstable gcc/11.2.0 openmpi/4.1.3_slurm diff --git a/MPI/hdf5/files/variants.rhel6 b/MPI/hdf5/files/variants.rhel6 index 02b83bd..6b44112 100644 --- a/MPI/hdf5/files/variants.rhel6 +++ b/MPI/hdf5/files/variants.rhel6 @@ -60,5 +60,6 @@ hdf5/1.10.7 stable gcc/{7.5.0,8.4.0,9.3.0,10.2.0} openmpi/4.0.5 hdf5/1.10.7 stable gcc/10.3.0 openmpi/4.0.5 hdf5/1.10.8 stable gcc/10.4.0 openmpi/4.1.4 +hdf5/1.10.8 unstable gcc/10.4.0 openmpi/4.1.5 hdf5/1.12.0 stable gcc/{7.5.0,8.4.0,9.3.0,10.2.0} openmpi/4.0.5 diff --git a/MPI/parmetis/files/config.yaml b/MPI/parmetis/files/config.yaml new file mode 100644 index 0000000..ed6d400 --- /dev/null +++ b/MPI/parmetis/files/config.yaml @@ -0,0 +1,29 @@ +parmetis/3.2.0 deprecated gcc/{4.7.4,4.8.3,4.8.4,4.9.2} openmpi/{1.6.5,1.8.2,1.8.4} + +parmetis/3.2.0 deprecated gcc/{4.8.5,5.3.0,6.1.0,6.2.0} openmpi/1.10.2 + +parmetis/3.2.0 deprecated gcc/6.2.0 openmpi/{1.10.4,2.0.1} + +parmetis/3.2.0 deprecated gcc/7.3.0 openmpi/3.0.1 + +parmetis/3.2.0 deprecated intel/15.3 openmpi/1.8.4 + +parmetis/4.0.3 deprecated gcc/4.8.2 openmpi/1.6.5 b:cmake/3.4.1 +parmetis/4.0.3 deprecated gcc/{4.8.5,4.9.4,5.3.0,5.4.0,6.1.0,6.2.0} openmpi/1.10.2 b:cmake/3.4.1 + +parmetis/4.0.3 deprecated gcc/{4.8.5,4.9.4,5.4.0,6.2.0} openmpi/1.10.4 b:cmake/3.6.3 + +parmetis/4.0.3 deprecated gcc/6.2.0 openmpi/2.0.1 b:cmake/3.6.3 + +parmetis/4.0.3 deprecated gcc/7.3.0 openmpi/{1.10.7,2.1.2,3.0.0,3.0.1,3.1.2,3.1.3} b:cmake/3.6.3 +parmetis/4.0.3 deprecated gcc/7.4.0 openmpi/3.1.4 b:cmake/3.9.6 + +parmetis/4.0.3 deprecated intel/17.4 openmpi/{1.10.7,2.1.2,3.0.0} b:cmake/3.6.3 + +parmetis/4.0.3 stable gcc/7.3.0 mpich/3.3 b:cmake/3.9.6 + +parmetis/4.0.3 stable gcc/{7.5.0,8.4.0,9.3.0,10.1.0} openmpi/3.1.6 b:cmake/3.9.6 + +parmetis/4.0.3 stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 b:cmake/3.15.5 +parmetis/4.0.3 stable gcc/10.4.0 openmpi/4.1.4 b:cmake/3.15.5 +parmetis/4.0.3 unstable gcc/10.4.0 openmpi/4.1.5 b:cmake/3.15.5 diff --git a/MPI/parmetis/files/variants.merlin6 b/MPI/parmetis/files/variants.merlin6 index 4845c56..c2cb010 100644 --- a/MPI/parmetis/files/variants.merlin6 +++ b/MPI/parmetis/files/variants.merlin6 @@ -2,4 +2,5 @@ parmetis/4.0.3_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm b:cmake/ parmetis/4.0.3_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm b:cmake/3.20.5 parmetis/4.0.3_slurm stable gcc/10.4.0 openmpi/4.1.4_slurm b:cmake/3.20.5 +parmetis/4.0.3_slurm unstable gcc/{9.5.0,10.4.0,11.4.0,12.3.0,13.1.0} openmpi/4.1.5_slurm b:cmake/3.20.5 diff --git a/MPI/parmetis/files/variants.rhel6 b/MPI/parmetis/files/variants.rhel6 index 9ff9d6a..ed6d400 100644 --- a/MPI/parmetis/files/variants.rhel6 +++ b/MPI/parmetis/files/variants.rhel6 @@ -26,3 +26,4 @@ parmetis/4.0.3 stable gcc/{7.5.0,8.4.0,9.3.0,10.1.0} openmpi/3.1.6 b:cmake/3.9. parmetis/4.0.3 stable gcc/{7.5.0,8.4.0,9.3.0,10.3.0} openmpi/4.0.5 b:cmake/3.15.5 parmetis/4.0.3 stable gcc/10.4.0 openmpi/4.1.4 b:cmake/3.15.5 +parmetis/4.0.3 unstable gcc/10.4.0 openmpi/4.1.5 b:cmake/3.15.5 diff --git a/Programming/Python/build b/Programming/Python/build index 6b04a83..bace901 100755 --- a/Programming/Python/build +++ b/Programming/Python/build @@ -12,6 +12,8 @@ pbuild::set_sha256sum 'Python-3.7.4.tgz:d63e63e14e6d29e17490abbe6f7d17afb3db182d pbuild::add_to_group 'Programming' +pbuild::compile_in_sourcetree + pbuild::pre_configure() { local -a cflags=() local -a ldflags=() @@ -26,7 +28,7 @@ pbuild::pre_configure() { ldflags+=("-L${OPENSSL_LIBRARY_DIR}") else pbuild::add_configure_args "--with-openssl=${OPENSSL_DIR}" - pbuild::add_configure_args "--enable-optimizations" + #pbuild::add_configure_args "--enable-optimizations" fi pbuild::add_configure_args "CFLAGS=${cflags[*]}" pbuild::add_configure_args "LDFLAGS=${ldflags[*]}" @@ -39,12 +41,16 @@ pbuild::pre_configure_Linux() { } pbuild::post_install_Linux() { - install "${OPENSSL_LIBRARY_DIR}"/libcrypto.so.* "${PREFIX}/lib" - install "${OPENSSL_LIBRARY_DIR}"/libssl.so.* "${PREFIX}/lib" - install "${TCLTK_LIBRARY_DIR}"/libtcl*.so "${PREFIX}/lib" - install "${TCLTK_LIBRARY_DIR}"/libtk*.so "${PREFIX}/lib" - install "${XZ_LIBRARY_DIR}"/liblzma.so.* "${PREFIX}/lib" - install /usr/lib64/libffi.so.* "${PREFIX}/lib" + if version_le 3.9.10; then + install "${OPENSSL_LIBRARY_DIR}"/libcrypto.so.* "${PREFIX}/lib" + install "${OPENSSL_LIBRARY_DIR}"/libssl.so.* "${PREFIX}/lib" + install "${TCLTK_LIBRARY_DIR}"/libtcl*.so "${PREFIX}/lib" + install "${TCLTK_LIBRARY_DIR}"/libtk*.so "${PREFIX}/lib" + install "${XZ_LIBRARY_DIR}"/liblzma.so.* "${PREFIX}/lib" + install /usr/lib64/libffi.so.* "${PREFIX}/lib" + else + : + fi } pbuild::post_install() { @@ -88,6 +94,9 @@ pbuild::post_install() { std::info "Building virtualenv\n" pip${V_MAJOR} install virtualenv + + std::info "Building virtualenv\n" + pip${V_MAJOR} install ansible ansible-core==2.15.4 } diff --git a/Programming/Python/files/variants.rhel6 b/Programming/Python/files/variants.rhel6 index 5fe2089..3ac0bff 100644 --- a/Programming/Python/files/variants.rhel6 +++ b/Programming/Python/files/variants.rhel6 @@ -13,3 +13,5 @@ Python/3.8.4 deprecated Python/3.8.8 deprecated Python/3.8.12 stable Python/3.9.10 stable +Python/3.9.17 unstable b:openssl/1.1.1v b:TclTk/8.6.9 b:xz/5.2.4 +Python/3.9.18 unstable b:openssl/1.1.1w b:TclTk/8.6.9 b:xz/5.2.4 diff --git a/Programming/binutils/files/variants.rhel6 b/Programming/binutils/files/variants.rhel6 index dca4760..f0434ad 100644 --- a/Programming/binutils/files/variants.rhel6 +++ b/Programming/binutils/files/variants.rhel6 @@ -1,3 +1,4 @@ binutils/2.25 stable binutils/2.29 stable binutils/2.37 stable +binutils/2.41 unstable diff --git a/Programming/binutils/files/variants.rhel7 b/Programming/binutils/files/variants.rhel7 new file mode 120000 index 0000000..8b9b44c --- /dev/null +++ b/Programming/binutils/files/variants.rhel7 @@ -0,0 +1 @@ +variants.rhel6 \ No newline at end of file diff --git a/Programming/cmake/build-yaml b/Programming/cmake/build-yaml new file mode 100755 index 0000000..6d7e5da --- /dev/null +++ b/Programming/cmake/build-yaml @@ -0,0 +1,28 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "https://cmake.org/files/v${V_MAJOR}.${V_MINOR}/$P-$V.tar.gz" +pbuild::add_to_group 'Programming' + +declare bootstrap_flags='' + +pbuild::pre_configure() { + bootstrap_flags+='--system-curl' +} + +pbuild::configure() { + "${SRC_DIR}/bootstrap" --prefix="${PREFIX}" ${bootstrap_flags} --verbose +} + +pbuild::post_install_Linux() { + mkdir -p "${PREFIX}/libexec" + cp -v "${GCC_DIR}"/lib64/libgcc_s.so.* "${PREFIX}/libexec" + cp -v "${GCC_DIR}"/lib64/libstdc++.so.* "${PREFIX}/libexec" + chrpath -d /opt/psi/Programming/cmake/3.15.5/bin/ccmake + patchelf --set-rpath '$ORIGIN/../libexec' --force-rpath "${PREFIX}/bin/ccmake" + chrpath -d /opt/psi/Programming/cmake/3.15.5/bin/cmake + patchelf --set-rpath '$ORIGIN/../libexec' --force-rpath "${PREFIX}/bin/cmake" + chrpath -d /opt/psi/Programming/cmake/3.15.5/bin/cpack + patchelf --set-rpath '$ORIGIN/../libexec' --force-rpath "${PREFIX}/bin/cpack" + chrpath -d /opt/psi/Programming/cmake/3.15.5/bin/ctest + patchelf --set-rpath '$ORIGIN/../libexec' --force-rpath "${PREFIX}/bin/ctest" +} diff --git a/Programming/cmake/files/config.yaml b/Programming/cmake/files/config.yaml new file mode 100644 index 0000000..4beb6c5 --- /dev/null +++ b/Programming/cmake/files/config.yaml @@ -0,0 +1,42 @@ +format: 1 +cmake: + defaults: + overlay: base + relstage: stable + urls: + - url: https://cmake.org/files/v${V_MAJOR}.${V_MINOR}/$P-$V.tar.gz + + shasums: + cmake-2.8.12.2.tar.gz: 8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a120e5e + cmake-3.1.3.tar.gz: 45f4d3fa8a2f61cc092ae461aac4cac1bab4ac6706f98274ea7f314dd315c6d0 + cmake-3.3.2.tar.gz: e75a178d6ebf182b048ebfe6e0657c49f0dc109779170bad7ffcb17463f2fc22 + cmake-3.4.1.tar.gz: d41462bdd80dc37f0d5608167b354bb3af8c068eee640be04c907154c5c113e2 + cmake-3.6.3.tar.gz: 7d73ee4fae572eb2d7cd3feb48971aea903bb30a20ea5ae8b4da826d8ccad5fe + cmake-3.8.1.tar.gz: ce5d9161396e06501b00e52933783150a87c33080d4bdcef461b5b7fd24ac228 + cmake-3.9.6.tar.gz: 7410851a783a41b521214ad987bb534a7e4a65e059651a2514e6ebfc8f46b218 + cmake-3.10.2.tar.gz: 80d0faad4ab56de07aa21a7fc692c88c4ce6156d42b0579c6962004a70a3218b + cmake-3.10.3.tar.gz: 0c3a1dcf0be03e40cf4f341dda79c96ffb6c35ae35f2f911845b72dab3559cf8 + cmake-3.13.3.tar.gz: 665f905036b1f731a2a16f83fb298b1fb9d0f98c382625d023097151ad016b25 + cmake-3.14.0.tar.gz: aa76ba67b3c2af1946701f847073f4652af5cbd9f141f221c97af99127e75502 + cmake-3.15.5.tar.gz: fbdd7cef15c0ced06bb13024bfda0ecc0dedbcaaaa6b8a5d368c75255243beb4 + cmake-3.19.2.tar.gz: e3e0fd3b23b7fb13e1a856581078e0776ffa2df4e9d3164039c36d3315e0c7f0 + cmake-3.20.5.tar.gz: 12c8040ef5c6f1bc5b8868cede16bb7926c18980f59779e299ab52cbc6f15bb0 + cmake-3.23.2.tar.gz: f316b40053466f9a416adf981efda41b160ca859e97f6a484b447ea299ff26aa + cmake-3.25.2.tar.gz: c026f22cb931dd532f648f087d587f07a1843c6e66a3dfca4fb0ea21944ed33c + cmake-3.26.3.tar.gz: bbd8d39217509d163cb544a40d6428ac666ddc83e22905d3e52c925781f0f659 + + versions: + 2.8.12.2;3.1.3;3.3.2;3.4.1;3.6.3;3.9.6: + 3.8.1: + config: + relstage: removed + 3.10.3;3.13.3;3.14.0: + config: + build_requires: [gcc/7.3.0] + 3.15.5;3.19.2;3.20.5;3.23.2;3.25.2: + config: + build_requires: [gcc/7.3.0, patchelf/0.8.1] + 3.26.3: + config: + build_requires: [gcc/7.3.0, patchelf/0.8.1] + relstage: unstable \ No newline at end of file diff --git a/Programming/cmake/files/variants.yaml b/Programming/cmake/files/variants.yaml deleted file mode 100644 index fccae50..0000000 --- a/Programming/cmake/files/variants.yaml +++ /dev/null @@ -1,23 +0,0 @@ -overlay: base -relstage: stable -cmake/2.8.12.2: -cmake/3.1.3: -cmake/3.3.2: -cmake/3.4.1: -cmake/3.6.3: -cmake/3.9.6: -cmake/3.10.3: -- dependencies: b:gcc/7.3.0 -cmake/3.13.3: -- dependencies: b:gcc/7.3.0 -cmake/3.14.0: -- dependencies: b:gcc/7.3.0 -cmake/3.15.5: -- dependencies: b:gcc/7.3.0 b:patchelf/0.8.1 -cmake/3.19.2: -- dependencies: b:gcc/8.4.0 b:patchelf/0.8.1 -cmake/3.20.5: -- dependencies: b:gcc/8.4.0 b:patchelf/0.8.1 -cmake/3.23.2: -- dependencies: b:gcc/8.4.0 b:patchelf/0.8.1 - relstage: stable diff --git a/Tools/emacs/build-xml b/Tools/emacs/build-xml new file mode 100755 index 0000000..a853bc4 --- /dev/null +++ b/Tools/emacs/build-xml @@ -0,0 +1,34 @@ +#!/usr/bin/env modbuild + +CC='' +CXX='' +eval $(modulecmd bash use System) + +pbuild::pre_configure() { + case ${OS} in + Darwin ) + pbuild::add_configure_args '--with-ns' '--with-jpeg=no' + ;; + Linux ) + # with 24.5 configure complains about missing libjpeg even it + # is installed! + pbuild::add_configure_args '--with-jpeg=no' + ;; + *) + ;; + esac + install -m 0755 -d "${PREFIX}" +} + +pbuild::post_install() { + mkdir -p "${PREFIX}/bin" + install -m 0755 "${BUILDBLOCK_DIR}/Emacs" "${PREFIX}/bin" + install -m 0755 "${BUILDBLOCK_DIR}/Emacsclient" "${PREFIX}/bin" + #cp -a "${GNUTLS_LIBRARY_DIR}"/libgnutls.so.* "${PREFIX}/lib" + #cp -a "${NETTLE_LIBRARY_DIR}"/libnettle.so.* "${PREFIX}/lib" +} + +pbuild::post_install_Darwin() { + cp -a "${BUILD_DIR}/nextstep/Emacs.app" "${PREFIX}" +} + diff --git a/Tools/emacs/files/config.yaml b/Tools/emacs/files/config.yaml new file mode 100644 index 0000000..78ebdb8 --- /dev/null +++ b/Tools/emacs/files/config.yaml @@ -0,0 +1,16 @@ +format: 1 +emacs: + defaults: + group: Tools + relstage: stable + docfiles: + urls: + - url: https://ftp.gnu.org/gnu/emacs/$P-${V_PKG}.tar.xz + shasums: + emacs-29.1.tar.xz: d2f881a5cc231e2f5a03e86f4584b0438f83edd7598a09d24a21bd8d003e2e01 + versions: + 29.1: + config: + relstage: unstable + runtime_deps: [gnutls/3.5.19] + build_requires: [libidn2/2.3.4, libungif/4.1.4, tiff/4.0.9, nettle/3.4] diff --git a/Tools/emacs/files/variants b/Tools/emacs/files/variants index ed4f327..d1fd572 100644 --- a/Tools/emacs/files/variants +++ b/Tools/emacs/files/variants @@ -3,3 +3,4 @@ emacs/25.3 stable b:libungif/4.1.4 b:tiff/4.0.9 emacs/26.1 stable b:libungif/4.1.4 b:tiff/4.0.9 b:nettle/3.4 gnutls/3.5.19 emacs/26.3 stable b:libungif/4.1.4 b:tiff/4.0.9 b:nettle/3.4 gnutls/3.5.19 emacs/27.2 stable b:libungif/4.1.4 b:tiff/4.0.9 b:nettle/3.4 gnutls/3.5.19 +emacs/29.1 unstable b:libungif/4.1.4 b:tiff/4.0.9 b:nettle/3.4 gnutls/3.5.19 diff --git a/Tools/git/build-yaml b/Tools/git/build-yaml new file mode 100755 index 0000000..ebc480e --- /dev/null +++ b/Tools/git/build-yaml @@ -0,0 +1,29 @@ +#!/usr/bin/env modbuild + +pbuild::pre_configure_Darwin() { + export NO_APPLE_COMMON_CRYPTO=1 +} + +pbuild::pre_configure() { + #pbuild::add_configure_args "LIBS=-lintl" + pbuild::add_configure_args "--with-tcltk" + pbuild::add_configure_args "--with-iconv=${GETTEXT_PREFIX}" + pbuild::add_configure_args "--with-perl=${PERL_PREFIX}/bin/perl" + : +} + +pbuild::post_compile() { + make -C contrib/subtree prefix="${PREFIX}" +} + +pbuild::post_install() { + make install-doc V=1 XMLTO_EXTRA='--skip-validation' + make -C contrib/subtree prefix="${PREFIX}" install + make -C contrib/subtree prefix="${PREFIX}" install-doc XMLTO="xmlto --skip-validation" +} + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/git/files/config.yaml b/Tools/git/files/config.yaml index e046f99..5405f8a 100644 --- a/Tools/git/files/config.yaml +++ b/Tools/git/files/config.yaml @@ -1,36 +1,38 @@ -overlay: base -relstage: stable -group: Tools -shasums: - git/2.37.0: fc3ffe6c65c1f7c681a1ce6bb91703866e432c762731d4b57c566d696f6d62c3 - git/2.33.1: 02047f8dc8934d57ff5e02aadd8a2fe8e0bcf94a7158da375e48086cc46fce1d - git/2.30.0: d24c4fa2a658318c2e66e25ab67cc30038a35696d2d39e6b12ceccf024de1e5e - git/2.22.0: a4b7e4365bee43caa12a38d646d2c93743d755d1cea5eab448ffb40906c9da0b - git/2.21.0: 85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee - git/2.8.1: e6626b43ba4bc63ad4918df4c275f50bd7f8af2ab54bde60496ad75e91e927fc - git/2.3.3: c189e4a48d8805482f450db666330c79bcefae37e0d035c7717517126ddf4305 - -git/2.37.2: - - dependencies: TclTk/8.6.9 - build_requires: go/1.19 perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 - overlay: devel - relstage: unstable -git/2.37.0: - - dependencies: TclTk/8.6.9 - build_requires: perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 -git/2.33.1: - - dependencies: TclTk/8.6.9 - build_requires: perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 -git/2.30.0: - - dependencies: TclTk/8.6.9 - build_requires: perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 -git/2.22.0: - - dependencies: TclTk/8.6.9 - build_requires: perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 -git/2.21.0: - - dependencies: TclTk/8.6.9 - build_requires: perl/5.30.0 asciidoc/8.6.9-1 xmlto/0.0.28 gettext/0.19.8 -git/2.8.1: - - dependencies: Tcl/8.6.4 Tk/8.6.4 -git/2.3.3: - - dependencies: Tcl/8.6.4 Tk/8.6.4 +--- +# yamllint disable rule:line-length +format: 1 +git: + defaults: + group: Tools + overlay: base + relstage: stable + systems: [rhel6, rhel7, rhel8] + compile_in_sourcetree: true + urls: + - url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-${V_PKG}.tar.xz + shasums: + git-2.39.1.tar.gz: ae8d3427e4ccd677abc931f16183c0ec953e3bfcd866493601351e04a2b97398 + git-2.37.2.tar.gz: 4c428908e3a2dca4174df6ef49acc995a4fdb1b45205a2c79794487a33bc06e5 + git-2.37.0.tar.gz: fc3ffe6c65c1f7c681a1ce6bb91703866e432c762731d4b57c566d696f6d62c3 + git-2.33.1.tar.gz: 02047f8dc8934d57ff5e02aadd8a2fe8e0bcf94a7158da375e48086cc46fce1d + git-2.30.0.tar.xz: 4c428908e3a2dca4174df6ef49acc995a4fdb1b45205a2c79794487a33bc06e5 + git-2.22.0.tar.gz: a4b7e4365bee43caa12a38d646d2c93743d755d1cea5eab448ffb40906c9da0b + git-2.21.0.tar.gz: 85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee + git-2.8.1.tar.xz: e6626b43ba4bc63ad4918df4c275f50bd7f8af2ab54bde60496ad75e91e927fc + git-2.3.3.tar.gz: c189e4a48d8805482f450db666330c79bcefae37e0d035c7717517126ddf4305 + versions: + 2.42.0: + config: + runtime_deps: [TclTk/8.6.9] + build_requires: [gcc/10.4.0, perl/5.30.0, asciidoc/8.6.9-1, xmlto/0.0.28, gettext/0.19.8] + relstage: unstable + overlay: devel + systems: [rhel7, rhel8, rhel9] + docfiles: [COPYING, README.md] + 2.39.1;2.37.2;2.37.0;2.33.1;2.30.0;2.22.0;2.21.0: + config: + runtime_deps: [TclTk/8.6.9] + build_requires: [gcc/10.4., perl/5.30.0, asciidoc/8.6.9-1, xmlto/0.0.28, gettext/0.19.8] + 2.3.3;2.8.1: + config: + runtime_deps: [Tcl/8.6.9, Tk/8.6.9] diff --git a/Tools/gnuplot/build-yaml b/Tools/gnuplot/build-yaml new file mode 100755 index 0000000..3a25f73 --- /dev/null +++ b/Tools/gnuplot/build-yaml @@ -0,0 +1,11 @@ +#!/usr/bin/env modbuild + +pbuild::pre_configure() { + pbuild::add_configure_args '--with-latex=no' + pbuild::add_configure_args '--with-qt=no' +} +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Tools/gnuplot/files/config.yaml b/Tools/gnuplot/files/config.yaml index 8a809bd..7bfcef0 100644 --- a/Tools/gnuplot/files/config.yaml +++ b/Tools/gnuplot/files/config.yaml @@ -1,33 +1,33 @@ -overlay: base -relstage: stable -group: Tools -shasums: - gnuplot/5.4.4: 372300b7867f5b3538b25fc5d0ac7734af6e3fe0d202b6db926e4369913f0902 - gnuplot/5.4.3: 51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84 - gnuplot/5.4.2: e57c75e1318133951d32a83bcdc4aff17fed28722c4e71f2305cfc2ae1cae7ba - gnuplot/5.4.1: 6b690485567eaeb938c26936e5e0681cf70c856d273cc2c45fabf64d8bc6590e - gnuplot/5.4.0: eb4082f03a399fd1e9e2b380cf7a4f785e77023d8dcc7e17570c1b5570a49c47 - gnuplot/5.2.8: 60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37 - gnuplot/5.2.7: 97fe503ff3b2e356fe2ae32203fc7fd2cf9cef1f46b60fe46dc501a228b9f4ed - gnuplot/5.2.6: 35dd8f013139e31b3028fac280ee12d4b1346d9bb5c501586d1b5a04ae7a94ee - gnuplot/5.2.4: 1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb - gnuplot/5.0.0: 417d4bc5bc914a60409bb75cf18dd14f48b07f53c6ad3c4a4d3cd9a8d7370faf - gnuplot/4.6.3: df5ffafa25fb32b3ecc0206a520f6bca8680e6dcc961efd30df34c0a1b7ea7f5 - -gnuplot/5.4.5: - systems: rhel7 rhel6 -gnuplot/5.4.4: - systems: rhel7 rhel6 -gnuplot/5.4.3: -gnuplot/5.4.2: -gnuplot/5.4.1: -gnuplot/5.4.0: -gnuplot/5.2.8: -gnuplot/5.2.7: -gnuplot/5.2.6: -gnuplot/5.2.4: -gnuplot/5.2.0: -gnuplot/5.0.0: -gnuplot/4.6.3: +format: 1 +gnuplot: + defaults: + group: Tools + overlay: base + relstage: stable + systems: [rhel8, rhel7, rhel6] + docfiles: [Copyright, NEWS, README] + urls: + - url: https://sourceforge.net/projects/gnuplot/files/$P/$V/$P-${V_PKG}.tar.gz + shasums: + gnuplot-5.4.10.tar.gz: 975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c + gnuplot-5.4.9.tar.gz: a328a021f53dc05459be6066020e9a71e8eab6255d3381e22696120d465c6a97 + gnuplot-5.4.8.tar.gz: 931279c7caad1aff7d46cb4766f1ff41c26d9be9daf0bcf0c79deeee3d91f5cf + gnuplot-5.4.5.tar.gz: 66f679115dd30559e110498fc94d926949d4d370b4999a042e724b8e910ee478 + gnuplot-5.4.4.tar.gz: 372300b7867f5b3538b25fc5d0ac7734af6e3fe0d202b6db926e4369913f0902 + gnuplot-5.4.3.tar.gz: 51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84 + gnuplot-5.4.2.tar.gz: e57c75e1318133951d32a83bcdc4aff17fed28722c4e71f2305cfc2ae1cae7ba + gnuplot-5.4.1.tar.gz: 6b690485567eaeb938c26936e5e0681cf70c856d273cc2c45fabf64d8bc6590e + gnuplot-5.4.0.tar.gz: eb4082f03a399fd1e9e2b380cf7a4f785e77023d8dcc7e17570c1b5570a49c47 + gnuplot-5.2.8.tar.gz: 60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37 + gnuplot-5.2.7.tar.gz: 97fe503ff3b2e356fe2ae32203fc7fd2cf9cef1f46b60fe46dc501a228b9f4ed + gnuplot-5.2.6.tar.gz: 35dd8f013139e31b3028fac280ee12d4b1346d9bb5c501586d1b5a04ae7a94ee + gnuplot-5.2.4.tar.gz: 1515f000bd373aaa53b16183f274189d4f5e0ae47d22f434857933d16a4770cb + gnuplot-5.0.0.tar.gz: 417d4bc5bc914a60409bb75cf18dd14f48b07f53c6ad3c4a4d3cd9a8d7370faf + gnuplot-4.6.3.tar.gz: df5ffafa25fb32b3ecc0206a520f6bca8680e6dcc961efd30df34c0a1b7ea7f5 + versions: + 5.4.{0,1,2,3,4,5,8,9};5.2.{0,4,6,7,8};5.0.0;4.6.3: + 5.4.10: + config: + relstage: unstable diff --git a/Tools/gnutls/build-xml b/Tools/gnutls/build-xml new file mode 100755 index 0000000..906f85b --- /dev/null +++ b/Tools/gnutls/build-xml @@ -0,0 +1,8 @@ +#!/usr/bin/env modbuild + +#module use 'Libraries' + +pbuild::add_configure_args "--with-included-unistring" +pbuild::add_configure_args "--with-included-libtasn1" +pbuild::add_configure_args "--without-p11-kit" + diff --git a/Tools/gnutls/files/config.yaml b/Tools/gnutls/files/config.yaml new file mode 100644 index 0000000..f22314f --- /dev/null +++ b/Tools/gnutls/files/config.yaml @@ -0,0 +1,17 @@ +format: 1 +gnutls: + defaults: + group: Tools + relstage: stable + docfiles: + urls: + - url: https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-${V_PKG}.tar.xz + shasums: + gnutls-3.5.19.tar.xz: 1936eb64f03aaefd6eb16cef0567457777618573826b94d03376bb6a4afadc44 + versions: + 3.5.19: + 3.7.10: + config: + relstage: unstable + build_requires: [nettle/3.9.1, gmp/6.1.2-1] + diff --git a/Tools/gnutls/modulefile b/Tools/gnutls/modulefile index 8ce71d5..a46fdb5 100644 --- a/Tools/gnutls/modulefile +++ b/Tools/gnutls/modulefile @@ -1,18 +1,21 @@ #%Module1.0 -module-whatis "Toolkit for the TLS and SSL protocol" -module-url "https://openssl.org/" -module-license "Apache style" +module-whatis "secure communications library implementing the SSL, TLS and DTLS protocols" +module-url "https://www.gnutls.org" +module-license "GNU Lesser General Public License version 2.1" module-maintainer "Achim Gsell " module-help " -OpenSSL is an open source project that provides a robust, commercial-grade, -and full-featured toolkit for the Transport Layer Security (TLS) and Secure -Sockets Layer (SSL) protocols. It is also a general-purpose cryptography -library. For more information about the team and community around the -project, or to start making your own contributions, start with the community -page. To get the latest news, download the source, and so on, please see the -sidebar or the buttons at the top of every page. +GnuTLS is a secure communications library implementing the SSL, TLS and +DTLS protocols and technologies around them. It provides a simple C +language application programming interface (API) to access the secure +communications protocols as well as APIs to parse and write X.509, +PKCS #12, and other required structures. + +The project strives to provide a secure communications back-end, simple +to use and integrated with the rest of the base Linux libraries. A back- +end designed to work and be secure out of the box, keeping the complexity +of TLS and PKI out of application code. " -append-path PKG_CONFIG_PATH $PREFIX/lib/pkgconfig +#append-path PKG_CONFIG_PATH $PREFIX/lib/pkgconfig diff --git a/Tools/openssl/files/variants.rhel7 b/Tools/openssl/files/variants.rhel7 new file mode 100644 index 0000000..0712f7e --- /dev/null +++ b/Tools/openssl/files/variants.rhel7 @@ -0,0 +1,11 @@ +openssl/1.0.2h deprecated +openssl/1.0.2j stable +openssl/1.0.2m stable +openssl/1.0.2o stable +openssl/1.0.2r stable +openssl/1.1.1g stable +openssl/1.1.1k stable +openssl/1.1.1l stable +openssl/1.1.1m stable +openssl/1.1.1v unstable +openssl/1.1.1w unstable