summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-14spack config update (bugfix): packages.yaml with empty attributes (#18057)Massimiliano Culpo2-1/+30
Before this PR, packages.yaml files that contained an empty "paths" or "modules" attribute were not updated correctly, since the update function was not reporting them as changed after the update. This PR fixes that issue and adds a unit test to avoid regression.
2020-08-14pugixml: add version 1.10, add option for shared libs (#18072)Chuck Atkins1-1/+13
2020-08-14Python: add spack external find support (#16684)Adam J. Stewart1-0/+76
2020-08-14pkgconfig: add spack external find support (#16690)Adam J. Stewart2-0/+28
2020-08-14Autoconf: add spack external find support (#16692)Adam J. Stewart1-1/+12
2020-08-14M4: add spack external find support (#16693)Adam J. Stewart1-1/+13
2020-08-14bmake: fix compilation error and added v20200710 (#17956)darmac1-0/+4
2020-08-14GDAL: add spack external find support (#18004)Adam J. Stewart1-0/+6
2020-08-14gmake: add spack external find support (#18009)Adam J. Stewart1-1/+9
2020-08-14nextflow: added v20.07.1 (#18058)Levi Baber1-0/+1
2020-08-14Bazel: add spack external find support (#18008)Adam J. Stewart1-0/+10
2020-08-14OpenGL: add spack external find support (#18003)Adam J. Stewart1-2/+9
2020-08-14GMT: add spack external find support (#18007)Adam J. Stewart1-0/+6
2020-08-14Adding external package support for tar. (#18002)Robert Blake1-0/+8
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-08-14External package recognition for git. (#18010)Robert Blake1-0/+20
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-08-14external packages: redirect stderr too (#18037)Adam J. Stewart5-7/+6
2020-08-14NETCDF-C: added v4.7.4 (#18051)Greg Sjaardema1-0/+1
2020-08-14SEACAS: added v2020-05-12 and v2020-08-13 (#18053)Greg Sjaardema1-0/+2
2020-08-14ceed: fix @3.0.0 dependency on hypre@2.18.2 (#17983)Jed Brown1-0/+3
Co-authored-by: Veselin Dobrev <dobrev1@llnl.gov>
2020-08-14Matplotlib: added v3.3.1 (#18061)Adam J. Stewart1-4/+9
2020-08-14py-certifi: add v2020.6.20 (#18060)Adam J. Stewart1-1/+2
2020-08-14Bash: add v5.0.18, external package detection (#18062)Adam J. Stewart1-2/+12
2020-08-13fix configure.ac/autotools issue that casues problems on RHEL 7.7 (#17465)Kai Germaschewski1-0/+4
2020-08-13Improve output of the external find command (#18017)Massimiliano Culpo2-6/+38
This commit adds output to the "spack external find" command to inform users of the result of the operation. It also fixes a bug introduced in #17804 due to the fact that a function was not updated to conform to the new packages.yaml format (_get_predefined_externals).
2020-08-13Update the change to add gomp compatibity to llvm-openmp. (#17400)Jim Galarowicz1-1/+11
* Update the change to add gomp compatibity to llvm-openmp. * Update the change to add gomp compatibity to llvm-openmp using append instead of extend. * Fix flake8 issue. Co-authored-by: Jim Galarowicz <jgalarowicz@newmexicoconsortium.org>
2020-08-13Add support for pFUnit version 4 (#17683)Alicia Klinvex1-8/+27
* pFUnit: Added support for version 4 pFUnit v4 uses submodules, so we must fetch from the repo rather than grabbing the tarball (see #11642). * pFUnit: Added conflicts pFUnit 4 causes an internal compiler error with gcc 7.2.0, and several pFUnit versions are incompatible with shared libraries. * pFUnit: Added conflicts for version 4 Verson 4 uses Fortran 2008 features and cannot be built with gcc compilers prior to 8.4. * pFUnit: Fixed conflicts/dependencies as suggested * pFUnit: Version 4 no longer fetches from git Checksummable files are fetched instead. * pFUnit: Simplify major version check Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * pFUnit: Removed unnecessary patch for v4 The patch is still applied to v3. * pFUnit: Modified MPI flag for v4 pFUnit v3 and v4 use different CMake flags to enable/disable MPI support. Also added a conflict for v3 with MPI enabled using gfortran 10, since newer gfortran is more finicky about datatypes. * pFUnit: Rearranged mpi logic * pFUnit: changed m4 to a build dependency Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * pFUnit: Added URL back I did not realize it was needed by "spack versions" and "spack checksum". Thanks @adamjstewart! Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-08-13AMD ROCm Mathlibs (#17699)Ganesh Kumar7-0/+234
* ROCm Mathlibs * fixed the review comments * fixed flake8 issues
2020-08-13gcc: improve detection functions (#17988)Massimiliano Culpo1-10/+40
* Don't detect Apple's clang as gcc@4.2.1 * Avoid inspecting links except for Cray platforms * Always return string paths from compiler properties * Improved name-based filtering (apt-based packages)
2020-08-13IOR package: added 3.3.0rc1 and develop version (#18036)Nikolay Simakov1-1/+3
* IOR package: added 3.3.0rc1 and develop version * IOR package: reordered versions, set 3.2.1 as preferred
2020-08-13Make mpich buildable without fortran (#17964)Harmen Stoppels1-12/+29
When the user explicitly sets ~fortran, mpich builds without fortran support. This will make building C/C++ libraries using clang easier, since clang does not offer a fortran compiler by default (yet). Since the user has to disable Fortran support explicitly, this change is not breaking.
2020-08-13fix buildcache create for environments with uninstalled root specs (#17859)Harmen Stoppels1-13/+21
* Handle uninstalled rootspecs in buildcache - Do not parse specs / find matching specs when in an environment and no package string is provided - Error only when a spec.yaml or spec string are not installed. In an environment it is fine when the root spec does not exist. - When iterating through the matched specs, simply skip uninstalled packages
2020-08-13"spack config update" can handle comments in YAML files (#18045)Massimiliano Culpo2-1/+37
fixes #18031 With this fix "spack config update" can update YAML files that contain comments, while previously it couldn't.
2020-08-13update vtk-h release (#18052)Matt Larsen1-0/+1
2020-08-13Merge tag 'v0.15.4' into developTodd Gamblin4-6/+27
2020-08-13llvm: added external detection capabilities (#17989)Massimiliano Culpo1-2/+107
* llvm: added external detection capabilities * Added comment with reference to external package detection docs * Fix typo in a comment
2020-08-13update CHANGELOG.md for 0.15.4v0.15.4Todd Gamblin1-0/+17
2020-08-13bump version number for 0.15.4Todd Gamblin3-6/+10
2020-08-13Move Python 2.6 unit tests to Github Actions (#17279)Massimiliano Culpo7-105/+55
* Run Python2.6 unit tests on Github Actions * Skip url tests on Python 2.6 to reduce waiting times * Skip foreground background tests on Python 2.6 to reduce waiting times * Removed references to Travis in the documentation * Deleted install_patchelf.sh (can be installed from repo on CentOS 6)
2020-08-13Buildcache: 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-08-13Use "fetch-depth: 0" to retrieve all history from remoteMassimiliano Culpo4-10/+19
2020-08-13Simplified YAML files for Github Actions workflowsMassimiliano Culpo4-18/+7
Updated actions where needed
2020-08-13Group tests with similar duration togetherMassimiliano Culpo4-76/+72
Style and documentation tests take just a few minutes to run. Since in Github actions one can't restart a single job but needs to restart an entire workflow, here we group tests with similar duration together.
2020-08-13docs: 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-08-13Remove 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-08-13Moved flake8, shell and documentation tests to Github Action (#17328)Massimiliano Culpo6-125/+100
* Move flake8 tests on Github Actions * Move shell test to Github Actions * Moved documentation build to Github Action * Don't run coverage on Python 2.6 Since we get connection errors consistently on Travis when trying to upload coverage results for Python 2.6, avoid computing coverage entirely to speed-up tests.
2020-08-12Bugfix for #17999: use cudart instead of cuda. (#18000)Robert Blake1-1/+1
This is needed because libcuda is used by the driver, whereas libcudart is used by the runtime. CMake searches for cudart instead of cuda. On LLNL LC systems, libcuda is only found in compat and stubs directories, meaning that the lookup of libraries fails.
2020-08-12bugfix: fix spack -V with releases/latest and shallow clones (#17884)Todd Gamblin1-2/+2
`spack -V` stopped working when we added the `releases/latest` tag to track the most recent release. It started just reporting the version, even on a `develop` checkout. We need to tell it to *only* search for tags that start with `v`, so that it will ignore `releases/latest`. `spack -V` also would print out unwanted git eror output on a shallow clone. - [x] add `--match 'v*'` to `git describe` arguments - [x] route error output to `os.devnull`
2020-08-12Buildcache create: change NoOverwriteException back to a warning as in v0.14 ↵Patrick Gartung1-3/+6
(#17832) * Change buildcache create `NoOverwriteException` back to a warning.
2020-08-12Hotfix: move CUDAHOSTCXX (#17826)Axel Huebl1-2/+3
* Hotfix: move CUDAHOSTCXX Set only in dependent packages. * dependent compiler
2020-08-12bugfix: fix spack buildcache list --allarchTodd Gamblin3-17/+53
`spack buildcache list` was trying to construct an `Arch` object and compare it to `arch_for_spec(<spec>)`. for each spec in the buildcache. `Arch` objects are only intended to be constructed for the machine they describe. The `ArchSpec` object (part of the `Spec`) is the descriptor that lets us talk about architectures anywhere. - [x] Modify `spack buildcache list` and `spack buildcache install` to filter with `Spec` matching instead of using `Arch`.