From 5afa75085878f654e792266b6c269612231e0e66 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <networms@gmail.ch>
Date: Thu, 20 Jun 2024 23:17:58 +0200
Subject: [PATCH] Install all compilers from the start

---
 ci/install_compilers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/install_compilers.sh b/ci/install_compilers.sh
index 09c4b53..b0a3216 100755
--- a/ci/install_compilers.sh
+++ b/ci/install_compilers.sh
@@ -17,7 +17,7 @@ for c in  "core_compilers" "compilers"; do
         | with_entries(select(.key==env.comp))
         | to_entries
         | .[].value
-        | map(select(.constraint == null))
+        | map(select((.constraint == null) or (.constraint? | match(env.environment))))
         | map("\(.spec) \($arch)")[]
      ' ${STACK_CONFIG})
 
-- 
GitLab