summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-11-11butterflypack: add v3.2.0, strumpack: add v8.0.0 (#47462)Satish Balay2-3/+7
* butterflypack: add v3.2.0 * strumpack: add v8.0.0 * restrict fj patch to @1.2.0 * Update var/spack/repos/builtin/packages/butterflypack/package.py Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
2024-11-11mirrors: allow username/password as environment variables (#46549)kwryankrattiger11-63/+556
`spack mirror add` and `set` now have flags `--oci-password-variable`, `--oci-password-variable`, `--s3-access-key-id-variable`, `--s3-access-key-secret-variable`, `--s3-access-token-variable`, which allows users to specify an environment variable in which a username or password is stored. Storing plain text passwords in config files is considered deprecated. The schema for mirrors.yaml has changed, notably the `access_pair` list is generally replaced with a dictionary of `{id: ..., secret_variable: ...}` or `{id_variable: ..., secret_variable: ...}`.
2024-11-11py-oracledb: add v1.4.2, v2.3.0, v2.4.1 (#47313)v1-4/+10
the py-oracledb package only has a single outdated version available in its recipe. this PR adds a much broader range of versions and their corresponding checksums. * add more versions of py-oracledb * update py-oracledb recipe * add py-cython version dependencies * tweak py-cython version dependencies * remove older versions of py-oracledb
2024-11-11petsc: use --with-exodusii-dir [as exodus does not have 'libs()' to provide ↵Satish Balay1-1/+4
value for --with-exodusii-lib] (#47506)
2024-11-11vbfnlo: add v3.0; depends on tcsh (build) (#47532)Wouter Deconinck1-1/+3
* vbfnlo: depends on tcsh (build) * vbfnlo: add v3.0 * vbfnlo: comment Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch> --------- Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
2024-11-11py-gosam: add v2.1.2 (#47533)Wouter Deconinck1-0/+5
2024-11-11ut: add 2.1.0 and 2.1.1 (#47538)Mikael Simberg1-0/+2
2024-11-11llvm: filter clang-ocl from the executables being probed (#47536)Massimiliano Culpo1-1/+1
This filters any selected executable ending with `-ocl` from the list of executables being probed as candidate for external `llvm` installations. I couldn't reproduce the entire issue, but with a simple script: ``` #!/bin/bash touch foo.o echo "clang version 10.0.0-4ubuntu1 " echo "Target: x86_64-pc-linux-gnu" echo "Thread model: posix" echo "InstalledDir: /usr/bin" exit 0 ``` I noticed the executable was still probed: ``` $ spack -d compiler find /tmp/ocl [ ... ] ==> [2024-11-11-08:38:41.933618] '/tmp/ocl/bin/clang-ocl' '--version' ``` and `foo.o` was left in the working directory. With this change, instead the executable is filtered out of the list on which we run `--version`, so `clang-ocl --version` is not run by Spack.
2024-11-11solver: avoid parsing specs in setupTodd Gamblin5-16/+20
- [x] Get rid of a call to `parser.quote_if_needed()` during solver setup, which introduces a circular import and also isn't necessary. - [x] Rename `spack.variant.Value` to `spack.variant.ConditionalValue`, as it is *only* used for conditional values. This makes it much easier to understand some of the logic for variant definitions. Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl> Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-11-11imports: move `conditional` to `directives.py`Todd Gamblin5-19/+17
`conditional()`, which defines conditional variant values, and the other ways to declare variant values should probably be in a layer above `spack.variant`. This does the simple thing and moves *just* `conditional()` to `spack.directives` to avoid a circular import. We can revisit the public variant interface later, when we split packages from core. Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl> Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-11-11filesystem.py find: return directories and improve performance (#47537)Harmen Stoppels2-57/+49
2024-11-10lua: always generate pcfile without patch and remove +pcfile variant (#47353)Giuncan2-16/+26
* lua: add +pcfile support for @5.4: versions, without using a version-dependent patch * lua: always generate pcfile, remove +pcfile variant from all packages * lua: minor fixes * rpm: minor fix
2024-11-10mbedtls: add v2.28.9, v3.6.2 (fix CVEs) (#46637)Wouter Deconinck1-4/+12
* mbedtls: add v2.28.9, v3.6.1 (fix CVEs) * mbedtls: add v3.6.2
2024-11-10verilator: add v5.030 (#47455)Dave Keeshan1-1/+2
* Add 5.030 and remove the requirement to patch verilator, the problem has be fixed in this rev * Update var/spack/repos/builtin/packages/verilator/package.py Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
2024-11-10GDAL: add v3.10.0 (#47472)Adam J. Stewart1-2/+8
2024-11-10benchmark: enable shared libraries by default (#47368)Stephen Nicholas Swatman1-0/+5
* benchmark: enable shared libraries by default The existing behaviour of Google Benchmark yiels static objects which are of little use for most projects. This PR changes the spec to use dynamic libraries instead. * Add shared variant
2024-11-10py-kornia: add v0.7.4 (#47435)Adam J. Stewart1-0/+1
2024-11-10librdkafka: added missing dependency on curl (#47500)Matthieu Dorier1-0/+3
* librdkafka: added missing dependency on curl This PR adds a missing dependency on curl in librdkafka. * librdkafka: added dependency on openssl and zlib
2024-11-10build(deps): bump types-six in /.github/workflows/requirements/style (#47454)dependabot[bot]1-1/+1
Bumps [types-six](https://github.com/python/typeshed) from 1.16.21.20241009 to 1.16.21.20241105. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-six 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>
2024-11-10Add support for Codeplay AMD Plugin for Intel OneAPI Compilers (#46749)Kaan1-4/+34
* Added support for Codeplay AMD Plugin for Intel OneAPI Compilers * [@spackbot] updating style on behalf of kaanolgu * Adding 2025.0.0 * removed HOME and XDG_RUNTIME_DIR * [@spackbot] updating style on behalf of kaanolgu --------- Co-authored-by: Kaan Olgu <kaan.olgu@bristol.ac.uk>
2024-11-10Add v0.47 (#47456)Dave Keeshan1-0/+1
2024-11-10Disable the optional flexblas support as system flexiblas is possibly used ↵Chris Marsh1-0/+5
as flexiblas is not a depends and the entire build chain to support using flexibls is not setup. As this does not seem to be needed with the spack blas and lapack, it is easier to disable (#47514)
2024-11-10lksctp-tools: added version 1.0.21 (#47493)Matthieu Dorier1-0/+1
Adds version 1.0.21 of lksctp-tools
2024-11-10py-torchmetrics: add v1.5.2 (#47497)Adam J. Stewart1-0/+1
2024-11-09beatnik: add v1.1 (#47361)JStewart281-4/+9
Co-authored-by: Patrick Bridges <patrickb314@gmail.com>
2024-11-09cprnc: set install rpath and add v1.0.8 (#47505)Dom Heinzeller2-0/+21
2024-11-09Revert "upcxx %oneapi@2025: cxxflags add ↵eugeneswalker1-5/+1
-Wno-error=missing-template-arg-list-after-template-kw (#47503)" (#47512) This reverts commit 4322cf56b15a0a088156f5702d44a04e8238b4b3.
2024-11-09ci: ci/all must always run, and fail if any job has status "fail" or ↵Massimiliano Culpo1-4/+22
"canceled" (#47517) This means it succeeds when a both jobs have either status "success" or status "skipped"
2024-11-09root: fix macos build (#47483)Seth R. Johnson1-1/+1
No ROOT `builtin` should ever be set to true if possible, because that builds an existing library that spack may not know about. Furthermore, using `builtin_glew` forces the package to be on, even when not building x/gl/aqua on macos. This causes build failures. Caused by https://github.com/spack/spack/pull/45632#issuecomment-2276311748 .
2024-11-09Revert "fix patched dependencies across repositories (#42463)" (#47519)Todd Gamblin11-80/+12
This reverts commit da1d533877f90610571b72f070c01e13b9729108.
2024-11-08Fix style checks on develop (#47518)Massimiliano Culpo1-1/+2
`mypy` checks have been accidentally broken by #47213
2024-11-08fix patched dependencies across repositories (#42463)Greg Becker11-12/+80
Currently, if a package has a dependency from another repository and patches it, generation of the patch cache will fail. Concretization succeeds if a fixed patch cache is in place. - [x] don't assume that patched dependencies are in the same repo when indexing - [x] add some test fixtures to support multi-repo tests. --------- Signed-off-by: Todd Gamblin <tgamblin@llnl.gov> Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2024-11-08`spack.compiler`/`spack.util.libc`: add caching (#47213)Harmen Stoppels7-37/+227
* spack.compiler: cache output * compute libc from the dynamic linker at most once per spack process * wrap compiler cache entry in class, add type hints * test compiler caching * ensure tests do not populate user cache, and fix 2 tests * avoid recursion: cache lookup -> compute key -> cflags -> real_version -> cache lookup * allow compiler execution in test that depends on get_real_version
2024-11-08upcxx %oneapi@2025: cxxflags add ↵eugeneswalker1-1/+5
-Wno-error=missing-template-arg-list-after-template-kw (#47503)
2024-11-08llnl.util.filesystem: multiple entrypoints and max_depth (#47495)Harmen Stoppels7-113/+457
If a package `foo` doesn't implement `libs`, the default was to search recursively for `libfoo` whenever asking for `spec[foo].libs` (this also happens automatically if a package includes `foo` as a link dependency). This can lead to some strange behavior: 1. A package that is normally used as a build dependency (e.g. `cmake` at one point) is referenced like `depends_on(cmake)` which leads to a fully-recursive search for `libcmake` (this can take "forever" when CMake is registered as an external with a prefix like `/usr`, particularly on NFS mounts). 2. A similar hang can occur if a package is registered as an external with an incorrect prefix - [x] Update the default library search to stop after a maximum depth (by default, search the root prefix and each directory in it, but no lower). - [x] The following is a list of known changes to `find` compared to `develop`: 1. Matching directories are no longer returned -- `find` consistently only finds non-dirs, even at `max_depth` 2. Symlinked directories are followed (needed to support max_depth) 3. `find(..., "dir/*.txt")` is allowed, for finding files inside certain dirs. These "complex" patterns are delegated to `glob`, like they are on `develop`. 4. `root` and `files` arguments both support generic sequences, and `root` allows both `str` and `path` types. This allows us to specify multiple entry points to `find`. --------- Co-authored-by: Peter Scheibel <scheibel1@llnl.gov>
2024-11-08Add missing imports (#47496)Harmen Stoppels3-0/+5
2024-11-08pika: add 0.30.0 (#47498)Mikael Simberg1-0/+1
2024-11-08 `spack env track` command (#41897)Alec Scott5-52/+331
This PR adds a sub-command to `spack env` (`track`) which allows users to add/link anonymous environments into their installation as named environments. This allows users to more easily track their installed packages and the environments they're dependencies of. For example, with the addition of #41731 it's now easier to remove all packages not required by any environments with, ``` spack gc -bE ``` #### Usage ``` spack env track /path/to/env ==> Linked environment in /path/to/env ==> You can activate this environment with: ==> spack env activate env ``` By default `track /path/to/env` will use the last directory in the path as the name of the environment. However users may customize the name of the linked environment with `-n | --name`. Shown below. ``` spack env track /path/to/env --name foo ==> Tracking environment in /path/to/env ==> You can activate this environment with: ==> spack env activate foo ``` When removing a linked environment, Spack will remove the link to the environment but will keep the structure of the environment within the directory. This will allow users to remove a linked environment from their installation without deleting it from a shared repository. There is a `spack env untrack` command that can be used to *only* untrack a tracked environment -- it will fail if it is used on a managed environment. Users can also use `spack env remove` to untrack an environment. This allows users to continue to share environments in git repositories while also having the dependencies of those environments be remembered by Spack. --------- Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2024-11-07Revert "filesystem.py: add `max_depth` argument to `find` (#41945)"Harmen Stoppels4-292/+77
This reverts commit 38c8069ab42f44aa9f4779968937fc6842dc2109.
2024-11-07Revert "llnl.util.filesystem.find: restore old error handling (#47463)"Harmen Stoppels1-11/+20
This reverts commit a31c525778773b8c6a6fc35617454d954a05d74d.
2024-11-07Revert "`llnl.util.filesystem.find`: multiple entrypoints (#47436)"Harmen Stoppels4-178/+130
This reverts commit 73219e4b02e6561bbeef379081f63efb0dc78817.
2024-11-07silo package: update patch (#47457)Chris White1-21/+9
Update patch based on LLNL/Silo#319 to fix build of 4.10.2
2024-11-07Add fast farm variant to openfast (#47486)Marc T. Henry de Frahan1-0/+2
2024-11-07spec.py: fix comparison with multivalued variants (#47485)Harmen Stoppels2-1/+5
2024-11-06loki%oneapi@2025: -Wno-error=missing-template-arg-list-after-template-kw ↵eugeneswalker1-0/+2
(#47475)
2024-11-06Add amr-wind versions (#47479)Marc T. Henry de Frahan1-0/+2
2024-11-06legion%oneapi@2025: cxxflags add ↵eugeneswalker1-0/+6
-Wno-error=missing-template-arg-list-after-template-kw (#47478)
2024-11-06slate %oneapi@2025: cxxflags: add ↵eugeneswalker1-0/+6
-Wno-error=missing-template-arg-list-after-template-kw (#47476)
2024-11-06`llnl.util.filesystem.find`: multiple entrypoints (#47436)Harmen Stoppels4-130/+178
You can now provide multiple roots to a single `find()` call and all of them will be searched. The roots can overlap (e.g. can be parents of one another). This also adds a library function for taking a set of regular expression patterns and creating a single OR expression (and that library function is used in `find` to improve its performance).
2024-11-06nalu-wind: fix hypre constraints (#47474)Jon Rood1-3/+3