summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2023-10-27 19:58:50 -0400
committerGitHub <noreply@github.com>2023-10-27 16:58:50 -0700
commit148dce96edaee62889a17579dc373afbd080e498 (patch)
tree02f0b2c95211b5bb03a5b9d098f76a11eeb4fd77 /var
parent9e01199e130784ff36268d409a441941658072f3 (diff)
downloadspack-148dce96edaee62889a17579dc373afbd080e498.tar.gz
spack-148dce96edaee62889a17579dc373afbd080e498.tar.bz2
spack-148dce96edaee62889a17579dc373afbd080e498.tar.xz
spack-148dce96edaee62889a17579dc373afbd080e498.zip
MSVC: detection from registry (#38500)
Typically MSVC is detected via the VSWhere program. However, this may not be available, or may be installed in an unpredictable location. This PR adds an additional approach via Windows Registry queries to determine VS install location root. Additionally: * Construct vs_install_paths after class-definition time (move it to variable-access time). * Skip over keys for which a user does not have read permissions when performing searches (previously the presence of these keys would have caused an error, regardless of whether they were needed). * Extend helper functionality with option for regex matching on registry keys vs. exact string matching. * Some internal refactoring: remove boolean parameters in some cases where the function was always called with the same value (e.g. `find_subkey`)
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions