summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2023-12-12mysql: fix issue when using old core API call (#41573)Massimiliano Culpo1-3/+1
MySQL was performing a core API call to `Spec.flat_dependencies` when setting up the build environment. This function is an implementation detail of the old concretizer, where multiple nodes from the same package are not allowed. This PR uses a more idiomatic way to check if "python" is in the DAG. For reference, see #11356 to check why the call was introduced.
2023-12-11Bump up the version for ROCm-5.7.0 and ROCm-5.7.1 releases. (#40724)Sreenivasa Murthy Kolam1-0/+4
* initial commit for rocm-5.7.0 and 5.7.1 releases * bump up ther version for 5.7.0 and 5.7.1 releases * update recipes to support 5.7.0 and 5.7.1 releases * bump up the version for ROCm 5.7.0 and ROCm-5.7.1 releases * bump up the version for composable-kernel amd miopen-hip * fix style errors * fix style errors in hip etc * renaming composable-kernel recipe * changes for composable_kernel * Revert "renaming composable-kernel recipe" This reverts commit 0cf6c6debfc7b12014f514af26144132ae187e71. * Revert "changes for composable_kernel" This reverts commit 05272a10a79cc14dc9c1afbda8fa4de87ea672ad. * bump up the version for hiprand * using the checksum for hiprand-5.7.1 * bump up the version for 5.7.0 and 5.7.1 releases * fix style errors * fix merge conflicts with the develop. * temp workaround for the error seen with rocm-5.7.0 when trying to generate the dependency file for runtime/legion/legion_redop.cu * fix build issue(work around) with legion * add patch for migraphx package to turn off ck * update to hip recipe * fix hip-path detection inside llvm clang driver * update llvm-amdgpu and rocm-validation-suite recipes * fix style errors * bump up the version for amdsmi for rocm-5.7.0 release * add support for gfx941,gfx942 for rocm-5.7.0 release onwards * revert changes to rocm.py file * added gfx941 and gfx942 to rocm.py and add the gfx942 to kokkos and new checksum the new version seem to support gfx942 * bump up the version for rccl for 5.7.1 * update the patch for rocm-openmp-extras for 5.7.0 * update mivisionx recipe for 5.7.0 release * add new dependencies for rocfft tests * port the fix for avx build, the start address of values_ buffer in KernelParameters is not correct as it is computed based on 16-byte alignment * set HIP_PATH=ROCM_PATH for 5.7.0 onwards * address review comments * revert adding xnack- and xnack+ to gfx940,gfx941,gfx942 as the prechecks were failing
2023-12-11Build cache: make signed/unsigned a mirror property (#41507)Harmen Stoppels10-52/+214
* Add `signed` property to mirror config * make unsigned a tri-state: true/false overrides mirror config, none takes mirror config * test commands * Document this * add a test
2023-12-11Add missing build-system/custom phases to the CDash map (#41439)Tamara Dahlgren1-4/+17
2023-12-11Link to GitHub Action spack/setup-spack in docs (#41509)Harmen Stoppels1-78/+4
2023-12-11unit tests: replace /bin/bash with /bin/sh (#41495)Harmen Stoppels3-10/+10
2023-12-11Fix filter_compiler_wrapper where compiler is None (#41502)Dave Keeshan1-1/+1
Fix filer_compiler_wrapper for cases where the compiler returned in None, this happens on some installed gcc systems that do not have fortran built into them as standard, e.g. gcc@11.4.0 on ubuntu 22.04
2023-12-11commands: better install status help formatting (#41527)Todd Gamblin1-4/+5
Before (hard to read, doesn't fit on small terminals): : ```console -I, --install-status show install status of packages packages can be: installed [+], missing and needed by an installed package [-], installed in an upstream instance [^], or not installed (no annotation) ``` After (fits in 80 columns): ```console -I, --install-status show install status of packages [+] installed [^] installed in an upstream - not installed [-] missing dep of installed package ```
2023-12-08Add logic to cache the RPATH variables in CachedCMakePackages. (#41417)Brian Van Essen1-0/+17
2023-12-07cce compiler: remove vestigial compiler names (#41303)Greg Becker1-4/+4
2023-12-07add missing endtime property to CDash (#41498)Tamara Dahlgren1-0/+1
2023-12-07Fix cdash reporter time stamps (#38825)Victor Brunini1-7/+7
* Fix cdash reporter time stamps (#38818). The cdash reporter is created before packages are installed so save the starttime then instead of the endtime. * Use endtime instead of starttime for the endtime of update --------- Co-authored-by: Tamara Dahlgren <dahlgren1@llnl.gov>
2023-12-07freebsd (#41480)Harmen Stoppels1-0/+2
2023-12-07traverse.py: use > 0 instead of >= 0 (#41482)Ataf Fazledin Ahamed1-1/+1
Signed-off-by: fazledyn-or <ataf@openrefactory.com>
2023-12-07Do not use depfile in bootstrap (#41458)Jordan Galby2-32/+10
- we don't have a fallback if make is not installed - we assume file system locking works - we don't verify that make is gnu make (bootstrapping fails on FreeBSD as a result) - there are some weird race conditions in writing spack.yaml on concurrent spack install - the view is updated after every package install instead of post environment install.
2023-12-07audit: forbid nested dependencies in depends_on declarations (#41428)Massimiliano Culpo1-2/+26
Forbid nested dependencies in depends_on declarations, by running an audit in CI. Fix the packages not passing the new audit: - amd-aocl - exago - palace - shapemapper - xsdk-examples ginkgo: add a commit sha to v1.5.0.glu_experimental
2023-12-06bootstrap: Don't catch Ctrl-C (#41449)Jordan Galby3-5/+23
2023-12-06minimal support for freebsd (#41434)Harmen Stoppels6-9/+76
2023-12-06bootstrap status: no bash (#41431)Harmen Stoppels1-1/+0
2023-12-05CDash: Spack dumps stage errors to configure phase (#41436)psakievich1-0/+19
2023-12-05documentation: add instructions on how to use external opengl (#40987)Billae1-0/+25
2023-12-05spack buildcache check: use same interface as push (#41378)Harmen Stoppels1-8/+19
2023-12-05bugfix: sort variants in `spack info --variants-by-name` (#41389)Todd Gamblin1-1/+1
This was missed while backporting the new `spack info` command from #40326. Variants should be sorted by name when invoking `spack info --variants-by-name`.
2023-12-05extensions: improve docs, fix unit-tests (#41425)Massimiliano Culpo3-56/+68
2023-12-04ci.py: fix missing import (#41391)Harmen Stoppels1-1/+4
2023-12-04PythonPackage: type hints (#40539)Adam J. Stewart1-31/+39
* PythonPackage: nested config_settings, type hints * No need to quote PythonPackage * Use narrower types for now until needed
2023-12-03Windows: fix kit base path and reference to windows registry key (#41388)James Smillie1-2/+10
* Proper handling of argument passed as semicolon-separated str * Fix reference to windows registry key in win-wdk
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