summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-05-21bugfix for target adjustments on target ranges (#20537)Greg Becker3-15/+20
(cherry picked from commit 61c1b71d38e62a5af81b3b7b8a8d12b954d99f0a)
2021-05-21Move context manager to swap the current configuration into spack.configMassimiliano Culpo3-64/+78
The context manager can be used to swap the current configuration temporarily, for any use case that may need it. (cherry picked from commit 553d37a6d62b05f15986a702394f67486fa44e0e)
2021-05-21Move context manager to swap the current store into spack.storeMassimiliano Culpo3-15/+32
The context manager can be used to swap the current store temporarily, for any use case that may need it. (cherry picked from commit cb2c233a97073f8c5d89581ee2a2401fef5f878d)
2021-05-21repo: generalize "swap" context manager to also accept pathsMassimiliano Culpo16-61/+71
The method is now called "use_repositories" and makes it clear in the docstring that it accepts as arguments either Repo objects or paths. Since there was some duplication between this contextmanager and "use_repo" in the testing framework, remove the latter and use spack.repo.use_repositories across the entire code base. Make a few adjustment to MockPackageMultiRepo, since it was stating in the docstring that it was supposed to mock spack.repo.Repo and was instead mocking spack.repo.RepoPath. (cherry picked from commit 1a8963b0f4c11c4b7ddd347e6cd95cdc68ddcbe0)
2021-05-21sirius: update to the latest version (#23835)Anton Kozhevnikov1-5/+5
2021-05-21Add new versions of giflib (#23588)iarspider1-3/+23
giflib 5.20+ no longer uses autotools Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
2021-05-21Run clingo-cffi tests in a container (#21913)Massimiliano Culpo1-36/+6
There clingo-cffi job has two issues to be solved: 1. It uses the default concretizer 2. It requires a package from https://test.pypi.org/simple/ The former can be fixed by setting the SPACK_TEST_SOLVER environment variable to "clingo". The latter though requires clingo-cffi to be pushed to a more stable package index (since https://test.pypi.org/simple/ is meant as a scratch version of PyPI that can be wiped at any time). For the time being run the tests in a container. Switch back to PyPI whenever a new official version of clingo will be released.
2021-05-21Updates to support clingo-cffi (#20657)Josh Essman2-9/+70
* Support clingo when used with cffi Clingo recently merged in a new Python module option based on cffi. Compatibility with this module requires a few changes to spack - it does not automatically convert strings/ints/etc to Symbol and clingo.Symbol.string throws on failure. manually convert str/int to clingo.Symbol types catch stringify exceptions add job for clingo-cffi to Spack CI switch to potassco-vendored wheel for clingo-cffi CI on_unsat argument when cffi (cherry picked from commit 93ed1a410c4a202eab3a68769fd8c0d4ff8b1c8e)
2021-05-21Improve error message for inconsistencies in package.py (#21811)Massimiliano Culpo4-5/+66
* Improve error message for inconsistencies in package.py Sometimes directives refer to variants that do not exist. Make it such that: 1. The name of the variant 2. The name of the package which is supposed to have such variant 3. The name of the package making this assumption are all printed in the error message for easier debugging. * Add unit tests (cherry picked from commit 7226bd64dc3b46a1ed361f1e9d7fb4a2a5b65200)
2021-05-21concretizer: simplify "fact" method (#21148)Massimiliano Culpo1-23/+5
The "fact" method before was dealing with multiple facts registered per call, which was used when we were emitting grounded rules from knowledge of the problem instance. Now that the encoding is changed we can simplify the method to deal only with a single fact per call. (cherry picked from commit ba42c36f00fe40c047121a32117018eb93e0c4b1)
2021-05-21Python 3.10 support: collections.abc (#20441)Adam J. Stewart19-43/+141
(cherry picked from commit 40a40e0265d6704a7836aeb30a776d66da8f7fe6)
2021-05-21thrust: update repo and add new versions (#23364)Hang Yan1-1/+15
2021-05-21cub: update repo and add new versions (#23363)Hang Yan1-2/+7
2021-05-21Modification to R environment (#23623)Glenn Johnson2-13/+9
* Modification to R environment This PR modifies how the R environmnet is presented, and fixes installing the standalone Rmath library. - The Rmath build and install methods are combined into one - Set parallel=False when installing Rmath - remove the run environment that set up variables for libraries and headers that are not really needed, and pollute the environment. * Add setup_run_environment back - Add back the setup_run_environment with LD_LIBRARY_PATH and PKG_CONFIG_PATH. - Adjust documentation to reflect the current code.
2021-05-21openblas: update Intel patch directive (#23786)Olivier Cessenat1-2/+2
2021-05-21gsl: update external-cblas patch directive (#23787)Olivier Cessenat1-2/+3
2021-05-21ghostscript: add tesseract variant (#23794)Adam J. Stewart1-1/+15
2021-05-21exago: enforcing PETSc version < 3.15 (#23774)Cameron Rutherford1-1/+2
2021-05-21tk: add new version, add macOS patch (#23825)Adam J. Stewart1-0/+8
2021-05-21rdc: add v4.2.0 (#23829)arjun-raj-kuppala1-3/+4
2021-05-20Update the GASNet package (#23796)Dan Bonachea2-94/+145
The previous `gasnet` spack package was not vetted/approved by the GASNet library maintainers. This one is. Notably adds build-time testing and smoke-testing. Convert network variants into a multi-valued `conduits` variant has the minor advantage of enabling a concise `conduits=none` spec, but the major drawback that it degrades the `spack info gasnet` output.
2021-05-20New package: py-reindent (#23828)Glenn Johnson1-0/+19
2021-05-20swig: add smoke tests (#23662)Seth R. Johnson1-0/+42
2021-05-20New Package: visit-silo (#22907)Olivier Cessenat1-0/+86
* New Package: visit-silo * New Package: visit-$n as an extension to VisIt * New Package: visit-$n only as an extension to VisIt
2021-05-20New Package: visit-cgns (#22905)Olivier Cessenat1-0/+97
* New Package: visit-cgns * visit-cgns: extends visit and modifies VISIT_PLUGIN_DIR with a trick
2021-05-20spack: update archspecMassimiliano Culpo3-7/+172
This fixes the detection of Apple M1 and adds virtual levels for x86_64 architectures
2021-05-20minc-toolkit: new package (#23818)Ben Darwin1-0/+35
2021-05-20add ascent 0.7.1 release (#23823)Cyrus Harrison1-2/+6
2021-05-20versions: do not drop 2.0.X if 2.0 is a declared version in the package (#23217)Valentin Volkl2-6/+30
2021-05-20dray package: add version 0.1.6 (#23792)Cyrus Harrison1-0/+1
2021-05-20py-torch: add patch to build on systems with glibc<2.12 (#23806)Adam J. Stewart1-0/+5
2021-05-20opencascade: add v7.4.0p2 and v7.5.2 (#23807)Olivier Cessenat1-2/+6
2021-05-20ants: add v2.3.5 (#23752)Ben Darwin1-1/+9
2021-05-20py-awkward: add version 1.2.3 (#23808)Valentin Volkl4-2/+25
* dlpack: add tagged versions * py-pybind11: add missing test dependency * py-awkward: add version 1.2.3
2021-05-20py-lazyarray: add new version 0.3.2 (#23700)Andreas Baumbach1-0/+6
* py-lazyarray: add new version 0.3.2 Change-Id: Ie8a40f3ff1fe7477e27f6085b9ad6673395258b2 * fixup dependencies Change-Id: I4b2fb7a0abb462f8df74c383c67517065cd95b67 * Update var/spack/repos/builtin/packages/py-lazyarray/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-05-20gnupg: create a gpg2 symlink on install (#23789)Harmen Stoppels1-0/+5
2021-05-20py-py-cpuinfo: add v6.0.0 and v8.0.0 (#23721)Andreas Baumbach1-0/+2
2021-05-20Axom: Small updates and a new version (#23803)Chris White1-10/+36
* Tweak SCR variant, Add 0.5.0, Move flag to flag handler, Add new conduit/axom conflict * flake
2021-05-20vim: add new version (#23730)Andreas Baumbach1-0/+2
2021-05-20Cray: fix extracting paths from module files (#23472)Harmen Stoppels2-3/+13
Co-authored-by: Tiziano Müller <tm@dev-zero.ch>
2021-05-20AMD ROCm 4.2.0: Bump up rocm recipes part 2 (#23779)arjun-raj-kuppala7-21/+140
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-05-20bump up version for rocm-4.2.0 release (#23795)Sreenivasa Murthy Kolam17-47/+90
2021-05-20bump up the version for rocm-4.2.0 release (#23778)Sreenivasa Murthy Kolam6-17/+86
2021-05-20visit: make it extendable for pluginsOlivier Cessenat1-0/+5
2021-05-19findutils: use homebrew trick to build findutils 4.8.0 with apple-clang (#23801)Jon Rood1-4/+6
* Use homebrew trick to build findutils 4.8.0 with apple-clang. * Simplify.
2021-05-19py-pluggy: add versions 0.9.0 and 0.8.1 (#23719)Andreas Baumbach1-0/+2
2021-05-19fio: add 3.26 (#23788)yellowhat1-1/+2
2021-05-19py-mako: add version 1.1.4 (#23718)Andreas Baumbach1-0/+1
2021-05-19add vtk-h 0.7.1 release (#23791)Cyrus Harrison1-0/+1
2021-05-19add conduit 0.7.2 release (#23797)Cyrus Harrison1-0/+1