summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-01Fixes Flake8 indentation errors.Matt Belhorn1-3/+3
2016-08-01Prefers `bash` over `sh`.Matt Belhorn1-1/+1
Assuming a bash interactive environment will be correctly formed on login, we should prefer to probe the environment using a shell that reports itself as `bash` instead of `sh` which may not source files that set the environment modules in statements like: ``` case "$is" in bash) test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local ;; ksh) test -s /etc/ksh.kshrc.local && . /etc/ksh.kshrc.local ;; zsh) test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local ;; ash) test -s /etc/ash.ashrc.local && . /etc/ash.ashrc.local esac test -s /etc/sh.shrc.local && . /etc/sh.shrc.local ```
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-29Replaces technique for obtaining default back_end target.Matt Belhorn1-8/+29
New technique parses output of `module list` in clean login environment in order to let convoluted initialization scripts to work for us rather than against us as when trying to parse them directly.
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-27Merge pull request #1 from robertdfrench/olcf/unified_cray_platformMatt Belhorn2-16/+18
PEP8 Goodness
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-27Merge pull request #1350 from adamjstewart/fixes/opensslTodd Gamblin1-1/+1
Fix OpenSSL url_for_version
2016-07-25Merge pull request #1353 from epfl-scitas/qa/minor_cleanupbecker332-53/+39
qa : minor cleanup
2016-07-25Merge pull request #1352 from glennpj/r_googlevisbecker331-0/+47
New package - r-googlevis
2016-07-25Merge pull request #1351 from glennpj/r_htmlwidgetsbecker3330-0/+1359
New packages - R htmlwidgets
2016-07-25Merge pull request #1347 from glennpj/rdepsbecker3329-93/+95
Add dependency type to r- packages
2016-07-25qa : flake8 issuesalalazo2-19/+27
2016-07-25spec : removed dead codealalazo1-29/+13
2016-07-24New packages - R htmlwidgetsGlenn Johnson30-0/+1359
2016-07-24New package - r-googlevisGlenn Johnson1-0/+47
2016-07-24Fix OpenSSL url_for_versionAdam J. Stewart1-1/+1
2016-07-23Add dependency type tp r- packagesGlenn Johnson29-93/+95
This PR adds the `nolink` dependency type to r- package dependencies. This is needed due to the new dependency types in Spack. A couple of packages were updated with new versions as well.
2016-07-22Merge pull request #1340 from adamjstewart/features/createbecker331-9/+34
Use example deptypes in newly created packages
2016-07-22Merge pull request #950 from xjrc/packages/pythonTodd Gamblin3-38/+48
Enhancement Proposal: Make Python Spack Installs Ignore User Configuration
2016-07-22Use example deptypes in newly created packagesAdam J. Stewart1-9/+34
2016-07-22Adding temporary script that fixes all Python extensions w/ 'setup_py'.Joseph Ciurej2-2/+10
2016-07-22Improved the build flag construction code in the python install method.Joseph Ciurej1-27/+7
2016-07-22Fixed a bug that was causing Python installs to be affected by user config.Joseph Ciurej1-9/+31
2016-07-22Merge pull request #1336 from glennpj/rcaseTodd Gamblin9-11/+15
Fix alpha case of dependencies for some r-packages
2016-07-22test_install : removed commented codealalazo1-7/+1
2016-07-21Merge pull request #1230 from hartzell/update-jdkTodd Gamblin1-10/+10
Add URL and md5 for jdk-8u92.
2016-07-21Fix alpha case of dependencies.Glenn Johnson9-11/+15
A while ago I was asked to convert packages to all lowercase. That was done but some dependencies did not get converted in the specification. This commit fixes that as well as a couple of urls that need to be made explicit and a missing dependency on jdk.
2016-07-21Merge pull request #1333 from LLNL/features/no-openssl-pingingTodd Gamblin1-56/+9
Remove remote website pinging from OpenSSL
2016-07-21Merge pull request #1334 from hartzell/add-gcc-5.4.0Todd Gamblin1-0/+1
Update gcc package with info about gcc-5.4.0
2016-07-21Remove remote website pinging from OpenSSLTodd Gamblin1-56/+9
- OpenSSL no longer checks remote versions on the openssl site. - Spack is used on systems that aren't connected to the internet, and this check is probably in the wrong place and affects too many commands. We can work on figuring out a better, more configurable place to put a check like this.
2016-07-21Merge pull request #1263 from hartzell/lmod-needs-tclTodd Gamblin3-0/+24
The lmod package should depend_on('tcl')
2016-07-21Merge pull request #1335 from LLNL/crayxc-detectionbecker334-0/+6
Crayxc detection
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-21Update with info about gcc-5.4.0George Hartzell1-0/+1
2016-07-21Fix flake8 violationsGeorge Hartzell1-0/+2
2016-07-21Fix shebang line in tcl scriptsGeorge Hartzell2-1/+20
Lmod's configure script goes to the trouble of finding tclsh. This change uses that info to rewrite the #! lines in the tcl scripts so that they call the tclsh that the configure script discovered. It needs to massage the existing shebang lines into something that the sed statement in the makefile can manipulate and it needs to add the path_to_tclsh info into the set of sed statements. Checked with versions 6.4.1 and 6.3.7 (the checksum for 6.0.1 is incorrect, a fix for another time).
2016-07-21tcl is actually a runtime dependency.George Hartzell1-1/+1
lmod uses tclsh at runtime, so adjust the depends_on accordingly (thanks @davydden!).
2016-07-21The lmod package should depend_on('tcl')George Hartzell2-0/+3
The lmod package needs a tclsh. Up until now it just assumed that one was available on the system. This change adds a depends_on('tcl') to the lmod package. The tcl package installs a tclsh script with an embedded version number (e.g. tclsh8.6) but the lmod configuration looks for tclsh. This change extends the tcl package to symlink tclshX.Y to tclsh in the tcl package bin directory.
2016-07-21Merge pull request #1208 from ↵Todd Gamblin4-77/+128
paulhopkins/bugfix/github1196-specify-preferred-variants Bugfix/github1196 specify preferred variants
2016-07-21Merge pull request #1328 from suraia/fix-recursive-module-loadTodd Gamblin1-4/+4
Fix recursive module loading
2016-07-21Merge pull request #1327 from suraia/update-load-documentationTodd Gamblin1-30/+31
Update documentation for recursive module loading