summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29specs: avoid traversing specs when parsingTodd Gamblin1-8/+13
The Spec parser currently calls `spec.traverse()` after every parse, in order to set the platform if it's not set. We don't need to do a full traverse -- we can just check the platforrm as new specs are parsed. This takes about a second off the time required to import all packages in Spack (from 8s to 7s). - [x] simplify platform-setting logic in `SpecParser`.
2020-01-29repo: avoid unnecessary spec parsing in `filename_for_package_name()`Todd Gamblin1-14/+5
`filename_for_package_name()` and `dirname_for_package_name()` automatically construct a Spec from their arguments, which adds a fair amount of overhead to importing lots of packages. Removing this removes about 11% of the runtime of importing all packages in Spack (9s -> 8s). - [x] `filename_for_package_name()` and `dirname_for_package_name()` now take a string `pkg_name` arguments instead of specs.
2020-01-29environments: synchronize read and uninstall (#14676)Peter Scheibel2-18/+20
* `Environment.__init__` is now synchronized with all writing operations * `spack uninstall` now synchronizes its updates to any associated environment * A side effect of this is that the environment is no longer updated piecemeal as specs are uninstalled - all specs are removed from the environment before they are uninstalled
2020-01-29pumi: sim version check, meshes via submodule, ctest (#14597)Cameron Smith1-5/+17
* pumi: sim version check, meshes via submodule, ctest * Apply suggestions from code review Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * pumi: update comment on master version string * pumi: description of simmodsuite_version_check variant * pumi: add white space to variant description Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-01-29fix cycle dependency in libxml+python (#13847)Greg Becker2-2/+8
* fix cycle dependency in libxml+python * comment why we need these dependencies
2020-01-29Fastx-toolkit package: patch for Fujitsu compiler (#14218)noguchi-k2-0/+21
Specify the scope of pragma pack
2020-01-29Fix py-pillow tests (#14670)Adam J. Stewart1-2/+4
2020-01-29Added MiniAMR@1.4.4 (#14667)Robert Pavel1-0/+1
2020-01-29Added xsbench@19 to Version List (#14668)Robert Pavel1-0/+1
2020-01-29[py-griddataformats] added new versions (#14671)Jennifer Herting1-1/+3
2020-01-29pythia8: add new package (#14665)Michael Kuhn1-0/+29
2020-01-29py-pyperf: add 1.6.{0,1} (#14662)Matthias Wolf1-0/+2
2020-01-29flatbuffers: add 1.11.0 (#14663)Matthias Wolf1-0/+1
2020-01-29py-black: update url, add 19.3b0 (#14664)Matthias Wolf1-1/+2
2020-01-28bugfix: correct exception message matching in tests (#14655)Tamara Dahlgren6-17/+26
This commit makes two fundamental corrections to tests: 1) Changes 'matches' to the correct 'match' argument for 'pytest.raises' (for all affected tests except those checking for 'SystemExit'); 2) Replaces the 'match' argument for tests expecting 'SystemExit' (since the exit code is retained instead) with 'capsys' error message capture. Both changes are needed to ensure the associated exception message is actually checked.
2020-01-28Fujitsu compiler: Defining option that is always added. (#14657)t-karatsu1-0/+4
2020-01-28git: add version 2.25.0 and fixup pcre dependency (#14649)Andrew W Elble1-2/+12
* git: add version 2.25.0 and fixup pcre dependency pcre2 became optional in 2.14 and the default in 2.18. I noticed this as git was compiling against the system pcre2 (spack was specifying pcre as the dependency). * missed a chunk from my internal repo
2020-01-28env: synchronize updates to environments (#14621)Peter Scheibel5-93/+153
Updates to environments were not multi-process safe, which prevented them from taking advantage of parallel builds as implemented in #13100. This is a minimal set of changes to enable `spack install` in an environment to be parallelized: - [x] add an internal lock, stored in the `.spack-env` directory, to synchronize updates to `spack.yaml` and `spack.lock` - [x] add `Environment.write_transaction` interface for this lock - [x] makes use of `Environment.write_transaction` in `install`, `add`, and `remove` commands - `uninstall` is not synchronized yet; that is left for a future PR.
2020-01-28Set netcdf-fortran to build serially with Intel compiler (#14461)Glenn Johnson2-0/+16
* Set netcdf-fortran to build serially with Intel compiler This PR turns off parallel builds when the Intel compiler is used. Builds with the Intel compiler will fail otherwise. * Change how parallel build is handled Use patch from netcdf-fortran project to turn off parallel buildi for version 4.5.2.
2020-01-28racon: support aarch64 and fix install error (#14529)darmac2-4/+2808
* racon: support aarch64 and fix install error * add aarch64 patch for racon
2020-01-28pcma: set return value and change return type of function (#14579)noguchi-k2-0/+45
2020-01-28diffutils: Changed the handling of undeclared functions from warning … ↵t-karatsu1-0/+5
(#14593) * diffutils: Changed the handling of undeclared functions from warning to error. * diffutils: Change the handling of warnings or error * Delete '-Werror=implicit-function-declaration' * Add '-Qunused-arguments'
2020-01-28Build graphite2 with Intel compiler (#14636)Glenn Johnson2-0/+13
This PR sets the definition of REGPARM when building with the Intel compiler.
2020-01-28Moreutils: add new package (#14653)Matthias Diener1-0/+30
* moreutils: add new package * fix flake8
2020-01-28Fixed path for CEREAL and Protobuf (#14641)Brian Van Essen1-1/+4
2020-01-28openPMD-api: With ADIOS2 by Default (#14643)Axel Huebl1-5/+5
Replace the deprecated ADIOS1 backend default with ADIOS2 default. Disable sz since we do not need it and it conflicts with supported version ranges between ADIOS2 and ADIOS1 if someone enables both.
2020-01-28powerapi: add a space between literal and identifier (#14645)noguchi-k2-0/+189
2020-01-28med: add a space between literal and identifier (#14646)noguchi-k2-0/+23
2020-01-28intel-tbb: Fix install names on Darwin (#14650)Ben Morgan1-0/+7
* intel-tbb: Fix install names on Darwin Intel-TBB's libraries on Darwin are installed with "@rpath" prefixed to their install names. This was found to cause issues building the root package on Darwin due to libtbb not being found when running some of the generated tools linking to it. Follow example from other packages with the same issue and fixup up install names for intel-tbb post install. * intel-tbb: fix flake8 errors
2020-01-28Note about Intel compiler segfault with long paths (#14652)Glenn Johnson1-5/+15
This PR adds a note about segfaults with the Intel compiler when the install paths are long and the dependencies many.
2020-01-28Fix handling of filter_file exceptions (#14651)Greg Becker1-1/+0
2020-01-28Fix for #14148 (#14595)iarspider1-20/+28
* Dirty hack to fix #14148 * A better way of checking if a package is taken from system * Update var/spack/repos/builtin/packages/qt/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update qt/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-01-28ninja: add v1.10.0 (#14647)Christoph Junghans1-0/+1
2020-01-27make the new 'spack load' faster (#14628)Andrew W Elble1-10/+13
before, a 'time spack load singularity' 4.129u 0.346s 0:04.47 99.7% 0+0k 0+8io 0pf+0w after, a 'time spack load singularity' 0.844u 0.319s 0:01.16 99.1% 0+0k 0+16io 0pf+0w
2020-01-27fix spack env loads example (#14558)Owen Solberg1-2/+3
2020-01-27mpifileutils: add v0.10 (#14644)Adam Moody1-6/+7
Signed-off-by: Adam Moody <moody20@llnl.gov>
2020-01-27Fix: hash-based references to upstream specs (#14629)Andrew W Elble2-36/+56
Spack commands referring to upstream-installed specs by hash have been broken since 6b619da (merged September 2019), which added a new Database function specifically for parsing hashes from command-line specs; this function was inappropriately attempting to acquire locks on upstream databases. This PR updates the offending function to avoid locking upstream databases and also updates associated tests to catch regression errors: the upstream database created for these tests was not explicitly set as an upstream (i.e. initialized with upstream=True) so it was not guarding against inappropriate accesses.
2020-01-27Package source ID cannot be determined when the url can't be extrapolated ↵Patrick Gartung1-1/+4
for older version. (#14237)
2020-01-27Follow the example of spack arch (#14642)Patrick Gartung1-4/+8
2020-01-27Add the py-merlinwf package (#14622)Joe Koning1-0/+38
* Add the py-merlinwf package * Fix importlib-resources package name for spack naming convention. * Add build to dependencies and add updated versions. * Remove pytest-runner dependency. * Fix typo. * Add the py-tabulate dependency. * Add sha256 for version 1.0.0 * Change to maestro version 1.1.5. * Increase to version 1.0.4. * Bump maestrowf version and prepare for new pypi version. * Add sha256sum for version 1.1.5 * Add version 1.1.1. Update maestrowf version to 1.1.7 * Add versions 1.0.5, 1.1.0, 1.1.1 and potential 1.2.0. * Add version 1.2.0 and when on maestrowf@1.1.6. * Add version 1.2.2 , remove 1.2.1 and 1.1.0. * Update var/spack/repos/builtin/packages/py-merlinwf/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-merlinwf/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Remove mysql variant until new mysql interface module is enabled. The mysql code may be removed. Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-01-27Only set tcl default. Remove lmod default. (#14640)Patrick Gartung1-1/+0
2020-01-27Fix bug introduced by pull request 14467 being merged (#14639)Patrick Gartung1-2/+8
* Fix bug introduced by pull request 14467 being merged * Only filter on platform and OS
2020-01-27Set module_roots in test/config/config.yaml to defaults. (#14517)Patrick Gartung1-0/+3
2020-01-27Unified environment modifications in config files (#14372)Massimiliano Culpo8-183/+169
* Unified environment modifications in config files fixes #13357 This commit factors all the code that is involved in the validation (schema) and parsing of environment modifications from configuration files in a single place. The factored out code is then used for module files and compiler configuration. Attributes were separated by dashes in `compilers.yaml` files and by underscores in `modules.yaml` files. This PR unifies the syntax on attributes separated by underscores. Unit testing of environment modifications in compilers has been refactored and simplified.
2020-01-27asdf-cxx: new package (#14637)Erik Schnetter1-0/+47
2020-01-27amrex: Update to version 20.01 (#14635)Erik Schnetter1-0/+2
Now using Github releases instead of git commits.
2020-01-26Fix Python version compatibility tests for vermin 0.10.0 (#14632)Adam J. Stewart2-4/+4
2020-01-26pygdal and gdal versions should be in lockstep (#14630)Sinan1-1/+4
2020-01-26Add py-vermin package (#14631)Adam J. Stewart1-0/+23
2020-01-26simulationio: Correct HDF5 dependency bounds (#14626)Erik Schnetter1-1/+1
The HDF5 dependency bound was inverted. (How did this ever compile? There is a cmake check.)