This commit is contained in:
Caubet Serrabou Marc
2024-09-05 09:55:03 +02:00
parent 6a8cb7825b
commit d3e38214d2
6 changed files with 81 additions and 49 deletions
+3 -17
View File
@@ -1,29 +1,15 @@
#!/usr/bin/env modbuild
echo "https://github.com/openpmix/openpmix/releases/download/v${V_PKG}/$P-${V_PKG}.tar.gz"
pbuild::set_download_url "https://github.com/openpmix/openpmix/releases/download/v${V_PKG}/$P-${V_PKG}.tar.gz"
pbuild::add_to_group 'Libraries'
(( version = (${V_MAJOR} * 100 + ${V_MINOR}) * 100 + V_PATCHLVL ))
if (( V_MAJOR > 1 )); then
pbuild::install_docfiles AUTHORS README.md LICENSE NEWS VERSION
else
pbuild::install_docfiles README LICENSE NEWS VERSION
fi
pbuild::compile_in_sourcetree
pbuild::pre_configure() {
if [[ -n "${HWLOC_PREFIX}" ]]; then
if [[ -v HWLOC_PREFIX ]]; then
pbuild::add_configure_args "--with-hwloc=${HWLOC_PREFIX}"
fi
if [[ -n "${LIBEVENT_PREFIX}" ]]; then
if [[ -v LIBEVENT_PREFIX ]]; then
pbuild::add_configure_args "--with-libevent=${LIBEVENT_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"
-24
View File
@@ -1,24 +0,0 @@
#!/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"
}
+8 -2
View File
@@ -19,6 +19,7 @@ pmix:
pmix-4.1.2.tar.gz: a7a6d5b322c261999ce0a6395c0ac7dc359c0ff61380ed4c6935430fb9f5f6e6
pmix-4.2.3.tar.gz: fd45e18e483e42089d4059df9753d9be3cfb68297a05981b1d937e09f7716d5a
pmix-4.2.4.tar.gz: f1fe5fe817ac447ce8d3d88486a1c0d22227efd186e11062aa1f7b0f093089c6
pmix-5.0.3.tar.gz: c98afa8ec5a2495b82fae5eff731c4fc6371e0b0
versions:
1.2.5:
config:
@@ -33,12 +34,12 @@ pmix:
relstage: unstable
4.1.2:
config:
relstage: unstable
relstage: stable
runtime_deps: [libevent/2.1.12]
build_requires: [hwloc/2.7.1]
4.2.3:
config:
relstage: unstable
relstage: stable
runtime_deps: [libevent/2.1.12]
build_requires: [hwloc/2.9.1]
4.2.4:
@@ -46,3 +47,8 @@ pmix:
relstage: stable
runtime_deps: [libevent/2.1.12]
build_requires: [gcc/10.4.0, hwloc/2.9.1]
5.0.3:
config:
relstate: unstable
runtime_deps: [libevent/2.1.12]
build_requires: [hwloc/2.11.1]