summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2023-12-01build(deps): bump docutils from 0.18.1 to 0.20.1 in /lib/spack/docs (#38174)dependabot[bot]1-1/+1
Bumps [docutils](https://docutils.sourceforge.io/) from 0.18.1 to 0.20.1. --- updated-dependencies: - dependency-name: docutils 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-12-01build(deps): bump pygments from 2.17.1 to 2.17.2 in /lib/spack/docs (#41212)dependabot[bot]1-1/+1
Bumps [pygments](https://github.com/pygments/pygments) from 2.17.1 to 2.17.2. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/2.17.2/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.17.1...2.17.2) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01build(deps): bump sphinx-rtd-theme in /lib/spack/docs (#41305)dependabot[bot]1-1/+1
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.3.0 to 2.0.0. - [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst) - [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.3.0...2.0.0) --- updated-dependencies: - dependency-name: sphinx-rtd-theme dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01build(deps): bump mypy from 1.7.0 to 1.7.1 in /lib/spack/docs (#41243)dependabot[bot]1-1/+1
Bumps [mypy](https://github.com/python/mypy) from 1.7.0 to 1.7.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30tests: use temporary_store (#41369)Harmen Stoppels1-1/+1
2023-11-30Fix issue with latest mypy (#41363)Massimiliano Culpo1-4/+8
2023-11-30reuse concretization: allow externals from remote when locally configured ↵Harmen Stoppels3-3/+114
(#35975) This looks to me like the best compromise regarding externals in a build cache. I wouldn't want `spack install` on my machine to install specs that were marked external on another. At the same time there are centers that control the target systems on which spack is used, and would want to use external in buildcaches. As a solution, reuse concretization will now consider those externals used in buildcaches that match a locally configured external in packages.yaml. So for example person A installs and pushes specs with this config: ```yaml packages: ncurses: externals: - spec: ncurses@6.0.12345 +feature prefix: /usr ``` and person B concretizes and installs using that buildcache with the following config: ```yaml packages: ncurses: externals: - spec: ncurses@6 prefix: /usr ``` the spec will be reused (or rather, will be considered for reuse...)
2023-11-30tests: add missing mutable db (#41359)Harmen Stoppels1-3/+7
2023-11-30tests: fix side effects of default_config fixture (#41361)Harmen Stoppels2-4/+4
* tests: default_config drop scope * use default_config elsewhere * use parse_install_tree for missing defaults in default config
2023-11-30test_variant_propagation_with_unify_false: missing fixture (#41345)Harmen Stoppels1-1/+1
2023-11-30--scope: lazy defaults (#41353)Harmen Stoppels9-63/+53
2023-11-30use double quotes where spack style finds errors (#41349)Christopher Christofi11-80/+80
2023-11-30Fix a typo in an integrity constraint (#41334)Massimiliano Culpo1-1/+1
2023-11-30argparse: make scope choices lazy s.t. validation in tests works (#41344)Harmen Stoppels46-78/+76
2023-11-30tests: fix issue with os.environ binding (#41342)Harmen Stoppels1-1/+2
2023-11-29Refactor a test to not use the "working_env" fixture (#41308)Massimiliano Culpo3-20/+20
Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl>
2023-11-29Simplify _create_mock_configuration_scopes (#41318)Harmen Stoppels1-6/+6
2023-11-29cuda: fix compiler conflicts (#41304)Harmen Stoppels1-2/+2
2023-11-29Fix an issue with deconcretization/reconcretization of environments (#41294)Massimiliano Culpo2-7/+34
2023-11-28ASP-based solver: use a unique ID counter (#41290)Massimiliano Culpo1-14/+7
* 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-28GoPackage: add new build system for Go packages (#41164)Alec Scott3-0/+109
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-27CargoPackage: add new build system for Cargo packages (#41192)Alec Scott3-14/+114
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
2023-11-27handle use of an unconfigured compiler (#41213)Robert Cohn2-1/+19
2023-11-27intel-oneapi 2024.0.0: added new version to packages (#41135)Andrey Perestoronin3-30/+60
* 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-27docs: refer to oci build cache from containers.rst (#41269)Harmen Stoppels2-0/+11
2023-11-27tests: fix more cases of env variables (#41226)Harmen Stoppels3-115/+105
2023-11-27Improve semantic for packages:all:require (#41239)Massimiliano Culpo5-47/+227
An `all` requirement is emitted for a package if all variants referenced are defined by it. Otherwise, the constraint is rejected.
2023-11-24Fix multi-word aliases (#41126)Michael Kuhn1-3/+5
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-24spack graph: fix coloring with environments (#41240)Massimiliano Culpo1-1/+1
If we use all specs, we won't color correctly build-only dependencies
2023-11-23ASP-based solver: don't error for type mismatch on preferences (#41138)Massimiliano Culpo3-1/+65
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-22test_which: do not mutate os.environHarmen Stoppels1-2/+2
2023-11-22setup_platform_environment before package env mods (#41205)Harmen Stoppels1-5/+6
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-22ASP-based solver: don't emit spurious debug output (#41218)Massimiliano Culpo1-8/+2
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-21Add cxx17_flag to intel.py (#41207)Alex Richert1-0/+8
* Add cxx17_flag to intel.py
2023-11-21build(deps): bump pygments from 2.16.1 to 2.17.1 in /lib/spack/docs (#41191)dependabot[bot]1-1/+1
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-21spack style: fix isort on sl:7 (#41133)Massimiliano Culpo1-1/+1
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-20MSVC preview version breaks clingo build (#41185)John W. Parent1-1/+2
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2023-11-20docs: document how spack picks a version / variant (#41070)Harmen Stoppels4-1/+93
2023-11-17Permit packages that depend on Intel oneAPI packages to access sdk (#41117)Mark Abraham2-0/+30
* 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-16Use preferred capitalization of "Slurm" (#41109)Tim Wickberg2-2/+2
https://slurm.schedmd.com/faq.html#acronym
2023-11-16Improve the error message for deprecated preferences (#41075)Massimiliano Culpo3-7/+53
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-16Add audit check to spot `when=` arguments using wrong named specs (#41107)Massimiliano Culpo1-1/+48
* Add audit check to spot when= arguments using named specs * Fix package issues caught by the new audit
2023-11-15docs: packages config on separate page, demote bootstrapping (#41085)Harmen Stoppels5-547/+553
2023-11-14Fix infinite recursion when computing concretization errors (#41061)Massimiliano Culpo1-2/+9
2023-11-14modules: unit-tests without polluted user scope (#41041)Massimiliano Culpo8-58/+62
2023-11-14build(deps): bump urllib3 from 2.0.7 to 2.1.0 in /lib/spack/docs (#41055)dependabot[bot]1-1/+1
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.1.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.0.7...2.1.0) --- updated-dependencies: - dependency-name: urllib3 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-13info: improve coverage (#41001)Todd Gamblin2-22/+23
Tests didn't cover the new `--variants-by-name` parameter in #40998. Add some parameterization to hit that. This changeset makes me think that the main section-printing loop in `spack info` isn't factored so well. It makes it difficult to pass different arguments to different helper functions. I could break it out into if statements if folks think that would be cleaner.
2023-11-13spack diff: allow hashes from mirrors (#41043)Greg Becker1-0/+2
2023-11-13build(deps): bump black from 23.10.1 to 23.11.0 in /lib/spack/docs (#40967)dependabot[bot]1-1/+1
Bumps [black](https://github.com/psf/black) from 23.10.1 to 23.11.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.1...23.11.0) --- updated-dependencies: - dependency-name: black 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-13Compiler.debug_flags: drop -gz (#40900)Harmen Stoppels3-4/+0
That enables compression of the debug symbols, it doesn't toggle them on or off.