From 8d4ffc5b87882eb5292c9b7a0b99a6016d3f53b2 Mon Sep 17 00:00:00 2001 From: John Parent Date: Thu, 1 Sep 2022 18:12:30 -0400 Subject: [PATCH] prem --- lib/spack/spack/detection/common.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/lib/spack/spack/detection/common.py b/lib/spack/spack/detection/common.py index d79b62b872532b..347fd6806de12f 100644 --- a/lib/spack/spack/detection/common.py +++ b/lib/spack/spack/detection/common.py @@ -196,6 +196,27 @@ def update_configuration(detected_packages, scope=None, buildable=True): return all_new_specs +def find_windows_compiler_paths(): + + msvc_paths = list(winOs.WindowsOs.vs_install_paths) + msvc_cmake_paths = [ + os.path.join( + path, "Common7", "IDE", "CommonExtensions", "Microsoft", "CMake", "CMake", "bin" + ) + for path in msvc_paths + ] + msvc_ninja_paths = [ + os.path.join(path, "Common7", "IDE", "CommonExtensions", "Microsoft", "CMake", "Ninja") + for path in msvc_paths + ] + +def find_windows_cmake_paths(): + + pass + + +def find_windows_ninja_paths(): + pass def find_win32_additional_install_paths(): """Not all programs on Windows live on the PATH