diff options
author | Mikael Simberg <mikael.simberg@iki.fi> | 2023-06-22 09:38:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 03:38:45 -0400 |
commit | ace20c5d297fbfc4746478fd790c7965c655f78e (patch) | |
tree | f55e17038d68457d0238ce36e2d497af1f177008 | |
parent | f35fcee6becb16c5df1eb3896e9c978615b24c50 (diff) | |
download | spack-ace20c5d297fbfc4746478fd790c7965c655f78e.tar.gz spack-ace20c5d297fbfc4746478fd790c7965c655f78e.tar.bz2 spack-ace20c5d297fbfc4746478fd790c7965c655f78e.tar.xz spack-ace20c5d297fbfc4746478fd790c7965c655f78e.zip |
hpx: Add conflict with some GCC versions and `+rocm` due to `valarray` bug (#38297)
* hpx: Add conflict with some GCC versions and +rocm due to valarray bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103022
* remove conflict for %gcc@11.1.0 since there is none
---------
Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/hpx/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py index 7f4c21dc0a..f28360c2f6 100644 --- a/var/spack/repos/builtin/packages/hpx/package.py +++ b/var/spack/repos/builtin/packages/hpx/package.py @@ -177,6 +177,14 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage): # both include a fix. conflicts("boost@:1.77.0", when="@:1.7 +rocm") + # libstdc++ has a broken valarray in some versions that clang/hipcc refuses + # to compile: + # https://github.com/spack/spack/issues/38104 + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103022 + conflicts("%gcc@9.1:9.4", when="+rocm") + conflicts("%gcc@10.1:10.3", when="+rocm") + conflicts("%gcc@11.2", when="+rocm") + # boost 1.73.0 build problem with HPX 1.4.0 and 1.4.1 # https://github.com/STEllAR-GROUP/hpx/issues/4728#issuecomment-640685308 depends_on("boost@:1.72.0", when="@:1.4") |