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-01Writes default module list to terminal when debugging.Matt Belhorn1-10/+8
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-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-25Merge pull request #1353 from epfl-scitas/qa/minor_cleanupbecker332-53/+39
qa : minor cleanup
2016-07-25qa : flake8 issuesalalazo2-19/+27
2016-07-25spec : removed dead codealalazo1-29/+13
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)
2016-07-19Make frontend OS on Cray machines a proper linux distro.Todd Gamblin1-7/+8
2016-07-19deptypes: support special deptypes by stringBen Boeckel3-5/+10
2016-07-19Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo9-175/+229
features/module_refresh Conflicts: lib/spack/spack/test/__init__.py
2016-07-18Merge pull request #1229 from suraia/fix-preferred-providersbecker332-48/+60
Fix preferred providers.
2016-07-18Let packages call use_cray_compilers() in install to get , etc set to cray namesGregory Becker5-2/+12
2016-07-18Merge pull request #1245 from LLNL/features/cray-detection-improvementTodd Gamblin1-1/+8
The /cray_home directory is more consistent than the /cray/craype dir…
2016-07-18Merge pull request #851 from mathstuf/safer-bootstrapTodd Gamblin1-12/+37
bootstrap: fall back to the default upstream URL
2016-07-18Using cc -craype-verbose to get cray platform typeGregory Becker1-1/+8
2016-07-18Merge pull request #1171 from adamjstewart/features/octaveTodd Gamblin4-100/+111
Allow spack create to automatically detect octave build system
2016-07-18flake8 fixMichael Kuhn1-1/+0
2016-07-18More flake8 fixes for package-listPaul Hopkins1-2/+0
2016-07-18Flake8Adam J. Stewart2-17/+10
2016-07-18Update build_system_guess test with new class nameAdam J. Stewart2-11/+17
2016-07-18Flake8Adam J. Stewart2-9/+12