Massimiliano Culpo
543f830f57
Restore bootstrapping from sources
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:55 +01:00
Massimiliano Culpo
94fdd3dc5b
spec: change semantic of __getitem__
...
Now __getitem__ can pick items in the transitive link/run graph,
or from direct build dependencies.
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:55 +01:00
Massimiliano Culpo
403e2db50f
spec: bump specfile format to v5
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:54 +01:00
Massimiliano Culpo
7832c56537
Overhaul of the spack.compilers package
...
Now the package contains modules that help using, or
detecting, compiler packages.
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:54 +01:00
Massimiliano Culpo
bec58a1554
Remove spack.compilers Python modules
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:53 +01:00
Massimiliano Culpo
67b04f1b8d
(WIP) Install mechanism
2025-01-11 13:28:53 +01:00
Massimiliano Culpo
8c66a1699e
(WIP) Recover bootstrapping from binaries on linux
2025-01-11 13:28:52 +01:00
Massimiliano Culpo
86a8ec5bbc
unit-tests: fix concretization and spack compiler
tests
2025-01-11 13:28:52 +01:00
Massimiliano Culpo
4f9be7b00a
builtin.mock et al. : changes to packages
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:51 +01:00
Massimiliano Culpo
dc7df70b81
solver: first working implementation of compiler as nodes
...
This commit changes the model to treat compilers as nodes, and
drops the concept of a "compiler" as a bundle of a C, C++, and
Fortran compiler.
Implementation does not rely on `Compiler` or `CompilerSpec`.
2025-01-11 13:28:51 +01:00
Massimiliano Culpo
6f5e6f3a5b
Deprecate packages:all:compiler and update default configs
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:50 +01:00
Massimiliano Culpo
414b323e01
directives: remove workaround for the c, cxx and fortran language
...
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2025-01-11 13:28:50 +01:00
Massimiliano Culpo
0705a5f468
Overhaul the spack compiler
command
...
This reverts commit 2c47dddbc1
.
Now, `spack compiler` writes by default in packages.yaml. Entries
in old `compilers.yaml` are converted to external specs as a way to
support legacy configuration.
Since this operation is expensive, an environment variable can be
used to enforce the deprecation of `compiler.yaml`.
The --mixed-toolchain option has been deprecated, since it stops to
make sense once compiler are treated as nodes.
2025-01-11 13:28:50 +01:00
Massimiliano Culpo
e432641166
Allow reading old JSON files
2025-01-11 13:28:49 +01:00
Massimiliano Culpo
cf2b5a1e4f
parse_with_version_concrete: remove compiler=
switch
2025-01-11 13:28:49 +01:00
Massimiliano Culpo
510623fe47
Make CompilerSpec raise on __init__
2025-01-11 13:28:48 +01:00
Massimiliano Culpo
ae6c1a7abe
parser: parse compilers as direct build deps
2025-01-11 13:28:45 +01:00
Mosè Giordano
70534ac9d4
r-deseq2: add new versions ( #48157 )
2025-01-10 14:36:53 -08:00
Chris Marsh
b369d8b250
py-netcdf4: add v1.7.2 and fix variant ( #47824 )
2025-01-10 21:52:42 +01:00
Mosè Giordano
4d2319a785
r-sparsematrixstats: add new versions ( #48154 )
...
Also, specify incompatibility with `r-matrixstats` versions.
2025-01-10 10:50:04 -08:00
Dom Heinzeller
d6a9511f39
py-cylc-flow package: update package and dependents/dependencies
...
* Add py-protobuf@4.24.4 (needed for py-cylc-flow@8.3.6).
* Add py-cylc-flow@8.3.6 and enable png output when creating graphs
by requesting variant pangocairo for graphviz dependency.
* Add corresponding versions of py-metomi-rose@2.3.2,
py-cylc-rose@1.4.2, py-cylc-uiserver@1.4.2.
* Add myself as maintainer to all the cylc-related packages.
2025-01-10 10:12:41 -08:00
Massimiliano Culpo
dd69b646ad
Add subscript notation to packages ( #48467 )
...
This PR allows using the subscript notation directly on packages. The
intent is to reduce the boilerplate needed to retrieve package
properties from nodes other than root.
2025-01-10 19:00:51 +01:00
Niklas Bölter
b670205e54
py-nvitop: new package ( #48426 )
...
* Adding nvitop package
* [@spackbot] updating style on behalf of nboelte
* Adding dependency constraints and types
* Adding maintainer
* Adding python version dependency
* Style fix
* Commented out unused platform=windows dependency
2025-01-10 09:18:12 -08:00
Harmen Stoppels
d6d8800466
executable.py: fix overlapping overload set ( #48503 )
2025-01-10 16:34:04 +00:00
Rocco Meli
7a32954f7f
dftd4: add v3.6.0 and v3.7.0, update URL ( #48500 )
2025-01-10 16:13:15 +01:00
Massimiliano Culpo
92564ecd42
palace: add a dependency on c ( #48315 )
2025-01-10 15:15:57 +01:00
Massimiliano Culpo
c1258a1431
chai: add dependency on C ( #48316 )
2025-01-10 15:15:14 +01:00
Harmen Stoppels
d46ac9b1e4
spec.py: fix return type of concretized() ( #48504 )
2025-01-10 13:31:41 +00:00
Massimiliano Culpo
2e472a13e5
llvm: minimal fix for llvm_config method ( #48501 )
2025-01-10 11:36:07 +01:00
Harmen Stoppels
7edb525599
binary_distribution: improve deps_to_relocate ( #48484 )
2025-01-10 11:32:11 +01:00
Harmen Stoppels
93cd216603
binary_distribution: stop relocating tarballs with relative rpaths ( #48488 )
2025-01-10 11:30:18 +01:00
Harmen Stoppels
c1d385ada2
traverse: use overload for return type when depth=True vs depth=False ( #48482 )
2025-01-10 09:53:28 +01:00
Dom Heinzeller
464390962f
Comment out py-arrow@1.3.0 because of build errors with basic gcc stack ( #48478 )
...
* Comment out py-arrow@1.3.0 because of build errors with basic gcc stack
* Also comment out 1.3.0-specific depends_on lines
2025-01-09 19:43:47 -07:00
Wouter Deconinck
16734cd8c6
mlpack: add v4.5.1 ( #48334 )
...
* mlpack: add v4.5.1
* mlpack: variant +go when=@4.5.1:
2025-01-09 18:40:49 -08:00
Alec Scott
1dd9eeb0c6
rust: fix dependency version constraint ( #48445 )
2025-01-09 18:37:25 -08:00
Wouter Deconinck
f4ef0aec28
armadillo: add v14.2.2 ( #48480 )
...
* armadillo: add v14.2.2
* armadillo: hdf5 support ends with v10
2025-01-09 18:34:58 -08:00
Buldram
ea2c70a21a
toybox: depend on virtual zlib ( #48486 )
2025-01-09 18:33:20 -08:00
Weiqun Zhang
72ddc03da9
amrex: add v25.01 ( #48423 )
...
* amrex: add v25.01
* Add dependency on rocsparse
---------
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2025-01-09 17:37:26 -08:00
Alec Scott
32de71b0b6
gnutls: add v3.8.8 ( #48373 )
2025-01-09 19:23:20 -06:00
Stephen Nicholas Swatman
e94d5b935f
acts dependencies: new versions as of 2025/01/08 ( #48465 )
...
New year, new versions of the ACTS dependencies. This time, we have a
new version of detray, a new version of algebra plugins, as well as a
new version of ACTS itself.
2025-01-09 19:22:20 -06:00
Alberto Invernizzi
85649be232
py-stevedore: bump to version 5.4.0 (plus some intermediate ones as well) ( #47784 )
2025-01-09 16:55:40 -08:00
Harmen Stoppels
c23d2cdb2b
lmod: add v8.7.55 ( #48439 )
2025-01-09 16:43:08 -08:00
Wouter Deconinck
dc5dd896a2
ensmallen: add v2.22.1 ( #48481 )
2025-01-09 16:41:46 -08:00
Dave Keeshan
43f23589ef
verilator: add v5.032 ( #48493 )
2025-01-09 16:40:24 -08:00
Massimiliano Culpo
5085f635dd
Add type hints to spack.util.executable.Executable
( #48468 )
...
* Add type-hints to `spack.util.executable.Executable`
* Add type-hint to input
* Use overload, and remove assertions at calling sites
* Bump mypy to v1.11.2 (working locally), Python to 3.13
2025-01-09 14:16:24 -08:00
Paul R. C. Kent
46da7952d3
llvm: add v19.1.6 ( #48162 )
2025-01-09 13:51:46 -08:00
Adam J. Stewart
72783bcb0a
py-keras: add v3.8.0, remove optional deps ( #48461 )
2025-01-09 09:16:57 -08:00
Olivier Cessenat
f4d2ff0068
ocaml: compile versions before 4.8.0 again ( #48470 )
2025-01-09 09:15:12 -08:00
Adam J. Stewart
a2b7fee3fe
py-timm: add v1.0.12 ( #48474 )
2025-01-09 09:11:08 -08:00
Mikael Simberg
2ebf2df421
mold: Add 2.36.0 ( #48483 )
2025-01-09 13:20:40 +01:00