From b1a984ef02f5e6d0d60c824207555390c9d688ea Mon Sep 17 00:00:00 2001 From: "John W. Parent" <45471568+johnwparent@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:28:36 -0400 Subject: msvc: patch property ref bug (#43173) --- lib/spack/spack/compilers/msvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3-70-g09d2