summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-13py-pytorch-lightning: add v1.6.5 (#31548)Adam J. Stewart1-0/+1
2022-07-13Tower Agent / Tower CLI: new packages (#31539)Marco De La Pierre3-0/+64
2022-07-12`spack.repo.get()` can only be called on concrete specs (#31411)Massimiliano Culpo79-1560/+1239
The goal of this PR is to make clearer where we need a package object in Spack as opposed to a package class. We currently instantiate a lot of package objects when we could make do with a class. We should use the class when we only need metadata, and we should only instantiate and us an instance of `PackageBase` at build time. Modifications: - [x] Remove the `spack.repo.get` convenience function (which was used in many places, and not really needed) - [x] Use `spack.repo.path.get_pkg_class` wherever possible - [x] Try to route most of the need for `spack.repo.path.get` through `Spec.package` - [x] Introduce a non-data descriptor, that can be used as a decorator, to have "class level properties" - [x] Refactor unit tests that had to be modified to reduce code duplication - [x] `Spec.package` and `Repo.get` now require a concrete spec as input - [x] Remove `RepoPath.all_packages` and `Repo.all_packages`
2022-07-12trilinos: add new release 13.4.0 and use sha256 instead of commit hashes ↵Seth R. Johnson1-4/+5
(#31277)
2022-07-12spiner: update dependencies (#31486)Richard Berger1-2/+2
2022-07-12py-nbmake: add v1.3.0; py-nbclient: add v0.6.6, 0.5.13; py-traitlets: add ↵Adam J. Stewart3-11/+36
v5.3.0 (#31513) * py-nbmake: add v1.3.0 * Add newer versions
2022-07-12amdblis: add 3.2 (#31518)Carlos Bederián1-0/+1
2022-07-12amdlibflame: add 3.2 (#31519)Carlos Bederián1-0/+1
2022-07-12amdfftw: add 3.2 (#31520)Carlos Bederián1-0/+1
2022-07-12fixed the cgal recipe and added the latest release. (#31523)nicolas le goff1-1/+11
* fixed the cgal recipe and added the latest release. * Update var/spack/repos/builtin/packages/cgal/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * updated cgal recipe to new URL for tarballs Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-07-12file_cache.py: idempotent remove without races (#31477)Harmen Stoppels2-4/+19
There's a race condition in `remove()` as the lockfile is removed after releasing the lock, which is a problem when another process acquires a write lock during deletion. Also simplify life a bit in multiprocessing when a file is possibly removed multiple times, which currently is an error on the second deletion, so the proposed fix is to make remove(...) idempotent and not error when deleting non-existing cache entries. Don't tests for existence of lockfile, cause windows/linux behavior is different
2022-07-12compression.py: buffered copy (#31533)Harmen Stoppels1-3/+4
2022-07-12arm-forge: add 22.0.2 and 22.0.3. (#31432)RichardABunt1-0/+6
2022-07-12lammps package: added fftw_precision variant (#31459)Marco De La Pierre1-6/+12
2022-07-12WarpX: 22.07 (#31508)Axel Huebl2-1/+3
Update `warpx` & `py-warpx` to the latest release, `22.07`.
2022-07-12environment.py: only acquire write lock when necessary (#31493)Harmen Stoppels1-3/+4
2022-07-12OpenMX: add v3.9 (#31466)marcosmazz1-14/+30
Co-authored-by: Marcos Mazzini - <mmazzini@serafin.ccad.unc.edu.ar>
2022-07-12py-gevent: deprecated compiler flags (#31469)Stephen Sachs2-0/+17
Co-authored-by: Stephen Sachs <stesachs@amazon.com>
2022-07-12abseil: add v20220623 (#31507)miheer vaidya1-0/+1
2022-07-12amr-wind: add "ascent" variant (#31376)Nicholas Brunhart-Lupo1-1/+15
2022-07-12env depfile: add missing touch (#31494)Harmen Stoppels1-0/+1
Oversight in #31433, the non-phony `env` target was missing a file being created for it, which can cause make to infinitely loop when including multiple generated makefiles.
2022-07-12cuda: New version 11.5.2 (#31463)Erik Schnetter1-0/+4
2022-07-12build(deps): bump actions/setup-python from 4.0.0 to 4.1.0 (#31526)dependabot[bot]4-19/+19
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/d09bd5e6005b175076f227b13d9730d56e9dcfcb...c4e89fac7e8767b327bbad6cb4d859eda999cf08) --- updated-dependencies: - dependency-name: actions/setup-python 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>
2022-07-12hpcviewer: add v2022.06 (#31532)Mark W. Krentel1-0/+4
2022-07-12Remove os.getcwd from function signature (#31480)Massimiliano Culpo1-3/+2
fixes #29730 This is also wrong since it binds the directory at the time of module import, rather than the one at the time of function call.
2022-07-12Sanitize ownership when extracting tarfiles (#31524)Jonathon Anderson1-3/+9
2022-07-11py-hatchling: add new packages, document new build backend (#31512)Adam J. Stewart3-2/+72
* py-hatchling: add new package, document new build backend * Minor doc changes Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-07-11glib: add 2.72.3 (#31516)Michael Kuhn1-0/+1
2022-07-11Fix for sanity check failure in spack upstream code: atmi, hip-rocclr (#31454)renjithravindrankannath2-7/+9
* Fix for sanity check failure in spack upstream code * Style check failure correction * Correction as per the review comments
2022-07-11Metall package: add v0.21 (#31482)Keita Iwabuchi1-0/+1
* Metall package: add dependency to GCC for build test * Package Metall: add v.017 * Package Metall: update the package file * Update var/spack/repos/builtin/packages/metall/package.py Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> * Metall package: add v0.18 and v0.19 * Metall Package: add v0.20 * Metall package: add v0.21 Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>
2022-07-11ports-of-call: new version 1.2.0, simplify (#31485)Richard Berger1-1/+2
2022-07-11[cppcodec] new package (#31506)miheer vaidya1-0/+20
2022-07-11py-mypy: add v0.961 (#31503)Adam J. Stewart1-1/+10
2022-07-11py-gpytorch: add v1.7.0 (#31504)Adam J. Stewart1-0/+4
2022-07-11py-numpy: add v1.23.1 (#31510)Adam J. Stewart1-0/+1
* py-numpy: add v1.23.1 * Remove packaging dep
2022-07-11py-torchgeo: add v0.3.0 (#31514)Adam J. Stewart1-45/+65
2022-07-11ucx: add 1.13.0 (#31517)Carlos Bederián1-0/+1
2022-07-11julia: fix patch (#31515)Michael Kuhn1-1/+1
2022-07-10man-db: Don't use DESTDIR (#31492)Harmen Stoppels1-7/+4
2022-07-08openssl: New version 1.1.1q (#31487)Erik Schnetter1-2/+4
2022-07-08py-setuptools: add v63.0.0 (#31444)Adam J. Stewart1-0/+1
2022-07-08vim: deprecate 9.0.0000, add 9.0.0045 (#31490)Harmen Stoppels1-1/+2
2022-07-07py-panaroo, py-edlib, and py-intbitset: new packages (#31452)Luke Diorio-Toth3-0/+78
2022-07-07Package/py phylophlan (#31422)Erin Newcomer1-0/+27
* py-phylophlan: new package * py-phyloseq: new package * py-phylophlan: style fix * py-phylophlan: fixed dependencies * py-phylophlan: style fix
2022-07-07OpenBabel: Make building with GUI an option (#31456)Tamara Dahlgren1-0/+3
2022-07-07Fix spack edit message when no editor installed (#31412)Cory Bloor2-1/+15
When no default editor is installed and no environment variable is set, which_string would return None and this would be passed to os.execv resulting in a TypeError. The message presented to the user would be: Error: execv: path should be string, bytes or os.PathLike, not NoneType This change checks that which_string has returned successfully before attempting to execute the result, resulting in a new error message: Error: No text editor found! Please set the VISUAL and/or EDITOR environment variable(s) to your preferred text editor. It's not strictly necessary, but I've also changed try_exec to catch all errors rather than just OSErrors. This would have provided slightly more context for the original error message.
2022-07-07[py-distributed] Add version 2022.2.1 (#31465)Stephen Sachs1-0/+5
2022-07-07py-pytorch-lightning: remove upper bounds on deps (#31443)Adam J. Stewart1-19/+10
2022-07-07mpas-model: Overwrite compiler args in Makefile (#31431)Stephen Sachs1-1/+20
Use 8 byte reals only when `precision=double` is set The pre-defined compilation targets do not follow the usual behavior of Makefiles. Compiler flags are set as strings (not Makefile variables) and as such are not able to be overridden by environment variables. This patch changes the behavior to the expected behavior of a Makefile such that `fflags` etc have the desired effect. Co-authored-by: Stephen Sachs <stesachs@amazon.com>
2022-07-07speexdsp: add pkgconfig dependency (#31455)Ryan Marcellino1-0/+1