summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-07-20environments: add activate/deactivate tests, work wtih `set -u`Todd Gamblin3-15/+143
- [x] Add shell tests to ensure that `spack env activate`, `spack env deactivate`, and `despacktivate` continue to work. - [x] Also ensure that activate and deactivate both work with `set -u`
2019-07-19Package inheritance: Find patch files defined in parent classes using MRO ↵Greg Becker4-1/+51
(#12051) Fixes #8908, 11844 Use Python MRO to find patch files from parent classes.
2019-07-19font-util package: add autoconf/automake build deps (#12071)Peter Scheibel1-0/+3
Fixes #12026 These are required on some systems
2019-07-19Fix #11240 (#11995)albestro2-1/+37
* extends mkdirs with permissions for intermediate folders Does not use os.makedirs mode parameter because its behavior is changed with Python 3.7 (it ignores it for intermediate dirs), and moreover it was not possible to set different modes for newly-created folders and leaf folder. reference: - https://bugs.python.org/issue19930 - https://docs.python.org/3.7/library/os.html#os.makedirs * comment mkdirp step easing code understanding * revert mkdir to default for package metapath since metapath is nested in package folder, there is no need to specify permissions for intermediate folders because the prefix already exists. * comment create_install_directory package modes
2019-07-19leveldb: add 1.22 (#12044)Michael Kuhn1-9/+56
2019-07-19libxpm: cope with system gettext if configured. (#10881)Chris Green1-2/+6
* If gettext is installed in the system it won't be in the spec tree.
2019-07-18concretization: fix transient hang in python 3.5Gregory Becker1-1/+2
Bug relates to the interplay between: 1. random dict orders in python 3.5 2. bugfix in initial implementation of stacks for `_concretize_dependencies` when `self._dependencies` is empty 3. bug in coconcretization algorithm computation of split specs Result was transient hang in coconcretization. Fixed #3 (bug in coconcretization) to resolve.
2019-07-18stacks: add option to link only roots or all specs, default to allGregory Becker3-37/+134
2019-07-18stacks: refactor view descriptors into a separate objectGregory Becker2-105/+123
2019-07-18refactor: clean up Environment classGregory Becker2-74/+65
- remove redundant code in Environment.__init__ - use socket.gethostname() instead of which('hostname') - refactor updating SpecList references - refactor 'specs' literals to a single variable for default list name - use six.string_types for python 2/3 compatibility
2019-07-18bugfix: spec lists can now include multiple referencesGregory Becker2-3/+3
2019-07-18stacks: use new format string syntax in environments codeGregory Becker4-11/+12
- Change old spec expressions to use Spack's new spec formatting sytnax.
2019-07-18docs: Add documentation for views in environmentsGregory Becker2-3/+145
2019-07-18stacks: update view management for multiple/combinatorial viewsGregory Becker9-83/+406
This adds notion of a default view, other views in environments
2019-07-18stacks: environment add/remove respect multiply-defined listsGregory Becker2-7/+53
2019-07-18stacks: allow force-removing from a speclist used in a matrixGregory Becker2-12/+21
2019-07-18stacks: update environment add/remove algorithmsGregory Becker3-59/+74
2019-07-18concretization: regression test for constrain() with depsGregory Becker1-0/+1
- ensure that `Spec('foo').constrain('foo ^bar')` works - prior to stacks implementation, this constraint would have done nothing.
2019-07-18docs: initial documentation for environmentsGregory Becker2-0/+636
2019-07-18stacks: initial implementation of stacks on environmentsGregory Becker9-61/+875
- stack syntax in env schema - switch environment specs over to SpecList object - add stack functionality to environments - handle definition extensions through stack.yaml and SpecList - implement conditional definitions - tests
2019-07-18cmake: add version 3.15.0 (#12058)Matthias Diener1-0/+1
2019-07-18Add master version to sklearn (#12057)Adam J. Stewart1-3/+16
2019-07-18pkg PRRTE: added version 1.0.0 (#12054)Matthieu Dorier1-1/+2
2019-07-18added version 3.1.3 of PMIx (#12055)Matthieu Dorier1-1/+2
2019-07-18Workaround for #9149 (#12050)Adam J. Stewart1-9/+12
2019-07-18py-mlxtend: new package at 0.16.0 (#12039)Justin S1-0/+23
* py-mlxtend: new package at 0.16.0 * py-mlxtend: fix dependencies
2019-07-17update web site and git url for BMI package (#12036)Phil Carns1-2/+2
2019-07-17add charliecloud v0.10 (#12046)Jordan Ogas1-0/+1
2019-07-17Fix scikit-learn build with Apple clang (#11496)Adam J. Stewart4-14/+111
* Fix scikit-learn build with Apple clang * Update compiler unit tests * Fix unit tests * Fix OpenMP dep * recursive=True no longer necessary * Add myself as a maintainer * Specify which versions require OpenMP * Typo fixes * LLVM-OpenMP is the correct dependency, no OMPT * Flake8 fix * Undo Apple Clang OpenMP flag change, split into a separate PR
2019-07-17libjpeg-turbo: set compiler flags with CMake args (#11938)t-karatsu1-0/+18
Later versions of libjpeg-turbo build with CMake; to build with user-specified cflags, the user must supply these to CMake as -DCMAKE_C_FLAGS (Spack's typical approach of injecting these flags into the compiler wrapper invocation is insufficient in this case). Currently libjpeg-turbo cannot be implemented as a CMakePackage (and thereby take advantage of the flag_handler implementation it provides) because not all versions of libjpeg-turbo use CMake, so this adds a custom implementation of flag_handler and flags_to_build_system_args to libjpeg-turbo.
2019-07-17Add support for .txz and .tbz2 file extensions (#12048)Adam J. Stewart5-9/+50
2019-07-17tests: uninstall_by_spec error and rpath_args tests (#11971)Tamara Dahlgren2-0/+26
* tests: Add uninstall_by_spec error tests. These tests were originally included in PR #11797.
2019-07-17feature: Allow developers to use Spack for partial builds (#12006)Greg Becker2-2/+6
Added new diy option.
2019-07-17kim-api 2.1.0 (#12041)Ryan S. Elliott1-1/+2
2019-07-17package opencoarrays: add new version: 2.7.1 (#12043)brietzke1-0/+1
2019-07-17Cmake/add option for fujitsu compiler (#11839)t-karatsu1-0/+6
* cmake: change c++ spec when building with Fujitsu compiler. * cmake: define cxxflags using a Fujitsu compiler's method. * cmake: Add condition of whether to add cxx11 option.
2019-07-16Added url_for_version to python/package.py (#12040)Shane R. Spencer1-0/+4
2019-07-16py-pandas: add 0.24.2 (#12038)Justin S1-0/+1
2019-07-16r: set FPICFLAGS for compilers except 'gcc' (#12033)Hironori-Yamaji1-0/+4
2019-07-16package mutationpp: add new version: 1.0.0 (#12035)brietzke1-0/+1
2019-07-16Ignore Modules v4 environment variables in `from_sourcing_file` (#10753)Massimiliano Culpo3-117/+311
* from_sourcing_file: fixed a bug + added a few ignored variables closes #7536 Credits for this change goes to mgsternberg (original author of #7536) The new variables being ignored are specific to Modules v4. * Use Spack Executable in 'EnvironmentModifications.from_sourcing_file' Using this class avoids duplicating lower level logic to decode stdout and handle non-zero return codes * Extracted a function that returns the environment after sourcing files The logic in `EnvironmentModifications.from_sourcing_file` has been simplified by extracting a function that returns a dictionary with the environment one would have after sourcing the files passed as argument. * Further refactoring of EnvironmentModifications.from_sourcing_file Extracted a function that sanitizes a dictionary removing keys that are blacklisted, but keeping those that are whitelisted. Blacklisting and whitelisting can be done on literals or regex. Extracted a new factory that creates an instance of EnvironmentModifications from a diff of two environments. * Added unit tests * PS1 is blacklisted + more readable names for some variables
2019-07-15coverage: restore status updates on PRs (#12032)Todd Gamblin1-2/+1
Codecov is not updating PRs with status anymore. Fix .codecov.yaml to make this happen.
2019-07-15bugfix: fix module() function in setup-env.sh (#12030)Todd Gamblin1-6/+9
Modify `setup-env.sh` to export fewer variables but to still set the module() function correctly.
2019-07-15qt: fix patch checksum (#12024)Michael Kuhn1-1/+1
It seems that GitHub's output changed slightly for this patch (one more letter for both short hashes on the index line), probably due to the number of objects in the repository.
2019-07-15binutils: Adding Clang to narrowing conversion error workaround (#12029)Brian Homerding1-1/+2
2019-07-15Add JUBE package definition (#12023)Marc-Andre Hermanns1-0/+41
* Add JUBE package definition * Fixing flake8 errors
2019-07-15Added HPX version 1.3.0. (#12025)Severin Strobl1-0/+1
2019-07-15Fix typo in module template (#12028)Adam J. Stewart1-1/+1
2019-07-15boost: use clang toolset when building with Fujitsu compiler. (#11827)t-karatsu1-1/+2
2019-07-15Fix build_jobs exceeding number of coresMichael Kuhn1-0/+1
All documentation mentions that `build_jobs` is limited by the number of cores available in the system. This is also enforced when setting it via `--jobs`. However, when setting it via `config.yaml`, it can exceed the number of cores available, making builds run out of memory.