Gregory Becker
6bcea7e9f4
update externals format to match existing code
2024-03-15 11:59:40 -07:00
Gregory Becker
74263b2016
docs
2024-03-13 11:03:22 -07:00
Gregory Becker
8f480c5c13
report compiler config locations from packages yaml
2024-03-13 10:26:49 -07:00
Gregory Becker
2129eca951
fix compilers init_config
2024-03-13 10:23:35 -07:00
Gregory Becker
c920ad14e6
parametrize tests
2024-03-07 17:36:11 -08:00
Gregory Becker
13a0d3cdfa
dedupe compilers from compilers.yaml and packages.yaml
2024-03-07 15:08:34 -08:00
Gregory Becker
c1665567a5
address code review comments
2024-02-06 13:48:49 -08:00
Gregory Becker
7b5e468a5b
address review comments on code style
2024-01-26 13:33:04 -08:00
Gregory Becker
5d7cf204f6
fixup to use method for parsing with concrete version
2024-01-26 13:07:15 -08:00
Gregory Becker
4c3d9ca525
allow @ instead of @= in external compilers
2024-01-26 13:03:15 -08:00
Gregory Becker
7a174666e8
test: fix os.sep for windows
2024-01-25 11:42:45 -08:00
Gregory Becker
37894de044
fixup
2024-01-25 10:13:59 -08:00
Gregory Becker
b5d9e5da63
address windows suffix
2024-01-24 10:41:43 -08:00
Gregory Becker
fea922e92e
fix style for tabs
2024-01-12 15:36:15 -08:00
becker33
39914cc5ef
[@spackbot] updating style on behalf of becker33
2024-01-12 19:39:22 +00:00
Gregory Becker
1a0a4e1237
make compiler reading from packages.yaml more robust
2024-01-11 16:10:46 -08:00
Gregory Becker
5a144722a0
debug message for compiler rm not removing from packages yaml
2024-01-11 09:32:29 -08:00
Gregory Becker
f048fd2a18
test for reading compilers for packages.yaml
2024-01-10 11:26:53 -08:00
Gregory Becker
ee8954ecec
include compilers configured in packages.yaml
2024-01-10 11:26:17 -08:00
Gregory Becker
bf23c83861
clean up relationship between get_compiler_config and all_compilers_config
2024-01-09 11:18:17 -08:00
Massimiliano Culpo
889b729e52
Refactor a test to not use the "working_env" fixture ( #41308 )
...
Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl >
2023-11-29 22:14:57 +01:00
Harmen Stoppels
c06f353f55
Simplify _create_mock_configuration_scopes ( #41318 )
2023-11-29 14:06:41 +01:00
Harmen Stoppels
2c4bc287b8
cuda: fix compiler conflicts ( #41304 )
2023-11-29 12:14:39 +01:00
Massimiliano Culpo
29b75a7ace
Fix an issue with deconcretization/reconcretization of environments ( #41294 )
2023-11-29 09:09:16 +01:00
Massimiliano Culpo
0e65e84768
ASP-based solver: use a unique ID counter ( #41290 )
...
* solver: use a unique counter for condition, triggers and effects
* Do not reset counters when re-running setup
What we need is just a unique ID, it doesn't need
to start from zero every time.
2023-11-28 16:28:54 +01:00
Alec Scott
18efd808da
GoPackage: add new build system for Go packages ( #41164 )
...
Co-authored-by: Tom Scogland <scogland1@llnl.gov >
Co-authored-by: Wouter Deconinck <wdconinc@gmail.com >
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com >
2023-11-28 10:33:46 +01:00
Alec Scott
c482534c1d
CargoPackage: add new build system for Cargo packages ( #41192 )
...
Co-authored-by: Tom Scogland <scogland1@llnl.gov >
2023-11-27 20:15:16 +00:00
Robert Cohn
fbec91e491
handle use of an unconfigured compiler ( #41213 )
2023-11-27 11:57:10 -07:00
Andrey Perestoronin
3d744e7c95
intel-oneapi 2024.0.0: added new version to packages ( #41135 )
...
* oneapi 2024.0.0 release
* oneapi v2 directory support and some cleanups
* sycl abi change requires 2024 compilers for packages that use sycl
---------
Co-authored-by: Robert Cohn <robert.s.cohn@intel.com >
2023-11-27 13:13:04 -05:00
Harmen Stoppels
e0ef78b26e
docs: refer to oci build cache from containers.rst ( #41269 )
2023-11-27 16:36:00 +00:00
Harmen Stoppels
8d0e0d5c77
tests: fix more cases of env variables ( #41226 )
2023-11-27 16:37:31 +01:00
Massimiliano Culpo
343517e794
Improve semantic for packages:all:require ( #41239 )
...
An `all` requirement is emitted for a package if all variants referenced are defined by it. Otherwise, the constraint is rejected.
2023-11-27 12:41:16 +01:00
Michael Kuhn
7db386a018
Fix multi-word aliases ( #41126 )
...
PR #40929 reverted the argument parsing to make `spack --verbose
install` work again. It looks like `--verbose` is the only instance
where this kind of argument inheritance is used since all other commands
override arguments with the same name instead. For instance, `spack
--bootstrap clean` does not invoke `spack clean --bootstrap`.
Therefore, fix multi-line aliases again by parsing the resolved
arguments and instead explicitly pass down `args.verbose` to commands.
2023-11-24 15:56:42 +01:00
Massimiliano Culpo
92d076e683
spack graph: fix coloring with environments ( #41240 )
...
If we use all specs, we won't color correctly build-only dependencies
2023-11-24 10:08:21 +01:00
Massimiliano Culpo
ee0d3a3be2
ASP-based solver: don't error for type mismatch on preferences ( #41138 )
...
This commit discards type mismatches or failures to validate a package preference during concretization. The values discarded are logged as debug level messages. It also adds a config audit to help users spot misconfigurations in packages.yaml preferences.
2023-11-23 11:30:39 +01:00
Harmen Stoppels
61055d9ee5
test_which: do not mutate os.environ
2023-11-22 14:22:37 -08:00
Harmen Stoppels
24a38e6782
setup_platform_environment before package env mods ( #41205 )
...
This roughly restores the order of operation from Spack 0.20,
where where `AutotoolsPackage.setup_build_environment` would
override the env variable set in `setup_platform_environment` on
macOS.
2023-11-22 17:32:13 +01:00
Massimiliano Culpo
3cf7f7b800
ASP-based solver: don't emit spurious debug output ( #41218 )
...
When improving the error message, we started #showing in the
answer set a lot more symbols - but we forgot to suppress the
debug messages warning about UNKNOWN SYMBOLs
2023-11-22 16:06:46 +01:00
Alex Richert
432f5d64e3
Add cxx17_flag to intel.py ( #41207 )
...
* Add cxx17_flag to intel.py
2023-11-21 18:08:02 -07:00
dependabot[bot]
ae38987cb4
build(deps): bump pygments from 2.16.1 to 2.17.1 in /lib/spack/docs ( #41191 )
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.16.1 to 2.17.1.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.16.1...2.17.1 )
---
updated-dependencies:
- dependency-name: pygments
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 01:12:50 -07:00
Massimiliano Culpo
b361ffbe22
spack style: fix isort on sl:7 ( #41133 )
...
Bump the minimum version required for isort. This should fix
an issue reported on Scientific Linux 7, and due to:
https://github.com/PyCQA/isort/issues/1363
2023-11-21 06:24:37 +01:00
John W. Parent
5154d69629
MSVC preview version breaks clingo build ( #41185 )
...
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com >
2023-11-20 21:55:07 +01:00
Harmen Stoppels
55d2ee9160
docs: document how spack picks a version / variant ( #41070 )
2023-11-20 09:00:53 +01:00
Mark Abraham
ec8bd38c4e
Permit packages that depend on Intel oneAPI packages to access sdk ( #41117 )
...
* Permit packages that depend on Intel oneAPI packages to access sdk
* Implement and use IntelOneapiLibraryPackageWithSdk
* Restore libs property to IntelOneapiLibraryPackage
* Conform to style
* Provide new class to infrastructure
* Treat sdk/include as the main include
2023-11-17 14:59:04 +00:00
Tim Wickberg
67c2c80cf4
Use preferred capitalization of "Slurm" ( #41109 )
...
https://slurm.schedmd.com/faq.html#acronym
2023-11-16 22:40:54 +00:00
Massimiliano Culpo
0cde944ccc
Improve the error message for deprecated preferences ( #41075 )
...
Improves the warning for deprecated preferences, and adds a configuration
audit to get files:lines details of the issues.
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com >
2023-11-16 23:30:29 +01:00
Massimiliano Culpo
1e1cb68b84
Add audit check to spot when= arguments using wrong named specs ( #41107 )
...
* Add audit check to spot when= arguments using named specs
* Fix package issues caught by the new audit
2023-11-16 14:19:05 +01:00
Harmen Stoppels
2f24aeb7f6
docs: packages config on separate page, demote bootstrapping ( #41085 )
2023-11-15 15:49:16 +00:00
Massimiliano Culpo
1255620a14
Fix infinite recursion when computing concretization errors ( #41061 )
2023-11-14 14:44:58 +01:00
Massimiliano Culpo
8a8dcb9479
modules: unit-tests without polluted user scope ( #41041 )
2023-11-14 10:29:28 +00:00