diff options
author | John W. Parent <45471568+johnwparent@users.noreply.github.com> | 2023-11-20 15:55:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 21:55:07 +0100 |
commit | 5154d696297a6b00a148f09967688dd27113275d (patch) | |
tree | 756859da45d483527ee21e56ef369010fcddc8a1 /lib | |
parent | d272c49fb6b9fca7880ace746b476d8feb7caa3a (diff) | |
download | spack-5154d696297a6b00a148f09967688dd27113275d.tar.gz spack-5154d696297a6b00a148f09967688dd27113275d.tar.bz2 spack-5154d696297a6b00a148f09967688dd27113275d.tar.xz spack-5154d696297a6b00a148f09967688dd27113275d.zip |
MSVC preview version breaks clingo build (#41185)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/bootstrap/_common.py | 3 |
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" |