index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-13 08:59:56 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-13 08:59:56 +0200 |
commit | a46cebdc885fa760cf6d148ba0cc50b7aa3e6c73 (patch) | |
tree | 3d26dc810332fec62ef46b05934ffe8691aa0947 /extra | |
parent | e3a77b242d316e3f6595956ef68aad67a6736ace (diff) |
-rw-r--r-- | extra/openmpi/PKGBUILD | 44 |
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD new file mode 100644 index 00000000..a932d3f0 --- /dev/null +++ b/extra/openmpi/PKGBUILD @@ -0,0 +1,44 @@ +# no CUDA +makedepends=(${makedepends[@]//cuda/}) +makedepends=(${makedepends[@]//nvidia-utils/}) +eval "$( + declare -f build | \ + sed ' + /local configure_options.*/ a \ + configure_options=(${configure_options[@]/--with-cuda=.*/--without-cuda}) + ' +)" + +# PRRTE warns us about not building on 32-bit, so remove it +makedepends=(${makedepends[@]//prtte/}) +eval "$( + declare -f build | \ + sed ' + /local configure_options.*/ a \ + configure_options=(${configure_options[@]/--with-prrte=external/--without-prrte}) + ' +)" +eval "$( + declare -f package_openmpi | \ + sed ' + /depends.*/ a \ + depends=(${depends[@]//prrte/}) + ' +)" + +# AMD stuff requires a special LLVM and clang, doesn't build currently +# (whoever wants to fix that is welcome) +makedepends=(${makedepends[@]//hip-runtime-amd/}) + +# openucc doesn't build +makedepends=(${makedepends[@]//openucc/}) + +# openucx requires cuda and rocm-language-runtime +makedepends=(${makedepends[@]//openucx/}) +eval "$( + declare -f package_openmpi | \ + sed ' + /depends.*/ a \ + depends=(${depends[@]//openucx/}) + ' +)" |