MSVC preview version breaks clingo build (#41185)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
parent
d272c49fb6
commit
5154d69629
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ def _root_spec(spec_str: str) -> str:
|
||||||
if str(spack.platforms.host()) == "darwin":
|
if str(spack.platforms.host()) == "darwin":
|
||||||
spec_str += " %apple-clang"
|
spec_str += " %apple-clang"
|
||||||
elif str(spack.platforms.host()) == "windows":
|
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:
|
else:
|
||||||
spec_str += " %gcc"
|
spec_str += " %gcc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue