summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/bootstrap/_common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/bootstrap/_common.py b/lib/spack/spack/bootstrap/_common.py
index 69f32d6263..0b8192f77f 100644
--- a/lib/spack/spack/bootstrap/_common.py
+++ b/lib/spack/spack/bootstrap/_common.py
@@ -213,7 +213,8 @@ def _root_spec(spec_str: str) -> str:
if str(spack.platforms.host()) == "darwin":
spec_str += " %apple-clang"
elif str(spack.platforms.host()) == "windows":
- spec_str += " %msvc"
+ # TODO (johnwparent): Remove version constraint when clingo patch is up
+ spec_str += " %msvc@:19.37"
else:
spec_str += " %gcc"