summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2024-03-13 18:28:36 -0400
committerGitHub <noreply@github.com>2024-03-13 22:28:36 +0000
commitb1a984ef02f5e6d0d60c824207555390c9d688ea (patch)
tree716a9ead376be25458e2945e0cf6dbec3baa5b87 /lib
parentcc545d8c9ad7e047b687ecd34a7882bfea952a9c (diff)
downloadspack-b1a984ef02f5e6d0d60c824207555390c9d688ea.tar.gz
spack-b1a984ef02f5e6d0d60c824207555390c9d688ea.tar.bz2
spack-b1a984ef02f5e6d0d60c824207555390c9d688ea.tar.xz
spack-b1a984ef02f5e6d0d60c824207555390c9d688ea.zip
msvc: patch property ref bug (#43173)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/msvc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/msvc.py b/lib/spack/spack/compilers/msvc.py
index 49f7582512..cba2b6e41c 100644
--- a/lib/spack/spack/compilers/msvc.py
+++ b/lib/spack/spack/compilers/msvc.py
@@ -323,7 +323,7 @@ class Msvc(Compiler):
fc_path[fc_ver] = fc
if os.getenv("ONEAPI_ROOT"):
try:
- sps = spack.operating_systems.windows_os.WindowsOs.compiler_search_paths
+ sps = spack.operating_systems.windows_os.WindowsOs().compiler_search_paths
except AttributeError:
raise SpackError("Windows compiler search paths not established")
clp = spack.util.executable.which_string("cl", path=sps)