summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-12-01Does nothing if no prexisting config.guess is found. (#2446)Matt Belhorn1-1/+3
* Does nothing if no prexisting config.guess is found. * Update name for RHEL OS.
2016-12-01Update tutorial_sc16_packaging.rst (#2450)TomasPuverle1-1/+1
Fixed a typo.
2016-12-01Update workflows.rst (#2451)TomasPuverle1-1/+1
Fixed a typo.
2016-12-01More informative help messages for spack config. (#2453)Sergey Kosukhin1-2/+10
2016-11-29CDash fixes (#2438)hegner1-4/+4
use short spec instead of spec as CDash has a limitation in name length mark all problems as 'FAILED' as CDash does not understand "ERRORED" status
2016-11-29add headers neede for CDASH to junit output (#2433)hegner1-2/+6
2016-11-24Adding pic_flag property to compilers (#2375)Andrey Prokopenko6-0/+24
Different compilers have different flags for PIC (position-independent code). This patch provides a common ground to accessing it inside specs. See discussions in #508 and #2373. This patch does not address the issue of mixed compilers as mentioned in #508.
2016-11-24Add dynamic search option for package sources (#2270)scheibelp4-8/+70
Package provides a 'list_url' attribute which may be searched to find download links. #1822 created a slowdown for all tests by always searching this URL. This reenables dynamic search only in cases where all other fetchers fail. This also only enables dynamic search when 'mirror_only' is set to false.
2016-11-23Fix indentation for newly created packages (#2391)Adam J. Stewart1-9/+9
2016-11-22Update external distro package to 1.0.1 (#2381)Adam J. Stewart1-60/+92
2016-11-22Forgot http:// in tutorial link.Todd Gamblin1-1/+1
2016-11-22Fix broken doc links.Todd Gamblin6-9/+10
2016-11-17Improve stacktrace printingMatthew Krafczyk1-3/+5
Sometimes files in the stacktrace are not from spack. Remove these files before finding the spack root.
2016-11-16Use better scheme for getting root directoryMatthew Krafczyk1-3/+7
2016-11-16Fix some formatting errors caught by flake8.Matthew Krafczyk1-6/+7
2016-11-16-s now includes the file and line number with infoMatthew Krafczyk1-2/+32
The option -s now causes file and line number information to be printed along with any invocation of msg, info, etc... This will greatly ease debugging.
2016-11-15Move tutorial slides to external link and stop using git LFS (#2341)Todd Gamblin3-3/+2
- Seems like older git versions won't be able to clone an LFS repo. - Reverting to an external link for the slides to avoid storing an 8MB file in the repo and to avoid using git LFS.
2016-11-14Add SC16 tutorial to the Spack docs.Todd Gamblin13-17/+64
2016-11-13Edited/fixed basic usage tutorial (#2329)becker331-69/+79
* Colify compiler output * Edited/fixed basic usage tutorial * fix console spacing.
2016-11-13fake install: mock include directory (#2294)Massimiliano Culpo1-0/+1
2016-11-13install: fixed choices for `--only` (removed the default) fixes #2303 (#2308)Massimiliano Culpo1-1/+1
2016-11-12Basic usage step-by-step tutorialGregory Becker3-1/+1246
2016-11-12Add packaging tutorial to docs (#2315)Matthew LeGendre8-5/+651
* Add packaging tutorial to docs * packaging tutorial: formatting
2016-11-09Allow compiler wrapper to modify environment (#2275)scheibelp7-5/+112
* Allow compiler wrapper to modify environment This adds the ability to set environment variables in the compiler wrappers. These are specified as part of the compilers.yaml config. The user may also specify RPATHs in compilers.yaml that should be added. * Minor doc tweak
2016-11-09find, uninstall: improved user interaction in the case of empty DB (#2278)Massimiliano Culpo2-2/+6
2016-11-07Waste less space when fetching cached archives, simplify fetch messages. (#2264)Todd Gamblin2-24/+39
* Waste less space when fetching cached archives, simplify fetch messages. - Just symlink cached files into the stage instead of copying them with curl. - Don't copy linked files back into the cache when done fetching. * Fixes for review. * more updates * last update
2016-11-06Don't automatically spider remote list_urls before making stage. (#2263)Todd Gamblin1-6/+1
- This might be useful but we don't want to do it unconditionally.
2016-11-06Changed cflag matching to exact rather than subset. (#2227)becker331-2/+2
Not the desired eventual behavior, but cflag subset matching is not currently working for anonymous specs and this provides a temporary solution by restricting the feature until it is fixed.
2016-11-06Wordsmithing/minor-edits to module tutorial (#2256)George Hartzell1-21/+28
* Wordsmithing/minor-edits to module tutorial A small set of wordsmithing, spell checking and minor edits to the fancy new modules tutorial! * Fix typo (sneaky z key...) * Fix "S:" and "manual<" typos
2016-11-06Add detection for redhat enterprise server to distro.py (#2262)Todd Gamblin1-1/+2
2016-11-05variable referenced before assignment (#2252)Massimiliano Culpo1-2/+4
2016-11-04Bugfix in concretize_compiler (#2196)Jeffrey Salmond1-8/+7
* fix bug in search for concrete compiler * simplify implementation of concretize_compiler * fix flake8 errors
2016-11-04Fixes #1520 (#1822)scheibelp4-44/+73
Some packages which include resources fetched from source control repositories terminated package installs because they failed to archive; specifically, this included all SCM resources which identify a specific state of the repo - for example a revision in svn or a tag/revision in git. This is because the resource stage creation logic did not choose an appropriate archive name for these kinds of resources.
2016-11-04Set Clang as the default compiler on macOS (#2225)Adam J. Stewart2-25/+0
* Set OS-specific default compilers * Fix flake8 warnings
2016-11-04Fix bug in distribution detection on unsupported platforms.Todd Gamblin1-4/+8
2016-11-04Use code from the `distro` package to improve linux distro detection. (#1629)Jeffrey Salmond2-2/+1051
* Use code from the `distro` package to improve linux distro detection. Various issues [1] [2] with the platform.linux_distribution function led to the function being deprecated in python 3.4. The pipi package distro [3] contains compatible improved code that better tracks current methods for identifying linux distributions (see, for example, [4],[5]). [1]: https://bugs.python.org/issue20454 [2]: http://bugs.python.org/issue1322 [3]: https://pypi.python.org/pypi/distro [4]: https://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/lsbrelease.html [5]: https://www.freedesktop.org/software/systemd/man/os-release.html * fix (potential) unicode problems
2016-11-04libSplash: Add 1.6.0 Release (#2244)Axel Huebl1-9/+19
* libSplash: Add 1.6.0 Release Add the latest release of libSplash, version 1.6.0. * Fix flake8 checks (another loop inversion issue)
2016-11-04module files tutorial : first complete draft (#2228)Massimiliano Culpo3-27/+1009
* module files tutorial : first complete draft - first complete draft for module files tutorial - minor corrections to module file reference * module file tutorial : first batch of corrections - module avail spelled out fully - typos from @adamjstewart - rewording of a few sentences * module file tutorial : first batch of corrections - emphasized lines in yaml files * module file tutorial : fixes according to @citibeth and @adamjstewart reviews - used long format for command options - reworded unclear sentence on tokes - reworked table in reference manual to make it clearer * module file tutorial : implemented corrections collected on site from @schlyfts * module file tutorial : removed comment (@hartzell suggestion)
2016-11-04patch older config.guess for newer architectures (#2221)Gregory Lee2-2/+79
2016-11-04Better spack spec (#2238)Todd Gamblin6-25/+85
* Add options for hashes, tree depth, and YAML to `spack spec`. - Can now display hashes with `spack spec`, like `spack find`. - Removed the old "ids" argument to `spack spec` (which printed numerical values)b - Can output YAML spec from `spack spec` with `-y` - Can control depth of DAG traversal with --cover=[nodes|edges|paths] - Can print install status (installed, missing, not installed) with -I * Don't use YAML aliases in specs. - Force Spack's YAML dumper to ignore aliases. - aliases cause non-canonical YAML to be used in DAG hash, and result in redundant hashes. - add a test to ensure this behavior stays
2016-11-04Make spec.format properties case-insensitivePeter J. Scheibel1-0/+4
2016-11-04Support 'COMPILERVERSION' in spec format stringPeter J. Scheibel1-1/+1
2016-11-03remove obsolete instructions on hacking clang+gfortran (#2217)Denis Davydov1-52/+15
* remove obsolete instructions on hacking clang+gfortran * add detailed instructions on how to setup Clang+gfortran on macOS
2016-11-03spack install: forward sys.stdin to child processes (#2158)Massimiliano Culpo3-36/+62
* spack install: forward sys.stdin to child processes fixes #2140 - [ ] redirection process is spawned in __enter__ instead of __init__ - [ ] sys.stdin is forwarded to child processes * log: wrapped __init__ definition
2016-11-03spack find: accepts anonymous specs as arguments fixes #2170 (#2188)Massimiliano Culpo5-58/+33
2016-11-02Fix style checker bug. (#2214)Todd Gamblin1-12/+42
* Fix style checker bug. * spack flake8: print cwd-relative paths by default, with root-relative option.
2016-11-02Add support for gfortran to be used with clang (#2192)Barry Smith2-4/+28
1) list gfortran as a fc and f77 compiler that can work with clang 2) allow compatible gfortran to ./spack compiler find with clang by matching version numbers This is based on the discussions in https://github.com/LLNL/spack/issues/237 https://github.com/dealii/dealii/wiki/deal.II-in-Spack#mixing-gcc-and-clang-on-osx This is not a long term solution but something to get us through the next months until the compiler infrastructure is reworked to allow mixing and matching for C/C++ and Fortran compilers Funded-by: IDEAS Project: IDEAS/xSDK Time: 1.5 hours
2016-11-01Update references in debug command (#2204)scheibelp1-3/+3
2016-10-31Improved package.py error handling. (#2187)Todd Gamblin4-163/+219
- Detailed debug information is now handed back to the parent process from builds, for *any* type of exception. - previously this only worked for Spack ProcessErrors, but now it works for any type of error raised in a child. - Spack will print an error message and source code context for build errors by default. - It will print a stack trace when using `spack -d`, even when the error occurred in the child process.
2016-10-31Add `spack flake8` command. (#2186)Todd Gamblin2-15/+160
- Ported old run-flake8-tests qa script to `spack flake8` command. - New command does not modify files in the source tree - Copies files to a temp stage modifies them there, and runs tests. - Updated docs and `run-flake8-tests` script to call `spack flake8`.