summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-07py-protobuf: Add version 3.20.0 (#29903)haralmha1-0/+1
2022-04-07Use the non-deprecated `MetaPathFinder` interface (#29745)Massimiliano Culpo10-379/+297
* Extract the MetaPathFinder and Loaders for packages in their own classes https://peps.python.org/pep-0451/ Currently, RepoPath and Repo implement the (deprecated) interface of MetaPathFinder (find_module) and of Loader (load_module). This commit extracts both of them and places the code in their own classes. The MetaPathFinder interface is updated to contain both the deprecated "find_module" (for Python 2.7 support) and the recommended "find_spec". Update of the Loader interface is deferred at a subsequent commit. * Move the lines to be prepended inside "RepoLoader" Also adjust the naming of a few variables too * Remove spack.util.imp, since code is only used in spack.repo * Remove support from loading Python modules Python > 3 but < 3.5 * Remove `Repo._create_namespace` This function was interacting badly with the MetaPathFinder and causing issues with "normal" imports. Removing the function allows to do things like: ```python import spack.pkg.builtin.mpich cls = spack.pkg.builtin.mpich.Mpich ``` * Remove code needed to trigger the Singleton evaluation The finder is coded in a way to trigger the Singleton, so we don't need external code now that we register it at module level into `sys.meta_path`. * Add unit tests
2022-04-07Add checksum for log4cplus@2.0.7 (#29912)iarspider1-0/+1
2022-04-07Add checksum for libxml2@6.2.0 (#29918)iarspider1-0/+1
2022-04-07e4s ci: expand mac mini stack (#29929)eugeneswalker1-2/+2
2022-04-07Add dpcpp version 2021.12 (#29934)Alexander Van Craen1-0/+1
2022-04-07Update ucx to 1.12.0; add variants (#29944)iarspider1-6/+64
2022-04-07Fix OpenMPI external detection logic (#29946)Kyle Gerheiser1-33/+34
MPICH and OpenMPI share the same logic for these and these fixes have already been applied to MPICH. See: https://github.com/spack/spack/pull/29284
2022-04-07Add checksum for rdma-core@39.1 (#29921)iarspider1-4/+9
2022-04-07mpich: no longer a need for custom urls (#29941)Harmen Stoppels1-7/+0
2022-04-07libtool: new version 2.4.7 (#29932)Harmen Stoppels1-0/+2
2022-04-07Add cxxopts version 3.0.0 (#29935)Alexander Van Craen1-0/+1
2022-04-07petaca: add v22.03, update variants (#29752)Peter Brady1-2/+7
2022-04-07ci: clean up env between tests with working_dir (#29807)Scott Wittenburg2-98/+70
2022-04-07ci: do not prune specs when stacks are touched (#29825)Scott Wittenburg1-9/+33
2022-04-07autotools.py: pic flags for %nvhpc (#29920)Harmen Stoppels1-5/+8
2022-04-07python: add 3.10.4, 3.9.12, 3.9.11 (#29927)Carlos Bederián1-1/+4
2022-04-07openmpi: inherit CudaPackage (#29917)Harmen Stoppels1-27/+24
OpenMPI includes cuda_runtime.h, which errors with `#error -- unsupported GNU version! gcc versions later than 9 are not supported!` By inheriting CudaPackage, the proper conflicts between `cuda` and `gcc`/`clang` are added.
2022-04-06Add checksum for py-fonttools@4.26.2 (#29897)Andrea Valenzuela1-1/+3
* Add checksum for fonttools@4.26.2 * Add python 3.6 dependency for py-fonttools@4.26.2 and update to 3.7 as of py-fonttools@4.28 Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Andrea Valenzuela <avalenzu@pccms161.dyndns.cern.ch> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-04-06mesa, mesa18: Package updates (#29573)Chuck Atkins2-23/+58
* mesa, mesa18: Implement the swr variant consistently between mesa and mesa18 * mesa: Bump to 21.3.7 * mesa: Build release by default tie swr to release builds * mesa, mesa18: re-enable the llvm variant by default This reverts the change made in #29360
2022-04-06mfem: fix for mpich@4 (#29913)Harmen Stoppels1-0/+3
2022-04-06web.py: set User-Agent (#29919)Harmen Stoppels1-1/+5
Some servers require `User-Agent` to be set, and otherwise error with access denied. One such example is mpich. To fix this, set `User-Agent: Spackbot/[version]` as a header. Apparently by convention, it should include the word `bot`.
2022-04-06Add pika 0.3.0 (#29916)Mikael Simberg1-0/+1
2022-04-06link_tree.py: format conflict error message (#29870)Harmen Stoppels1-2/+2
Show each `[src a] and [src b] both project to [dst]` on a separate line.
2022-04-06xxhash: add v0.8.1 (#29868)Harmen Stoppels1-0/+1
2022-04-06gdrcopy: add v2.3 (#29874)iarspider1-0/+1
2022-04-06spectre: add v2022.04.04 (#29876)SXS Bot1-0/+1
Co-authored-by: sxs-bot <sxs-bot@users.noreply.github.com>
2022-04-06scotch: @7: no longer builds libptesmumps.so (#29842)Carlos Bederián1-3/+5
2022-04-06WarpX: add v22.04 (#29883)Axel Huebl2-3/+5
Update `warpx` & `py-warpx` to the latest release, `22.04`.
2022-04-06mpiFileUtils: Add missing dependency with attr. (#29886)Rémi Lacroix1-0/+2
This was added in version 0.11.1.
2022-04-06Make dd4hep boost deps explicit (#29890)Hadrien G1-5/+2
2022-04-06claw: enable building with clang@11: and aocc@3: (#29891)Sergey Kosukhin1-6/+4
2022-04-06pika: add hipblas dependency when rocm variant (#29681)Auriane R1-0/+1
Hipblas is now compulsory when building with rocm. Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2022-04-06gdb: depend only on python, not python+debug (#29374)Valentin Volkl1-1/+1
2022-04-06py-awkward: add v1.5.1 and fix rapidjson dependency (#29896)Andrea Valenzuela1-1/+2
Co-authored-by: Andrea Valenzuela <avalenzu@pccms161.dyndns.cern.ch>
2022-04-06libproxy: add perl/python variants (#29875)Seth R. Johnson1-2/+16
2022-04-06h5bench: add v1.2, use git to get submodules, add variants (#29819)Jean Luca Bez1-5/+26
2022-04-06Add checksums for cuDNN 8.3.2, 8.3.3; fix URLs on ARM (#29895)iarspider1-0/+14
2022-04-06build(deps): bump codecov/codecov-action from 2.1.0 to 3 (#29908)dependabot[bot]1-5/+5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/f32b3a3741e1053eb607407145bc9619351dc93b...e3c560433a6cc60aec8812599b7844a7b4fa0d71) --- updated-dependencies: - dependency-name: codecov/codecov-action 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>
2022-04-05Bugfix: CVS fetching (#29793)Erik Schnetter1-2/+7
#27021 broke fetching for CVS-based packages because: - The mirror logic was using URL parsing to extract a path from the CVS repository location - #27021 added sanity checks to enforce that strings passed to the URL parser were actually URLs This replaces the call to "url_util.parse" with logic that is customized for CVS. This implies that VCSFetchStrategy should rename the "url_attr" attribute to something more generic, but that should be handled separately.
2022-04-05It's already established that we want Boost +python above (#29894)Hadrien G1-6/+0
2022-04-05cmake: improve `~/+ownlibs` (#29847)Harmen Stoppels2-34/+29
* remove openssl variant * require internal curl to have external openssl. * Fix dependencies * mono: remove ~openssl reference
2022-04-05mpich: add new releases (#28573)Ken Raffenetti1-0/+11
* mpich: add 3.4.3, 4.0, 4.0.1 * mpich: add url_for_version function For versions 4.0 and up, get tarballs from GitHub. This will help with CI builds, since the MPICH website denies the urllib user-agent from downloading release tarballs. * mpich: disable cuda support MPICH is failing to build in CI due to a configuration script bug in detecting CUDA support. Disable CUDA support by default until we add a proper variant.
2022-04-04cub: new versions (#29878)eugeneswalker1-0/+6
2022-04-04Update exawind openfast dependencies (#29884)psakievich3-3/+3
2022-04-04Allow conditional possible values in variants (#29530)Massimiliano Culpo8-13/+214
Allow declaring possible values for variants with an associated condition. If the variant takes one of those values, the condition is imposed as a further constraint. The idea of this PR is to implement part of the mechanisms needed for modeling [packages with multiple build-systems]( https://github.com/spack/seps/pull/3). After this PR the build-system directive can be implemented as: ```python variant( 'build-system', default='cmake', values=( 'autotools', conditional('cmake', when='@X.Y:') ), description='...', ) ``` Modifications: - [x] Allow conditional possible values in variants - [x] Add a unit-test for the feature - [x] Add documentation
2022-04-04Add shared/static variants to gmp and mpfr (#29836)iarspider2-1/+20
* Add shared/static variants to gmp and mpfr * Update package.py * Update package.py
2022-04-04expat: 2.4.x (#29872)Harmen Stoppels1-0/+2
2022-04-04Build tests/benchmarks only when self.run_tests (#29862)Wouter Deconinck6-0/+12
2022-04-04rewiring of spliced specs (#26873)Nathan Hanford5-3/+288
* tests for rewiring pure specs to spliced specs * relocate text, binaries, and links * using llnl.util.symlink for windows compat. Note: This does not include CLI hooks for relocation. Co-authored-by: Nathan Hanford <hanford1@llnl.gov>