msvc: patch property ref bug (#43173)
This commit is contained in:
parent
cc545d8c9a
commit
b1a984ef02
@ -323,7 +323,7 @@ def fc_version(cls, fc):
|
|||||||
fc_path[fc_ver] = fc
|
fc_path[fc_ver] = fc
|
||||||
if os.getenv("ONEAPI_ROOT"):
|
if os.getenv("ONEAPI_ROOT"):
|
||||||
try:
|
try:
|
||||||
sps = spack.operating_systems.windows_os.WindowsOs.compiler_search_paths
|
sps = spack.operating_systems.windows_os.WindowsOs().compiler_search_paths
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
raise SpackError("Windows compiler search paths not established")
|
raise SpackError("Windows compiler search paths not established")
|
||||||
clp = spack.util.executable.which_string("cl", path=sps)
|
clp = spack.util.executable.which_string("cl", path=sps)
|
||||||
|
Loading…
Reference in New Issue
Block a user