summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-10-30source_cache, misc_cache, verify_ssl, checksum, & dirty in config.yamlTodd Gamblin16-76/+160
- Added new preferences to config.yaml: - source_cache - misc_cache - verify_ssl - checksum - dirty
2016-10-30Add module_roots to config.yamlTodd Gamblin4-35/+62
2016-10-30Move temp directory configuration to config.yamlTodd Gamblin8-171/+325
- Moved temp finding logic to spack.stage - Updated stage tests - Added tests for new path substaitution of $user, $spack, $tempdir
2016-10-30Rename install.yaml -> config.yaml, install_area -> "store"Todd Gamblin21-156/+202
- Added a schema for config.yaml - Moved install tree configuration to config.yaml - Moved etc/spack/install.yaml to etc/spack/defaults/config.yaml - renamed install_area to "store", to use a term in common with guix/nix. - in `config.yaml` file, it's called the `install_tree` to be more intuitive to users. - `install_tree` might've worked in the code, but `install_tree` is already a global function in the spack namespace, from llnl.util.filesystem.
2016-10-30add documentation for new option to set install areaBenedikt Hegner1-0/+11
2016-10-30refactor settings for install area and make them config optionsBenedikt Hegner21-161/+246
2016-10-30Removes cyclic dependency on spack.config. (#2121)Matt Belhorn3-51/+2
Merge #2030 added a cyclic dependency between the Cray platform needing to read a `targets.yaml` config file and `config.py` needing to get the platform names. This commit removes the cyclic dependency in favor of the more general config scheme. It also removes the now functionless `targets.yaml` config file. This breaks 'frontend' targets on the Cray platform but all architecture targets, including the frontend, that are provided by CrayPE are added to the Platform anyway so users can be explicit about the architecture targeted by the Cray compiler wrappers: ``` spack spec libelf arch=cray-CNL-frontend ``` becomes ``` spack spec libelf arch=cray-CNL-mc8 # on an XK7 or spack spec libelf arch=cray-CNL-sandybridge # on an older XC30, etc.. ``` The only way the 'frontend' target can be defined after this commit is through target environment variables.
2016-10-30module file support: major rework of docs (#2169)Massimiliano Culpo3-566/+660
* module file support: major rework of docs * module file support: fixed issues found by @adamjstewart - list or enumeration should not be indented - use console instead of bash or csh in things that are not scripts - other typos * module file support: fixed other issues found by @adamjstewart - tables should not be indented - substitute lines with pyobject to import an entire function - get help output running commands - typos * module file support: fixes according to review comments - @citibeth moved `spack module loads` after `spack load` - @glennpj tried to clarify installation table + changes to language - @tgamblin Removed top level section and moved the whole thing into the reference manual * module file support: moved directive before spack module loads
2016-10-30configuration file for modules : fixed enable keyword (#2176)Massimiliano Culpo4-74/+10
- enable keyword works again - test/modules.py : proper clean-up after tests
2016-10-29Do not check directory layout for external packages (#2172)Barry Smith1-1/+1
External packages do not have an spec.yaml file so don't check for it. Without this change any time a package depends on an external package when the new package is installed you will get the error Install prefix exists but contains no spec.yaml This problem has also haunted me since I started using Spack since PETSc depends on Python and I used an external python but fortunately it was relatively easy to debug once I could reproduce it at will. Funded-by: IDEAS Project: IDEAS/xSDK Time: 1 hour
2016-10-29Import dso_suffix from spack.build_environment in abi.py (#2174)Matthew Scott Krafczyk1-0/+1
Fixes #1845
2016-10-29Use Spec.format for token substitution in modules (#1848)scheibelp3-65/+87
This replaces a custom token-based substitution format with calls to Spec.format in modules.py This also resolves a couple issues: - LmodModules set configuration globally instead of in its initializer which meant test-specific configuration was not applied - Added support for setting hash_length=0 for LmodModules. This only affects the module filename and not the directory names for the hierarchy tokens in the path. This includes an additional unit test.
2016-10-27Fix rpath linking for NAG, add documentation on setup (#2142)Adam J. Stewart3-27/+57
2016-10-26Remove support for deprecated package. See also #2085 and #2086 (#2090)Elizabeth Fischer1-1/+0
2016-10-26Fix typo: _choiches -> _choices (#2127)George Hartzell1-1/+1
The breaks `spack create`.
2016-10-26typo: vlaues -> values (#2147)George Hartzell1-1/+1
2016-10-26Removed documentation on false paths as per #2083 (#2146)Elizabeth Fischer2-40/+1
Removed documentation on false paths as per #2083
2016-10-26document recommended usage of system blas/lapack (#2081)Denis Davydov1-0/+35
* document recommended usage of system blas/lapack * update doc * minor * reword
2016-10-26ProcessError : now the exception is correctly pickled and passed across ↵Massimiliano Culpo2-11/+32
processes. (#2143)
2016-10-26spack install : added --log-format option (incorporates test-install ↵Massimiliano Culpo5-281/+268
command) (#2112) * spack install : added --log-format option (incorporates test-install command) fixes #1907 * qa : removed extra whitespace
2016-10-26add a unit test for conretization with develop version (#2064)Denis Davydov1-0/+7
2016-10-25filter system paths (#2083)Denis Davydov3-3/+62
* add filter_system_paths() * filter system paths in set_build_environment_variables() * two function: lib/inc + bin * reverse order in bin * fix order * minor * improvements of the code * more cleanup * alternative solution for filter_bins * fiddle base alalazo's approach * minor * minor
2016-10-25Find compatibility versions of GCC (#2099)Adam J. Stewart1-2/+3
2016-10-25multimethod.py : calls functools.wraps before returning the correct method ↵Massimiliano Culpo1-1/+11
fixes #2118 (#2119)
2016-10-25spack setup : fixed regression after #1186 (#2117)Massimiliano Culpo1-1/+25
2016-10-24Merge pull request #1186 from epfl-scitas/features/install_with_phasesTodd Gamblin15-551/+1177
do_install : allow for an arbitrary number of phases
2016-10-24Rename EditableMakefile to MakefilePackageTodd Gamblin2-4/+4
2016-10-24Bug Fix : Apply Compiler Flags Specified by Manual Compiler Configuration ↵Joseph Ciurej7-53/+126
(#1532) * Fixed a bug causing config-specified compiler flags to be ignored. Updated the compiler config so all flags are in a separate section. * Updated the documentation for the `compilers.yaml` file spec. * Implemented basic testing for the 'flags' section of compiler config. * Fixed a few minor problems with the manual compiler config documentation.
2016-10-24Typo: becuase -> because (#2110)George Hartzell1-1/+1
2016-10-24Small fix to docs. (#2092)Elizabeth Fischer1-1/+1
2016-10-24spack test : exits after ctrl+c fixes #2029 (#2082)Massimiliano Culpo2-15/+27
2016-10-23package.py : moved each specialized package to its own module filealalazo6-156/+329
2016-10-23spack setup : improved error messagealalazo1-4/+6
2016-10-23CMakePackage, AutotoolsPackage : added default behavior on checkalalazo1-2/+31
2016-10-23Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo10-65/+146
features/install_with_phases_rebase
2016-10-23spack.error : fixed pickling and representation to permit to pass FetchErrorsalalazo1-1/+12
2016-10-22spack build, spack configure : added commandsalalazo4-10/+139
2016-10-22CMakePackage : changed method name from `wdir` to `build_directory`alalazo1-8/+6
2016-10-22do_install : use build_system_class attribute instead of `type(self).__base__`alalazo1-2/+3
2016-10-22spack info : shows the build-system class usedalalazo2-2/+17
2016-10-21Don't clear LD_LIBRARY_PATH and friends from compiler wrappers (#2074)Matthew LeGendre1-7/+0
* Don't clear LD_LIBRARY_PATH and friends from compiler wrappers * remove debugging print
2016-10-22packages : moved decorators into AutotoolsPackage and CMakePackagealalazo1-0/+20
2016-10-22spack create : fixed typoalalazo1-1/+1
2016-10-21Removed space before colon in `FIXME:`, added one line description of guess ↵alalazo1-13/+13
classes
2016-10-21spack info : added phasesalalazo1-1/+8
2016-10-21Remove unnecessary blackslash for flake8Matthew LeGendre1-2/+2
2016-10-21qa : flake8 issuesalalazo1-1/+3
2016-10-21spack create : now creates packages that are derived from AutotoolsPackage ↵alalazo2-96/+155
and CMakePackage
2016-10-21Fix concretize bug where provider sort couldn't handle version rangesMatthew LeGendre1-1/+5
2016-10-21Add new Version property to handle joined version numbers (#2062)Adam J. Stewart3-17/+47
* Add new version property to handle joined version numbers * Add unit test for new joined property * Add documentation on version.up_to() and version.joined