Commit graph

21228 commits

Author SHA1 Message Date
Tom Scogland
b63a8b3e27
Speed-up version parsing and comparison (#22973)
The VALID_VERSION regex didn't check that the version string was
completely valid, only that a prefix of it was. This version ensures
the entire string represents a valid version.

This makes a few related changes.

1. Make the SEGMENT_REGEX identify *which* arm it matches by what groups
   are populated, including whether it's a string or int component or a
   separator all at once.

2. Use the updated regex to parse the input once with a findall rather
   than twice, once with findall and once with split, since the version
   components and separators can be distinguished by their group status.

3. Rather than "convert to int, on exception stay string," if the int
   group is set then convert to int, if not then construct an instance
   of the VersionStrComponent class

4. VersionStrComponent now implements all of the special string
   comparison logic as part of its __lt__ and __eq__ methods to deal
   with infinity versions and also overloads comparison with integers.

5. Version now uses direct tuple comparison since it has no per-element
   special logic outside the VersionStrComponent class.

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2021-06-04 09:23:37 +02:00
Jen Herting
ea390198f4
New package: py-ibm-watson (#24115)
* [py-ibm-watson] created template

* [py-ibm-watson] added dependencies

* [py-ibm-watson] Final cleanup

- added homepage
- added description
- removed fixmes
2021-06-03 20:58:17 -06:00
Tamara Dahlgren
fb05d9830a
formetis: Update stand-alone tests to use test stage work directory (#24133) 2021-06-04 02:31:51 +00:00
Tamara Dahlgren
4ad779c4c4
formetis: correct the sha256 (#24131) 2021-06-04 02:27:53 +00:00
Jen Herting
1775383f5f
New package: py-ibm-cloud-sdk-core (#24114)
* [py-ibm-cloud-sdk-core] created template

* [py-ibm-cloud-sdk-core] added dependencies

* [py-ibm-cloud-sdk-core] set minimum python version

* [py-ibm-cloud-sdk-core] added version 3.10.0

* [py-ibm-cloud-sdk-core] Final Cleanup

- added homepage
- added description
- removed fixmes
2021-06-03 21:15:46 -05:00
Desmond Orton
a85bc4eee1
New package: py-haphpipe (#23769)
* New Package:py-haphpipe@1.0.3

* removed llvm restrict. & changed freebayes

* Style fix

* Removed pip, wheel, added url for deps list

* used proper gsutil naming

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* url src for deps, samtools fix

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-06-03 23:58:08 +00:00
Scott Wittenburg
9903d05be9
Pipelines: Fix generation when dep and pkg arch differ (#24089) 2021-06-03 19:26:43 -04:00
Tom Payerle
70c81069ab
Julia zen patch (#24119)
Add LLVM-style CPU name for 'zen'
Map zen => znver1
Fix checksum for @1.5.4
2021-06-03 23:56:21 +02:00
Veselin Dobrev
e4a559a571
CEED v4.0 release (#22735)
* petsc: add hip variant

* libceed: add 0.8, disable occa by default, and let autodetect AVX

Disabling OCCA because backend updates did not make this release and
there are some known bugs so most users won't have reason to use OCCA.

https://github.com/CEED/libCEED/pull/688

* WIP: ceed: 4.0 release

* MFEM package updates (#19748)

* MFEM package updates

* mfem: flake8

* [mfem] Various fixes and tweaks.

[arpack-ng] Add a patch to fix building with IBM XL Fortran.

[libceed] Fix building with IBM XL C/C++.

[pumi] Add C++11 flag for version 2.2.3.

* [mfem] Fix the shared CUDA build.

Reported by: @MPhysXDev

* [mfem] Fix a TODO item

* [mfem] Tweak the AmgX dependencies

* [suite-sparse] Fix the version of the mpfr dependency

* MFEM: add initial HIP support using the ROCmPackage.

* MFEM: add 'slepc' variant.

* MFEM: update the patch for v4.2 for SLEPc.

* mfem: apply 'mfem-4.2-slepc.patch' just to v4.2.

* ceed: apply 'spack style'

* [mfem] Add a patch for mfem v4.2 to work with petsc v3.15.0.

[laghos] Add laghos version 3.1 based on the latest commit in
         the repository; this version works with mfem v4.2.

[ceed] For ceed v4.0 use laghos v3.1.

* [libceed] Explicitly set 'CC_VENDOR=icc' when using 'intel'
          compiler.

* [mfem] Allow pumi >= 2.2.3 with mfem >= 4.2.0.

[ceed] Use pumi v2.2.5 with ceed v4.0.0.

* [ceed] Explicitly use occa v1.1.0 with ceed v4.0.0.
       Use mfem@4.2.0+rocm with ceed@4.0.0+mfem+hip.

* [ceed] Add NekRS v21 as a dependency for ceed v4.0.0.

* [ceed] Fix NekRS version: 21 --> 21.0

* [ceed] Propagate +cuda variant to petsc for ceed v4.0.

* [mfem] Propagate '+rocm' variant to some other packages.

* [ceed] Use +rocm variant of nekrs instead of +hip.

* [ceed] Do not enable magma with ceed@4.0.0+hip.

* [libceed] Fix hip build with libceed@0.8.

* [laghos] For v3.1, use the release .tar.gz file instead of commit.

* Remove cuda & hip variants as they are inherited

* [ceed] Remove comments and FIXMEs about 'magma+hip'.

* [ceed] [libceed] Remove TODOs about occa + hip.

* libceed: use ROCmPackage and +rocm

* petsc: use ROCmPackage for HIP

* libceed, petsc: use CudaPackage

* ceed: forward cuda_arch and amdgpu_target

* [mfem] Use Spack's CudaPackage as a base class; as a result,
       'cuda_arch' values should not include the 'sm_' prefix.
       Also, propagate 'cuda_arch' and 'amdgpu_target' variants
       to enabled dependencies.

* petsc: variant is +rocm, package name is hip

Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Thilina Rathnayake <thilinarmtb@gmail.com>
2021-06-03 11:32:31 -07:00
Manuela Kuhn
8aae76eee0
r-emmeans: add new package (#23991) 2021-06-03 10:37:22 -06:00
Weiqun Zhang
b83f06df0c
amrex: add v21.06 and update maintainers (#24086)
Also add hip build dependency on rocprim.
2021-06-03 09:52:34 -06:00
Matthieu Dorier
7845da58a7
tkrzw: add new package (#24100) 2021-06-03 17:45:05 +02:00
Robert Mijakovic
54bce50a17
m4: add v1.4.19 (#24099)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-06-03 15:01:29 +02:00
Olivier Cessenat
c3898ca3bf
texlive: add v20210305 (#24068) 2021-06-03 04:38:06 -06:00
Tom Vander Aa
1efeb933ec
intel-oneapi-mpi: fix mpicc and related scripts (#23955)
Replace I_MPI_SUBSTITUTE_INSTALLDIR with actual installation prefix
2021-06-03 04:37:35 -06:00
Harmen Stoppels
473e9aa08e
Extend cuda conflicts to cray platform (#24057)
The CUDA compiler conflicts are valid on Cray too, and likely 
on Darwin x86_64 with %gcc and %clang too, so drop platform=linux
2021-06-03 03:46:27 -06:00
Desmond Orton
7e168b8535
py-gsutil: new package (#23970) 2021-06-03 03:40:45 -06:00
Manuela Kuhn
a8c7d9a2ed
r-afex: add new package (#24004) 2021-06-03 03:22:37 -06:00
Seth R. Johnson
a478a8cf9a
flibcpp: add v1.0.1 and smoke test (#24050) 2021-06-03 11:22:06 +02:00
Chuck Atkins
f7c9e497f1
ecp-data-vis-sdk: Disable +fortran for unifyfs (#24096) 2021-06-03 01:55:36 -06:00
eugeneswalker
ef9d3a464f
hdf5: filter compiler wrapper: h5pcc, h5pfc (#24092) 2021-06-03 09:38:15 +02:00
Kai Torben Ohlhus
08a4212ec3
suite-sparse: add v5.10.0 and v5.10.1 (#24097)
Update homepage URL and see release notes:

- https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v5.10.1
- https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v5.10.0
2021-06-03 00:34:25 -06:00
Desmond Orton
038bd61e14
New Package:py-responses (#23972)
* New Package:py-responses

* fixed deps
2021-06-02 21:43:20 -06:00
Desmond Orton
b4e347d2ef
New Package:py-cookies (#24084) 2021-06-02 22:20:56 -05:00
Manuela Kuhn
e1d578299e
r-estimability: add new package (#23990) 2021-06-02 20:28:21 -06:00
Manuela Kuhn
3b148f1192
r-lmertest: add new package (#24000) 2021-06-02 21:03:56 -05:00
Scott Wittenburg
28517deeeb
Pipelines: pass relative artifact paths to child jobs (#24085)
Passing absolute paths from pipeline generate job to downstream rebuild jobs
causes problems when the CI_PROJECT_DIR is not the same for the generate and
rebuild jobs.  This has happened, for example, when gitlab checks out the
project into a runner-specific directory and different runners are chosen
for the generate and rebuild jobs.
2021-06-02 14:20:57 -06:00
Desmond Orton
194c8ee803
py-httplib2:Version update (#23966) 2021-06-02 13:35:09 -05:00
Danny McClanahan
b369ff461a
ensure the staging dir exists for spack stage -p <PATH> (#23963)
* ensure that the stage root exists for `spack stage -p <PATH>`

* add test to verify `spack stage -p <PATH>` works!

* move out shared tmp staging path setup to a fixture to fix the test
2021-06-02 09:56:51 -07:00
Harmen Stoppels
281b0e8c92
py-msgpack: add v1.0.2, v1.0.1 (#24065) 2021-06-02 08:01:45 -06:00
Manuela Kuhn
29554d867f
py-nilearn: add new package (#24055) 2021-06-02 08:37:07 -05:00
Vicente Bolea
410da48e81
vtk-m: add v1.6.0 (#24062)
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-06-02 12:28:44 +02:00
Nic McDonald
e37d663881
sst-core, sst-elements, sst-macro: add v11.0.0 (#24075) 2021-06-02 02:08:17 -06:00
Brian Van Essen
3356c5fc71
lbann, aluminum, hydrogen, dihydrogen: pass cuda_arch to cmake (#24074) 2021-06-02 10:02:23 +02:00
Filippo Spiga
622223823e
Adding NVHPC 21.5 support (#24078) 2021-06-02 01:43:45 -06:00
Axel Huebl
ef47fe53ba
WarpX: 21.06 (#24072)
* WarpX: 21.06

Also fix a little dependency issue in HIP.

* Fix openPMD dependency for no-MPI
2021-06-02 09:35:35 +02:00
Jean-Paul Pelteret
237ff4b2b2
dealii: add v9.3.0 (#24077) 2021-06-02 09:33:34 +02:00
Desmond Orton
90e92bee4c
New package: py-gcs-oauth2-boto-plugin (#23969)
* New package: py-gcs-oauth2-boto-plugin

* Dep fixes
2021-06-01 20:13:44 -06:00
Desmond Orton
b082f12730
New Package:py-sierrapy@0.3.0 (#23768)
* New Package:py-sierrapy@0.3.0

* dep fixes to sierrapy

* further dep fixes
2021-06-01 20:13:27 -06:00
Harmen Stoppels
66013eecd7
Bump pip (#24073) 2021-06-01 20:48:18 -05:00
Jonathan R. Madsen
314329deea
Create pykokkos-base package (#24054) 2021-06-01 19:50:03 +00:00
Harmen Stoppels
e8afc5db15
Fix bug where cmake prefix path on the command line does not include transitive deps (#23965) 2021-06-01 12:45:52 -07:00
Mikael Simberg
690558f927
umpire: add v5.0.1 (#24056) 2021-06-01 20:37:39 +02:00
Michael Kuhn
c90f24d908
gcc: add 9.4.0 (#24064)
This also enables bootstrapping by default since that is what GCC
recommends and what most distributions are doing as well.
2021-06-01 20:22:27 +02:00
Kevin Huck
73c78358a8
apex: updated package, added maintainer (#18569)
Adding versions: 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0
2021-06-01 20:14:18 +02:00
Massimiliano Culpo
50dac14d10
axom: fix typo in conflicts where "^" is missing (#24058) 2021-06-01 19:06:15 +02:00
Massimiliano Culpo
707a3f7df8
Simplified the spack.util.gpg implementation (#23889)
* Simplified the spack.util.gpg implementation

All the classes defined in this Python module,
which were previously used to construct singleton
instances, have been removed in favor of four
global variables. These variables are initialized
lazily, like before.

The API of the module has been unchanged for the
most part. A few tests have been modified to use
the new global names.
2021-06-01 10:05:42 -07:00
Massimiliano Culpo
c6d21fa154
rocksdb: fix typo in dependency condition (#24061)
refers #23503

`spack audit` caught that the "bzip2" variant was not defined.
2021-06-01 08:11:12 -06:00
Massimiliano Culpo
c015e84291
py-elephant: fix typo in dependency condition (#24060)
refers #23503

`spack audit` caught that the "docs" variant was not defined.
2021-06-01 08:10:38 -06:00
Massimiliano Culpo
379482b653
paradiseo: remove dependency that cannot be triggered (#24059)
refers #23503

Spack audit caught that the "doc" variant was not defined,
and doxygen was conditional on it being set.
2021-06-01 15:55:02 +02:00