summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-10-25containerize: pin the Spack version used in a container (#21910)Massimiliano Culpo22-90/+628
This PR permits to specify the `url` and `ref` of the Spack instance used in a container recipe simply by expanding the YAML schema as outlined in #20442: ```yaml container: images: os: amazonlinux:2 spack: ref: develop resolve_sha: true ``` The `resolve_sha` option, if true, verifies the `ref` by cloning the Spack repository in a temporary directory and transforming any tag or branch name to a commit sha. When this new ability is leveraged an additional "bootstrap" stage is added, which builds an image with Spack setup and ready to install software. The Spack repository to be used can be customized with the `url` keyword under `spack`. Modifications: - [x] Permit to pin the version of Spack, either by branch or tag or sha - [x] Added a few new OSes (centos:8, amazonlinux:2, ubuntu:20.04, alpine:3, cuda:11.2.1) - [x] Permit to print the bootstrap image as a standalone - [x] Add documentation on the new part of the schema - [x] Add unit tests for different use cases
2021-10-25py-avro: new version 1.10.2 (#26927)iarspider1-0/+2
* Add checksum for py-avro@1.10.2 * Update package.py
2021-10-25cuda: add 11.4.1, 11.4.2, 11.5.0. (#26892)Olli Lupton3-4/+21
* cuda: add 11.4.1, 11.4.2, 11.5.0. Note that the curses dependency from cuda-gdb was dropped in 11.4.0. * Update clang/gcc constraints. * Address review, assume clang 12 is OK from 11.4.1 onwards. * superlu-dist@7.1.0 conflicts with cuda@11.5.0. * Update var/spack/repos/builtin/packages/superlu-dist/package.py Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com> Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2021-10-25Add checksum for py-atomicwrites@1.4.0 (#26923)iarspider1-0/+1
2021-10-25draco: new version 7_12_0 (#26907)Kendra Long!1-0/+1
* Add draco-7_12_0 to package file * Update hash to zip version
2021-10-25eospac: new default version 6.5.0 (#26723)Kelly (KT) Thompson1-23/+58
* [pkg][new version] Provide eospac@6.5.0 and mark it as default. * Merge in changes found in #21629 * Mark all alpha/beta versions as deprecated. - Addresses @sethrj's recommendation - Also add a note indicated why these versions are marked this way.
2021-10-25Reduce verbosity of module files warningHarmen Stoppels1-3/+1
1. Currently it prints not just the spec name, but the dependencies + their variants + their compilers + their architectures + ... 2. It's clear from the context what spec the message applies to, so, let's not print the spec at all.
2021-10-25silo: new release 4.11 (#26876)Olivier Cessenat1-2/+17
2021-10-25py-nipype: add 1.7.0 (#26883)Manuela Kuhn1-1/+2
2021-10-25Return early in do_fetch when there is no code or a package is external (#26926)Harmen Stoppels3-7/+32
Co-authored-by: Ryan Krattiger <ryan.krattiger@kitware.com>
2021-10-25virtuals: simplify virtual handlingTodd Gamblin1-16/+5
These three rules in `concretize.lp` are overly complex: ```prolog :- not provider(Package, Virtual), provides_virtual(Package, Virtual), virtual_node(Virtual). ``` ```prolog :- provides_virtual(Package, V1), provides_virtual(Package, V2), V1 != V2, provider(Package, V1), not provider(Package, V2), virtual_node(V1), virtual_node(V2). ``` ```prolog provider(Package, Virtual) :- root(Package), provides_virtual(Package, Virtual). ``` and they can be simplified to just: ```prolog provider(Package, Virtual) :- node(Package), provides_virtual(Package, Virtual). ``` - [x] simplify virtual rules to just one implication - [x] rename `provides_virtual` to `virtual_condition_holds`
2021-10-25Add a unit test to prevent regressionMassimiliano Culpo6-2/+56
2021-10-25ASP-based solver: a package eligible to provide a virtual must provide itMassimiliano Culpo1-0/+5
fixes #26866 This semantics fits with the way Spack currently treats providers of virtual dependencies. It needs to be revisited when #15569 is reworked with a new syntax.
2021-10-25berkeleygw: force openmp propagation on some providers of blas / ffw-api ↵Miguel Dias Costa1-7/+8
(#26918)
2021-10-24hyperfine: new package (#26901)Michael Kuhn1-0/+23
2021-10-24Add new math solver versions (#26903)Satish Balay5-0/+7
* tasmanian: add @7.7 * butterflypack: add @2.0.0 * pflotran: add @3.0.2 * alquimia: add @1.0.9 * superlu-dist: add @7.1.1
2021-10-24meson: add 0.60.0 (#26921)Michael Kuhn1-0/+1
2021-10-24Mark flaky test_ci_rebuild as xfail (#26911)Scott Wittenburg1-0/+1
2021-10-24Fix pkg-config dependencies (#26912)Michael Kuhn9-9/+9
pkg-config and pkgconf are implementations of the pkgconfig provider.
2021-10-24glib: add 2.70.0 (#26915)Michael Kuhn2-1/+33
2021-10-24gcc: support alternate mechanism for providing GCC rpaths (#26590)Seth R. Johnson1-6/+59
* gcc: support runtime ability to not install spack rpaths Fixes #26582 . * gcc: Fix malformed specs file and add docs The updated docs point out that the spack-modified GCC does *not* follow the usual behavior of LD_RUN_PATH! * gcc: fix bad rpath on macOS This bug has been around since the beginning of the GCC package file: the rpath command it generates for macOS writes a single (invalid) rpath entry. * gcc: only write rpaths for directories with shared libraries The original lib64+lib was just a hack for "in case either has one" but it's easy to tell whether either has libraries that can be directly referenced.
2021-10-24python: add 3.9.7, 3.8.12, 3.7.12 and 3.6.15 (#26914)Michael Kuhn1-1/+5
2021-10-24py-vermin: add latest version 1.3.1 (#26920)Morten Kristensen2-2/+3
* py-vermin: add latest version 1.3.1 * Exclude line from Vermin since version is already being checked for Vermin 1.3.1 finds that `encoding` kwarg of builtin `open()` requires Python 3+.
2021-10-23flux-core, -sched: update to latest versions, fix czmq build error (#26840)Mark Grondona3-1/+77
* flux-core: fix compile error with czmq_containers * Fix build with clang and gcc-11 Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
2021-10-22[py-emcee] added versions 3.0.2 and 3.1.1 (#26910)Jen Herting1-1/+6
* [py-emcee] added version 3.0.2 * [py-emcee] added version 3.1.1
2021-10-22E4S amd64 CI: add parsec (#26906)eugeneswalker1-0/+1
2021-10-22acts: fix misspelled variant in depends_on (#26904)Wouter Deconinck1-1/+1
Correct variant is plural `unit_tests`.
2021-10-22Document backport in py (#26897)Harmen Stoppels1-0/+2
2021-10-22Update py-aiohttp to 3.7.4 and py-chartdet to 4.0 (#26893)iarspider2-1/+7
* Update py-aiohttp to 3.7.4 and py-chartdet to 4.0 * Changes from review * Update package.py * Update var/spack/repos/builtin/packages/py-chardet/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-10-22Use pypi for astroid; add versions 2.7.3 and 2.8.3; update dependencies (#26900)iarspider1-16/+22
* Use pypi for astroid; add versions 2.7.3 and 2.8.3; update dependencies * py-six is not required for recent versions
2021-10-22acts: add v14.0.0, v14.1.0 added "python" and "analysis" variants (#26657)Wouter Deconinck1-0/+13
2021-10-22py-sfepy: fix version 2021.3 tar.gz hash (#26890)Robert Cimrman1-1/+1
2021-10-22Add py-asn1crypto@1.4.0 (#26895)iarspider1-0/+1
2021-10-22py-jupyterlab: add 3.1.18 and 3.2.1 (#26896)Manuela Kuhn1-0/+2
2021-10-22Shorten long shebangs only if the execute permission is set (#26899)Harmen Stoppels2-0/+54
The OS should only interpret shebangs, if a file is executable. Thus, there should be no need to modify files where no execute bit is set. This solves issues that are e.g. encountered while packaging software as COVISE (https://github.com/hlrs-vis/covise), which includes example data in Tecplot format. The sbang post-install hook is applied to every installed file that starts with the two characters #!, but this fails on the binary Tecplot files, as they happen to start with #!TDV. Decoding them with UTF-8 fails and an exception is thrown during post_install. Co-authored-by: Martin Aumüller <aumuell@reserv.at>
2021-10-22Backport #186 from py-py to fix macOS failures (#26653)Harmen Stoppels1-3/+3
Backports the relevant bits of https://github.com/pytest-dev/py/commit/0f77b6e66f79c07dbb657e2b4a7e94263eacc01b
2021-10-22Remove hard-coded repository in centos6 unit test (#26885)Harmen Stoppels1-4/+4
This makes it easier to run tests in a fork.
2021-10-22Add GCS Bucket Mirrors (#26382)Doug Jacobsen5-0/+375
This commit contains changes to support Google Cloud Storage buckets as mirrors, meant for hosting Spack build-caches. This feature is beneficial for folks that are running infrastructure on Google Cloud Platform. On public cloud systems, resources are ephemeral and in many cases, installing compilers, MPI flavors, and user packages from scratch takes up considerable time. Giving users the ability to host a Spack mirror that can store build caches in GCS buckets offers a clean solution for reducing application rebuilds for Google Cloud infrastructure. Co-authored-by: Joe Schoonover <joe@fluidnumerics.com>
2021-10-22heffte: new version with rocm (#26878)Miroslav Stoyanov1-1/+6
2021-10-21scr/veloc: component releases (#26716)Cameron Stanavige8-67/+155
* scr/veloc: component releases Update the ECP-VeloC component packages in preparation for an upcoming scr@3.0rc2 release. All - Add new release versions - Add new `shared` variant for all components - Add zlib link dependency to packages that were missing it - Add maintainers - Use self.define and self.define_from_variant to clean up cmake_args axl - Add independent vendor async support variants rankstr - Update older version sha that fails checksum on install * Fix scr build error Lock dependencies for scr@3.0rc1 to the versions released at the same time.
2021-10-21Add vacuumms package (#26838)Frank Willmore1-0/+25
2021-10-21py-sfepy: add v2021.3 (#26865)Robert Cimrman1-2/+15
2021-10-21py-neurokit2: add 0.1.4.1 (#26871)Manuela Kuhn1-1/+3
* py-neurokit2: add 0.1.4.1 * Update var/spack/repos/builtin/packages/py-neurokit2/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-10-21update E4S CI environments in preparation for 21.11 release (#26826)eugeneswalker2-283/+34
* update E4S CI environments in preparation for 21.11 release * e4s ci env: use clingo
2021-10-21[py-pyprecice] add v2.3.0.1 and fix hash of v2.2.1.1 (#26846)Alexander Jaust1-1/+3
2021-10-21Make 'spack location -e' print the current env, and 'spack cd -e' go to the ↵Harmen Stoppels2-21/+26
current env (#26654)
2021-10-21vtk: make use of system GLEW dependent on osmesa being disabled. (#26764)Eric Brugger1-1/+1
2021-10-21libabigail: support source install (#26807)Vanessasaurus2-34/+16
Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-10-21kassiopeia: add v3.8.0; new variants log4cxx, boost (#26841)Wouter Deconinck1-0/+20
2021-10-21Make superlu-dist@7.1.0 request CMake 3.18.1 or newer (#26849)Alexander Jaust1-0/+1