summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-09installation: skip repository metadata for externals (#16954)Greg Becker1-3/+8
When Spack installs a package, it stores repository package.py files for it and all of its dependencies - any package with a Spack metadata directory in its installation prefix. It turns out this was too broad: this ends up including external packages installed by Spack (e.g. installed by another Spack instance). Currently Spack doesn't store the namespace properly for such packages, so even though the package file could be fetched from the external, Spack is unable to locate it. This commit avoids the issue by skipping any attempt to locate and copy from the package repository of externals, regardless of whether they have a Spack repo directory.
2020-07-08add public spack mirror (#17077)Peter Scheibel1-0/+2
2020-07-08new package: ligra (#17425)Sinan1-0/+44
* new package: ligra * setup run environment * tidy up * Update var/spack/repos/builtin/packages/ligra/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/ligra/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/ligra/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * flake8 Co-authored-by: Sinan81 <sbulut@3vgeomatics.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-07-08enable flatcc to be built with gcc@9.X.X (#17430)Frank Willmore1-0/+3
`gcc` 9 and above have more warnings that break the `flatcc` build by default, because `-Werror` is enabled. This loosens the build up so that we can build with more compilers in Spack. - [x] Add `-DFLATCC_ALLOW_WERROR=OFF` to `flatcc` CMake arguments Co-authored-by: Frank Willmore <willmore@anl.gov>
2020-07-08Buildcache: bindist test without invoking spack compiler wrappers. (#15687)Patrick Gartung8-9/+911
* Buildcache: * Try mocking an install of quux, corge and garply using prebuilt binaries * Put patchelf install after ccache restore * Add script to install patchelf from source so it can be used on Ubuntu:Trusty which does not have a patchelf pat package. The script will skip building on macOS * Remove mirror at end of bindist test * Add patchelf to Ubuntu build env * Revert mock patchelf package to allow other tests to run. * Remove depends_on('patchelf', type='build') relying instead on * Test fixture to ensure patchelf is available. * Call g++ command to build libraries directly during test build * Flake8 * Install patchelf in before_install stage using apt unless on Trusty where a build is done. * Add some symbolic links between packages * Flake8 * Flake8: * Update mock packages to write their own source files * Create the stage because spec search does not create it any longer * updates after change of list command arguments * cleanup after merge * flake8
2020-07-08Add missing file (#17426)iarspider1-0/+60
Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
2020-07-08r-usethis: new version and dependencies (#17411)Amjad Kotobi1-1/+6
* r-usethis: new version and dependencies * r-usethis: fix in dependency
2020-07-08Ginkgo: new versions (#17413)tcojean2-0/+14
* Add new Ginkgo versions with HIP support. * Drop HIP support until more ROCm packages are integrated.
2020-07-08spack create: ask how many to download (#17373)Adam J. Stewart3-4/+8
2020-07-08typhon: fix build with Fujitsu compilers (#17424)ketsubouchi1-0/+4
2020-07-08ncl: fix compilation errors with Intel compilers (#17391)TZ1-1/+3
The Intel compilers are more strict and require special command line options (like -std=c99) to properly compile NCL.
2020-07-08Improve Travis sample in the docs (#17420)Simon Byrne1-3/+4
- printf is better than echo for multiline strings - ** should be && - use line continuation - Use multiline block
2020-07-07Fix YODA and Rivet recipes (#17412)iarspider2-6/+53
* Fix Rivet recipe; restrict Yoda versions for a give Rivet version * Fix YODA recipe * More tweaks to YODA version requirements * Flake-8
2020-07-07Relocate rpaths for all binaries, then do text bin replacement if the rpaths ↵Patrick Gartung1-7/+10
still exist after running patchelf/otool (#17418)
2020-07-07oneDNN: add v1.5.1 (#17419)Adam J. Stewart1-1/+2
2020-07-07GDAL: add v3.1.2 (#17416)Adam J. Stewart1-1/+2
2020-07-07CudaPackage: maintainers are listed in the docstring (#17409)Massimiliano Culpo1-1/+2
fixes #17396 This prevents the class attribute to be inherited and saves current maintainers from becoming the default maintainers of every Cuda package.
2020-07-07releases: document `releases/latest` tag (#17402)Todd Gamblin2-32/+61
We got rid of `master` after #17377, but users still want a way to get the latest stable release without knowing its number. We've added a `releases/latest` tag to replace what was once `master`. Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-07-07Uninstall: tolerate hook failures when force=true (#16513)Peter Scheibel1-2/+32
Fixes #16478 This allows an uninstall to proceed even when encountering pre-uninstall hook failures if the user chooses the --force option for the uninstall. This also prevents post-uninstall hook failures from raising an exception, which would terminate a sequence of uninstalls. This isn't likely essential for #16478, but I think overall it will improve the user experience: if the post-uninstall hook fails, there isn't much point in terminating a sequence of spec uninstalls because at the point where the post-uninstall hook is run, the spec has already been removed from the database (so it will never have another chance to run). Notes: * When doing spack uninstall -a, certain pre/post-uninstall hooks aren't important to run, but this isn't easy to track with the current model. For example: if you are uninstalling a package and its extension, you do not have to do the activation check for the extension. * This doesn't handle the uninstallation of specs that are not in the DB, so it may leave "dangling" specs in the installation prefix
2020-07-07votca-tools: fix build with mkl (#17414)Christoph Junghans1-1/+1
2020-07-07snappy: added v1.1.8 (#17397)Frank Willmore1-1/+2
2020-07-07jube: added v2.4.0 (#17404)g-mathias1-0/+1
Co-authored-by: lu64bag3 <gerald.mathias@lrz.de>
2020-07-07abseil-cpp: added v20200225.2 (#17383)figroc1-1/+2
2020-07-07libtree: fixed checksums (#17393)Harmen Stoppels1-3/+3
The hash was wrongly computed for the `tar.gz` that Github provides, not the custom tarball which includes submodules as well.
2020-07-07bliss: add spaces to __DATE__ (#17385)ketsubouchi1-0/+1
C++11 requires a space between literal and string macro.
2020-07-07mumax: new package at v3.10beta (#17398)Glenn Johnson1-0/+62
This PR creates a new spack package for mumax: GPU accelerated micromagnetic simulator. This uses the current beta version because - it is somewhat dated, ~2018 - it is the only one that supports recent GPU kernels
2020-07-07nco: added v4.8.[0,1] and v4.9.[0-3] (#17389)TZ1-0/+6
2020-07-07ncview: added v2.1.8 (#17388)TZ1-0/+1
2020-07-07gunrock: improved package recipe (added variants for applications and ↵Sinan1-3/+97
others) (#17340) Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
2020-07-06mpifileutils: add v0.10.1Adam Moody1-3/+4
2020-07-06bugfix: no infinite recursion in setup-env.sh on CrayTodd Gamblin3-0/+29
On Cray platforms, we rely heavily on the module system to figure out what targets, compilers, etc. are available. This unfortunately means that we shell out to the `module` command as part of platform initialization. Because we run subcommands in a shell, we can get infinite recursion if `setup-env.sh` and friends are in some init script like `.bashrc`. This fixes the infinite loop by adding guards around `setup-env.sh`, `setup-env.csh`, and `setup-env.fish`, to prevent recursive initializations of Spack. This is safe because Spack never shells out to itself, so we do not need it to be initialized in subshells. - [x] add recursion guard around `setup-env.sh` - [x] add recursion guard around `setup-env.csh` - [x] add recursion guard around `setup-env.fish`
2020-07-06docs: document releases and branches in SpackTodd Gamblin6-11/+405
- [x] Remove references to `master` branch - [x] Document how release branches are structured - [x] Document how to make a major release - [x] Document how to make a point release - [x] Document how to do work in our release projects
2020-07-06Remove references to `master` from CITodd Gamblin5-9/+5
- [x] remove master from github actions - [x] remove master from .travis.yml - [x] make `develop` the default branch for `spack ci`
2020-07-06change master/child to controller/minion in pty docstringsTodd Gamblin2-95/+97
PTY support used the concept of 'master' and 'child' processes. 'master' has been renamed to 'controller' and 'child' to 'minion'.
2020-07-06Fix gcc + binutils compilation. (#9024)cedricchevalier191-3/+1
* fix binutils deptype for gcc binutils needs to be a run dependency of gcc * Fix gcc+binutils build on RHEL7+ static-libstdc++ is not available with system gcc. Anyway, as it is for bootstraping, we do not really care depending on a shared libstdc++. Co-authored-by: Michael Kuhn <michael@ikkoku.de>
2020-07-06autotools bugfix: handle missing config.guess (#17356)Michael Kuhn1-2/+2
Spack was attempting to calculate abspath on the located config.guess path even when it was not found (None); this commit skips the abspath calculation when config.guess is not found.
2020-07-06Add Rivet and YODA (#17372)iarspider30-0/+1238
* Add Rivet and YODA * Add patches * Flake-8 * Set level for Rivet patches * Syntax fix * Fix dependencies of Rivet * Update var/spack/repos/builtin/packages/rivet/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-07-06esmf: set ESMF_COMM=intelmpi also for ^intel-mpi (#17387)TZ1-1/+1
Not only intel-parallel-studio+mpi provides Intel MPI but also intel-mpi.
2020-07-06psi4: fix "filter_compilers" signature (#17375)fcannini1-1/+4
2020-07-05GMT: add v6.1.0 (#17384)Adam J. Stewart2-2/+16
2020-07-05acl: fix depends error (#17341)darmac1-0/+4
2020-07-05brpc: fix depends issue (#17347)darmac1-0/+1
2020-07-05[opencascade] depends_on freetype, tcl, tk, gl (#17357)Wouter Deconinck1-0/+10
* [opencascade] depends_on freetype, tcl, tk, gl * [opencascade] new version 7.4.0p1 and url_for_version
2020-07-05New version of LHAPDF: 6.3.0 (#17367)iarspider1-0/+1
2020-07-05protobuf: add versions (#17381)figroc1-1/+6
2020-07-05amdblis bump to 2.2. (#17369)yellowhat1-0/+1
2020-07-05package Amber: amber tools 20 (#17374)g-mathias1-13/+30
* package amber: added amber_tools 20 hash; added minor version for amber_tools * fix flake8 issues Co-authored-by: lu64bag3 <gerald.mathias@lrz.de>
2020-07-05openblas: fix fj compiler support in 0.3.10 (#17376)Gilles Gouaillardet2-0/+14
The latest 0.3.10 version openblas changed how Fortran libraries are detected, and this broke Fujitsu compiler support. This (new) openblas patch addresses that issue.
2020-07-05update aspect to 2.2.0 (#17379)Timo Heister1-1/+4
2020-07-05SciPy: add v1.5.1 (#17380)Adam J. Stewart1-1/+2