Compare commits
3 Commits
use-uv-in-
...
bugfix/msv
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68906f62c4 | ||
|
|
69f5908d40 | ||
|
|
b7f27d799a |
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name="spack"
|
||||
description="The spack package manager"
|
||||
requires-python=">=3.6.2"
|
||||
requires-python=">=3.6"
|
||||
dependencies=[
|
||||
"clingo",
|
||||
"setuptools",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user