Compare commits

..

3 Commits

Author SHA1 Message Date
Greg Becker
68906f62c4 Update for str instead of pathlib.Path
Co-authored-by: John W. Parent <45471568+johnwparent@users.noreply.github.com>
2025-05-06 13:08:07 +02:00
Gregory Becker
69f5908d40 alternate exe suffix for windows
Signed-off-by: Gregory Becker <becker33@llnl.gov>
2025-05-06 13:08:07 +02:00
Gregory Becker
b7f27d799a msvc: do not detect unless ends with .exe
Signed-off-by: Gregory Becker <becker33@llnl.gov>
2025-05-06 13:08:07 +02:00
3 changed files with 5 additions and 12 deletions

View File

@@ -6,17 +6,6 @@ build:
- graphviz
tools:
python: "3.11"
jobs:
create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv
install:
- uv pip install -r lib/spack/docs/requirements.txt
build:
html:
- uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html
sphinx:
configuration: lib/spack/docs/conf.py

View File

@@ -1,7 +1,7 @@
[project]
name="spack"
description="The spack package manager"
requires-python=">=3.6.2"
requires-python=">=3.6"
dependencies=[
"clingo",
"setuptools",

View File

@@ -59,6 +59,10 @@ def install(self, spec, prefix):
@classmethod
def determine_version(cls, exe):
if not exe.endswith(".exe") and not exe.endswith(".bat"):
# Not on windows, can't possibly be msvc
return
# MSVC compiler does not have a proper version argument
# Errors out and prints version info with no args
is_ifx = "ifx.exe" in str(exe)