chapel: remove requirements on compilers (#49783)
The requirements being removed are redundant, or even outdated (%cray-prgenv-* is not a compiler in v0.23). When compilers turned into nodes, these constraints, with the "one_of" policy, started being unsat under certain conditions e.g. we can't compile anymore with GCC and depend on LLVM as a library. Remove the requirements to make the recipe solvable again. Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
88c1eae5d4
commit
ce1c2b0f05
@ -567,26 +567,6 @@ class Chapel(AutotoolsPackage, CudaPackage, ROCmPackage):
|
|||||||
depends_on("cmake@3.16:")
|
depends_on("cmake@3.16:")
|
||||||
depends_on("cmake@3.20:", when="llvm=bundled")
|
depends_on("cmake@3.20:", when="llvm=bundled")
|
||||||
|
|
||||||
# ensure we can map the spack compiler name to one of the ones we recognize
|
|
||||||
requires(
|
|
||||||
"%aocc",
|
|
||||||
"%apple-clang",
|
|
||||||
"%arm",
|
|
||||||
"%clang",
|
|
||||||
"%cce",
|
|
||||||
"%cray-prgenv-cray",
|
|
||||||
"%cray-prgenv-gnu",
|
|
||||||
"%cray-prgenv-intel",
|
|
||||||
"%cray-prgenv-pgi",
|
|
||||||
"%dpcpp",
|
|
||||||
"%gcc",
|
|
||||||
"%intel",
|
|
||||||
"%llvm",
|
|
||||||
"%oneapi",
|
|
||||||
"%rocmcc",
|
|
||||||
policy="one_of",
|
|
||||||
)
|
|
||||||
|
|
||||||
def unset_chpl_env_vars(self, env):
|
def unset_chpl_env_vars(self, env):
|
||||||
# Clean the environment from any pre-set CHPL_ variables that affect the build
|
# Clean the environment from any pre-set CHPL_ variables that affect the build
|
||||||
for var in self.chpl_env_vars:
|
for var in self.chpl_env_vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user