summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-08-01Replaces bash-ism `source` for POSIX-compliant `.`Matt Belhorn1-1/+1
Change is made in order to use `/bin/sh` on systems where `/bin/sh` is not simply an alias for `/bin/bash --norc`.
2016-08-01Merge pull request #1357 from hartzell/patch-6becker331-1/+1
Fix doc for install_tree (cut/paste error)
2016-08-01Merge pull request #1346 from glennpj/url_list_fetchbecker331-41/+71
Url list fetch
2016-08-01Fix backup=True for filter_fileAdam J. Stewart1-7/+9
2016-08-01Fix flake8 line length errorsGlenn Johnson1-33/+52
2016-08-01Writes default module list to terminal when debugging.Matt Belhorn1-10/+8
2016-08-01Add concretize_preferences testsPaul Hopkins2-3/+109
2016-07-30Invokes subshell without user init scripts.Matt Belhorn1-1/+2
2016-07-29Obtains default modules from a clean subshell.Matt Belhorn1-8/+29
The list of default environment modules is obtained by calling `module list -lt` from a subshell with a wiped environment. This allows `/etc/profile` and other init scripts to be fully sourced which should generally include loading the default modules. The list of default modules is then parsed for the first acceptable CPU target, assumed to be the back_end target.
2016-07-29Use space characters to separate preferred variants from package name and ↵Paul Hopkins1-2/+2
each other
2016-07-27PEP8 Goodnessrobertdfrench2-16/+18
2016-07-27Front-end unification for Cray systems.Matt Belhorn1-0/+87
A platform to generically cover all Cray systems is introduced to avoid having specific platforms for each of XK (XE, XT), XC, and future systems using CrayPE and CNL. The platform searches for 'front_end' and 'back_end' targets, in order, from: * Environment variables 'SPACK_FRONT_END' and 'SPACK_BACK_END' * A spack configuration file 'targets.yaml' * Parsing `/etc/bash.bashrc.local` for first loaded CrayPE CPU target. If a back_end target is not found through one of these methods, an exception is raised. Otherwise, the back_end is set as the default target. The shell init script search is based on recommendations in Crayports case #144359. No automagic way of determining front_end targets has been found (to date) so if a front_end is not specified through configuration, it is ignored which should leave a spack instance in a consistant state.
2016-07-27Adds __str__ method to CNL operating system class.Matt Belhorn1-0/+2
2016-07-27Adds targets config fileMatt Belhorn1-0/+13
2016-07-26modules : handle dashes in environment variablesalalazo1-1/+1
2016-07-25Merge pull request #1353 from epfl-scitas/qa/minor_cleanupbecker332-53/+39
qa : minor cleanup
2016-07-25qa : flake8 issues fixes #1109alalazo2-2/+5
2016-07-25modules : permit token expansion in configuration filesalalazo3-6/+35
2016-07-25Fix doc for install_tree (cut/paste error)George Hartzell1-1/+1
It looks like the docs for copy_tree were cut/paste from copy and still referred to installing a "file". This fixes that.
2016-07-25qa : flake8 issuesalalazo2-19/+27
2016-07-25spec : removed dead codealalazo1-29/+13
2016-07-24Make sure package has the `url` attribute.Glenn Johnson1-1/+1
In addition to `list_url` make sure the package has the `url` attribute set before attempting to add urls from a list. This is to cover the case where there may be a `list_url` specified in tandem with a `url_for_version`.
2016-07-23Only use list if list_url setGlenn Johnson1-8/+9
This commit will make urls from list_url only checked if `list_url` is set in the package file. This makes more sense as there is no need to check for those if the attribute is not present. If `url` is present and `list_url` is not then it would result in the same url. If `url_for_version` is used then that will not work anyway.
2016-07-23Fix flake8 errors related to linesGlenn Johnson1-8/+5
Fixed the flake 8 errors that involved too many blank lines or not enough blank lines. Basically, all of the flake8 errors except line length errors.
2016-07-23Have fetch use list_urlGlenn Johnson1-0/+13
This PR allows archive file retrieval from urls derived from the `list_url` setting in a package file. This allows for continued retrieval of checksummed archive files even when they are moved to a new remote location when a package is updated upstream.
2016-07-22Use example deptypes in newly created packagesAdam J. Stewart1-9/+34
2016-07-22test_install : removed commented codealalazo1-7/+1
2016-07-21Added cray wrapper names directory to spack_env_paths so the spack compiler ↵Gregory Becker1-5/+6
wrapper will remove them from the environment (prevents hang)
2016-07-21fixed flake8 errorsGregory Becker1-2/+3
2016-07-21fixedGregory Becker1-4/+5
2016-07-21Bug fix for cray_xc platformGregory Becker4-1/+4
2016-07-21Merge pull request #1208 from ↵Todd Gamblin4-77/+128
paulhopkins/bugfix/github1196-specify-preferred-variants Bugfix/github1196 specify preferred variants
2016-07-21Flake8 fixes to ensure qa tests passPaul Hopkins1-71/+103
2016-07-21Re-add documentation for variant preferencesPaul Hopkins1-5/+6
2016-07-21Allow users to supply preferred variants via packages.yamlPaul Hopkins3-3/+21
2016-07-21Update documentation for recursive module loading.Michael Kuhn1-30/+31
2016-07-20Setup environment for Intel Parallel StudioGlenn Johnson1-0/+1
Set up the environment for the Intel compilers and tools. This commit does the following: - Unset variables that were incorrect from the auto guess prefix inspections. - Add a RemovePath environment_modifications_formats for dotkit. - Set the module environment variables appropriate for the different variants. - Change the component logic so that the '+all' variant works. It was getting split by letter and leaving COMPONENTS empty. - Added a variant checking function. - Added NONRPM_DB_DIR to the silent.cfg so that the product database goes to the installation directory. - With the product database in prefix the code to remove the product database file from the home directory is no longer needed and was removed. - Reformat the 'tools' variant description. There are probably more variables needed for the '+tools' for the 'professional' product version but I do not have access to that.
2016-07-20Merge pull request #1277 from mathstuf/special-deptypesTodd Gamblin3-5/+10
deptypes: support special deptypes by string
2016-07-20added package as argument to setup_platform_environmentGregory Becker3-3/+6
2016-07-20Documented linker defaultGregory Becker1-0/+4
2016-07-20fixed flake errorsGregory Becker2-10/+5
2016-07-20removed commented-out codeGregory Becker1-5/+0
2016-07-20Set default link type to dynamic on cray. Includes hooks for platform-based ↵Gregory Becker3-0/+19
environment changes
2016-07-20fixed flake errorsGregory Becker1-2/+2
2016-07-20fixed flake errorsGregory Becker1-2/+5
2016-07-20Improved cray_xc detection bug fixGregory Becker1-1/+3
2016-07-20Improved cray_xc detectionGregory Becker1-5/+5
2016-07-20Merge pull request #1288 from LLNL/features/cray_compiler_namesTodd Gamblin5-2/+12
Let packages call use_cray_compilers() in install to get , etc set to…
2016-07-19Merge pull request #1309 from LLNL/features/spack-defaultsTodd Gamblin1-1/+8
Add "default" configuration scope.
2016-07-19Add "default" configuration scope.Todd Gamblin1-1/+8
- Default scope is versioned with spack and can be overridden by site or user config. - Default scope provides sensible default concretization preferences for all of Spack. - per-platform concretization scope can be added later (to force a particular MPI on, e.g., Cray systems)