summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-05-05Add spack buildcache push (alias to buildcache create) (#34861)Harmen Stoppels8-50/+66
`spack buildcache create` is a misnomer cause it's the only way to push to an existing buildcache (and it in fact calls binary_distribution.push). Also we have `spack buildcache update-index` but for create the flag is `--rebuild-index`, which is confusing (and also... why "rebuild" something if the command is "create" in the first place, that implies it wasn't there to begin with). So, after this PR, you can use either ``` spack buildcache create --rebuild-index ``` or ``` spack buildcache push --update-index ``` Also, alias `spack buildcache rebuild-index` to `spack buildcache update-index`.
2023-05-05Update tutorial pipeline to Ubuntu 22.04 (#35451)Harmen Stoppels2-9/+11
2023-05-05ci: stop downloading recent gmake (#37458)Harmen Stoppels3-13/+0
2023-05-05Relax environment manifest filename requirements and lockfile identification ↵Chris Green6-33/+92
criteria (#37413) * Relax filename requirements and lockfile identification criteria * Tests * Update function docs and help text * Update function documentation * Update Sphinx documentation * Adjustments per https://github.com/spack/spack/pull/37413#pullrequestreview-1413540132 * Further tweaks per https://github.com/spack/spack/pull/37413#pullrequestreview-1413971254 * Doc fixes per https://github.com/spack/spack/pull/37413#issuecomment-1535976068
2023-05-05binutils: enable debug section compression with zlib by default (#37359)Harmen Stoppels1-0/+16
2023-05-05cc: deal with -Wl,-rpath= without value, deal with NAG (#37215)Harmen Stoppels2-5/+32
Spack never parsed `nagfor` linker arguments put on the compiler line: ``` nagfor -Wl,-Wl,,-rpath,,/path ```` so, let's continue not attempting to parse that.
2023-05-05elfutils: unconditionally depend on zstd (#37368)Harmen Stoppels2-25/+13
2023-05-05meson: change default build type to "release" (#37436)Michael Kuhn2-9/+1
The same was done for CMake in #36679.
2023-05-05spack uninstall: reduce verbosity with named environments (#34001)Harmen Stoppels5-192/+96
2023-05-05deprecate buildcache create --rel, buildcache install --allow-root (#37285)Harmen Stoppels4-19/+21
`buildcache create --rel`: deprecate this because there is no point in making things relative before tarballing; on install you need to expand `$ORIGIN` / `@loader_path` / relative symlinks anyways because some dependencies may actually be in an upstream, or have different projections. `buildcache install --allow-root`: this flag was propagated through a lot of functions but was ultimately unused.
2023-05-05mpich: avoid '-fallow-argument-mismatch' in the compiler wrappers (#33323)Sergey Kosukhin1-12/+14
2023-05-05cleaveland4: add v4.5 (#37319)Alec Scott1-0/+1
2023-05-05Revert "lua: add v5.4.5 (#37334)" (#37431)Alec Scott1-1/+0
This reverts commit 59e2ef6ad64b12fd7f168308f3ac87b7472d2994.
2023-05-05Remove "blacklist" and "whitelist" from module configuration (#37432)Massimiliano Culpo6-154/+21
The sections were deprecated in v0.19
2023-05-04Allow choosing the name of the packages subdirectory in repositories (#36643)Greg Becker5-23/+62
Co-authored-by: becker33 <becker33@users.noreply.github.com>
2023-05-04intel-oneapi-mkl: include mpi libs when using +cluster (#37386)Robert Cohn1-1/+4
2023-05-04Place an upper bound on urllib3 to build docs (#37433)Massimiliano Culpo1-0/+1
2023-05-04iperf2: Add new versions 2.1.{7,8,9} (#37408)Jack Morrison1-0/+3
2023-05-04detect ifx 2023.1, add test (#37377)Robert Cohn2-1/+6
2023-05-04py-amici, py-python-libsbml: new packages (#35532)Erik Heeren2-0/+68
* py-amici, py-python-libsbml: new packages * Apply suggestions from code review Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Swig and cmake are build-only dependencies * cmake as a run dependency after all * py-amici: default boost and hdf5 variants to True --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-05-04perl: fix jobserver job issue (#37428)Harmen Stoppels1-0/+6
When building perl with posix jobserver, it seems to eat jobs, which reduces parallelism to 1 in many cases, and is rather annoying. This is solved in GNU Make 4.4 (fifo is more stable than file descriptors), but that version is typically not available. So, fix this issue by simply unsetting MAKEFLAGS for the duration of ./Configure. That's enough, and the build phase runs perfectly in parallel again.
2023-05-04cmake build system: change default build type to `Release` (#36679)Massimiliano Culpo26-175/+5
This switches the default Make build type to `build_type=Release`. This offers: - higher optimization level, including loop vectorization on older GCC - adds NDEBUG define, which disables assertions, which could cause speedups if assertions are in loops etc - no `-g` means smaller install size Downsides are: - worse backtraces (though this does NOT strip symbols) - perf reports may be useless - no function arguments / local variables in debugger (could be of course) - no file path / line numbers in debugger The downsides can be mitigated by overriding to `build_type=RelWithDebInfo` in `packages.yaml`, if needed. The upside is that builds will be MUCH smaller (and faster) with this change. --------- Co-authored-by: Gregory Becker <becker33@llnl.gov>
2023-05-04Update vendored ruamel.yaml to v0.17.21 (#37008)Massimiliano Culpo73-8601/+15044
* Vendor ruamel.yaml v0.17.21 * Add unit test for whitespace regression * Add an abstraction layer in Spack to wrap ruamel.yaml All YAML operations are routed through spack.util.spack_yaml The custom classes have been adapted to the new ruamel.yaml class hierarchy. Fixed line annotation issue in "spack config blame"
2023-05-04Remove the old spec format in configuration (#37425)Massimiliano Culpo2-303/+1
The format was deprecated in v0.15
2023-05-04Add pika 0.15.0 (#37403)Mikael Simberg1-0/+1
2023-05-04Deprecate `env:` as top level environment key (#37424)Massimiliano Culpo6-61/+68
2023-05-04acfl: add compiler-package mapping and fix version number (#36768)Annop Wongwathanarat3-16/+5
2023-05-04buildcache metadata: store hash -> prefix mapping (#37404)Harmen Stoppels1-18/+22
This ensures that: a) no externals are added to the tarball metadata file b) no externals are added to the prefix to prefix map on install, also for old tarballs that did include externals c) ensure that the prefix -> prefix map is always string to string, and doesn't contain None in case for some reason a hash is missing
2023-05-04Add patches for generic context coroutine stack allocation in pika on macos ↵Mikael Simberg6-0/+73
(#37288)
2023-05-04cabana: Add optional silo build (#37393)Sam Reeve1-1/+3
2023-05-03py-lightly: add v1.4.4 (#37406)Adam J. Stewart1-0/+1
2023-05-03docs: update RHEL/CentOS system prerequisites (#36720)Bryce Torcello1-6/+3
2023-05-03libjwt: add v1.15.2 (#37333)Alec Scott1-0/+1
2023-05-03mii: add v1.1.2 (#37335)Alec Scott1-0/+1
2023-05-03texinfo: add v7.0.3 (#37348)Alec Scott1-0/+1
2023-05-03py-mne: add 1.3.1 (#37399)Manuela Kuhn1-2/+1
2023-05-03py-neurora: add 1.1.6.9 (#37398)Manuela Kuhn1-0/+1
2023-05-03py-neurokit2: add 0.2.4 (#37396)Manuela Kuhn1-0/+1
2023-05-03py-bidskit: add 2023.2.16 (#37395)Manuela Kuhn1-0/+1
2023-05-03py-nilearn: add 0.10.1 (#37394)Manuela Kuhn1-4/+6
2023-05-03perl-module-install: add v1.21 (#37341)Alec Scott1-0/+1
2023-05-03Add 'zypper' to the valid container.os_packages options (#36681)Egbert Eich3-2/+27
Signed-off-by: Egbert Eich <eich@suse.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> Co-authored-by: e4t <e4t@users.noreply.github.com>
2023-05-03Allow adding specs to an environment without the 'specs' attribute (#37378)Massimiliano Culpo2-2/+24
2023-05-03remove unused global in bindist tests (#37358)Harmen Stoppels2-10/+0
* remove unused global in bindist tests * remove unused function
2023-05-03Intel MPI Benchmarks 'IMB-P2P' is available for versions newer than 2018. ↵Jack Morrison1-1/+1
(#37360)
2023-05-03buildcache push: improve printing (#36141)Scott Wittenburg9-224/+284
2023-05-03intel-tbb: Add versions 2021.8.0 and 2021.9.0 (#37391)Tim Haines1-0/+2
2023-05-02libintl, iconv, gettext: account for libc provider and externals (#35450)Chris Green39-127/+243
* libiconv can be provided by libc, so update packages which depend on libiconv to require the iconv virtual instead * Many packages need special consideration when locating iconv depending on whether it is provided by libc (no prefix provided) or the libiconv package (in that case we want to provide a prefix) * It was also noticed that when an iconv external was provided, that there was interference with linking (this should generally be handled by Spack's compiler wrappers and bears further investigation) * Like iconv, libintl can be provided by libc or another package, namely gettext. It is not converted to a provider like libiconv because it provides additional routines. The logic is similar to that of iconv but instead of checking the provider, we check whether the gettext installation includes libintl.
2023-05-02Guard use of OpenMP in rocblas test (#36673)renjithravindrankannath2-1/+415
* Provide openmp from rocm-open-extras for roblas test * Addressing the prechecks/audit/package-audits check * Correcting style check errors. * rocm-openmp-extras path veriable restricting for test * Correcting the env variable to run_tests * Guard use of OpenMP to make it optional in rocblas test * Removing unused patch
2023-05-02trilinos: add version 14.0.0 (#37387)Zack Galbreath1-0/+1