From ce1c2b0f05b8b42c19b9d8dc060a07e796fdc6c5 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 1 Apr 2025 09:30:43 +0200 Subject: [PATCH] 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 --- .../repos/builtin/packages/chapel/package.py | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/var/spack/repos/builtin/packages/chapel/package.py b/var/spack/repos/builtin/packages/chapel/package.py index 832435fa5f2..9f5e0866c9a 100644 --- a/var/spack/repos/builtin/packages/chapel/package.py +++ b/var/spack/repos/builtin/packages/chapel/package.py @@ -567,26 +567,6 @@ class Chapel(AutotoolsPackage, CudaPackage, ROCmPackage): depends_on("cmake@3.16:") 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): # Clean the environment from any pre-set CHPL_ variables that affect the build for var in self.chpl_env_vars: