summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-03-09Fix #525: sbang handles symlinks & directories properly.Todd Gamblin1-11/+32
2016-03-09Add unit test for sbang patching.Todd Gamblin2-6/+100
2016-03-09Merge branch 'features/external-packages' of github.com:mplegendre/spack ↵Matthew LeGendre1-2/+2
into features/external-packages Conflicts: lib/spack/docs/site_configuration.rst
2016-03-09Update documentation for new packages.yaml config format.Matthew LeGendre2-53/+49
2016-03-09Fix problem with pure integer arguments in preferred versions list (e.g, 2 ↵Matthew LeGendre2-5/+6
instead of 2.7.3)
2016-03-09Fixes #524Todd Gamblin3-17/+49
- Had attempted to add more functionality by assigning different meanign None, True, and False values "keep_stage" (where False was "always delete"). - Turns out that's not really worth the complexity. Having the third "always delete" sense is hardly ever useful but makes the code hard to understand.
2016-03-09Merge branch 'develop' into features/external-packagesMatthew LeGendre77-1047/+1681
Conflicts: lib/spack/spack/package.py
2016-03-09fix error exit when doing spack patch without parameters, same as spack stageLuigi Calori1-0/+1
2016-03-08Fix bugs in DIYStage: fetch & context handling.Todd Gamblin1-1/+5
- DIYStage needs to be a context handler - DIYStage.fetch needs to take 2 args.
2016-03-08Make diy generate verbose build output by default.Todd Gamblin1-0/+4
- added -q option to shut it up
2016-03-08Fix bug with setting module-scope vars in derived package classes.Todd Gamblin1-2/+0
2016-03-08Minor changes/bugfixes on md5/checksum PRTodd Gamblin4-9/+6
2016-03-08Merge branch 'fixes/md5' of git://github.com/epfl-scitas/spack into ↵Todd Gamblin4-54/+46
epfl-scitas-fixes/md5
2016-03-08Merge pull request #504 from LLNL/bugfix/github-502Todd Gamblin2-80/+91
Bugfix/GitHub 502: Error: No spec file found at path
2016-03-08Merge branch 'features/noexpand' into developTodd Gamblin6-20/+102
Conflicts: lib/spack/llnl/util/filesystem.py
2016-03-08Fixes #502. Create install prefix before build, clean up do_install.Todd Gamblin2-80/+91
- Fix bug introduced during merge of stage refactor. - install prefix was not created before build_environment.fork() - build_environment.fork() calls setup_dependent_environment - python's setup_dependent_environment can inadvertently create the install prefix before directory_layout expects it. - Clean up Package.do_install: - simplify control flow: parent process now entirely responsible for creating/destroying the install prefix. cleanup is now in one place. - Hoisting cleanup out of the child improves nesting of try/catch in `real_work`. - `real_work` renamed to `build_process`
2016-03-08fixed bug : similar issues in checksum and md5 as were solved in ↵alalazo4-54/+46
ad103dcafa652a839590f5fce28b2e2ce3b5a56d
2016-03-07Merge pull request #486 from RemoteConnectionManager/paraview_fixTodd Gamblin1-1/+1
Paraview new version
2016-03-07Merge branch 'features/repos-doc-fix' into developTodd Gamblin4-29/+44
2016-03-07Fix code block in docs.Todd Gamblin1-17/+19
2016-03-07Fix bug in -Xlinker argument handlingTodd Gamblin2-8/+9
- also update test to match.
2016-03-06Merge branch 'eschnett/rpath-comma' of git://github.com/eschnett/spack into ↵Todd Gamblin4-19/+30
eschnett-eschnett/rpath-comma
2016-03-06Don't quote -rpath literalErik Schnetter1-3/+3
2016-03-06Fix docs that have gone stale since repos were added.Todd Gamblin3-12/+25
2016-03-06Merge branch 'features/sbang' into developTodd Gamblin2-1/+87
Conflicts: lib/spack/llnl/util/filesystem.py
2016-03-06Make spack_cc, spack_cxx, spack_f77, spack_fc available in build env.Todd Gamblin2-0/+16
- Add for convenience for packages that need to refer to these. - Added an example in the documentation.
2016-03-06Add `expand=False` option for URL downloads.Todd Gamblin5-20/+86
- Allows skipping the expand step for downloads. - Fixed stage so that it knows expansion didn't fail when there is a no-expand URLFetchStrategy. - Updated docs to reflect new option, and provided an example.
2016-03-06Fix stage creation bug, simplify do_install code.Todd Gamblin1-33/+40
2016-03-05Small refactor: add keep parameter to stage, get rid of stage.destroy call.Todd Gamblin4-93/+144
- package.py uses context manager more effectively. - Stage.__init__ has easier to understand method signature now. - keep can be used to override the default behavior either to keep the stage ALL the time or to delete the stage ALL the time.
2016-03-05Revert c5d9ee8924 for bug fixes.Todd Gamblin36-523/+441
- This reverts commit c5d9ee89246b3d2aeddb756a04588424051d3295. - merged too soon before - reverting and fixing bugs now. Conflicts: lib/spack/spack/mirror.py lib/spack/spack/package.py
2016-03-05Merge pull request #493 from adamjstewart/features/pgiTodd Gamblin5-13/+12
Modifications to get PGI working
2016-03-05Fix bug in hook: ensure bin directory exists before listing.Todd Gamblin1-0/+3
2016-03-05Fix #104, #54: issues with overlong shebang in deep directories.Todd Gamblin2-1/+84
This does several things: - Add `sbang`: a script to run scripts with long shebang lines. - Documentation for `sbang` is in `bin/sbang`. - Add an `sbang` hook that filters the `bin` directory after install and modifies any scripts wtih shebangs that are too long to use `sbang` instead. - `sbang` is at the top level, so it should be runnable (not much we can do if spack itself is too deep for shebang) - `sbang`, when used as the interpreter, runs the *second* shebang line it finds in a script. - shoud fix issues with too long shebang paths.
2016-03-04Merge pull request #492 from adamjstewart/typos/compilerbecker331-2/+2
Typo fix in compiler docstring
2016-03-04Typo fix in compiler docstringAdam J. Stewart1-2/+2
2016-03-03Rmoved periods. Should help use of cut'n'paste from console windows.citibeth15-58/+58
2016-03-03Modifications to get PGI workingAdam J. Stewart5-13/+12
2016-03-03Revert "refactoring proposal : turn Stage into a context manager"Todd Gamblin36-434/+515
2016-03-03help spack versions paraview to get versions without vLuigi Calori1-1/+1
2016-03-03test : fixed tests that were broken by import optimizationalalazo1-5/+15
2016-03-03Merge branch 'develop' of https://github.com/LLNL/spack into refactoring/stagealalazo17-72/+218
Conflicts: lib/spack/spack/package.py
2016-03-03stage : minor syntax fixalalazo1-1/+1
2016-03-03Merge pull request #475 from LLNL/features/env-and-package-provenanceTodd Gamblin6-50/+183
Features/env and package provenance
2016-03-03stage : added create function as decided in #477 commentsalalazo1-20/+30
2016-03-03test : optimized import statementsalalazo31-128/+61
2016-03-02Add CPATH pointing to include directories.Glenn Johnson2-1/+3
2016-03-02Merge pull request #465 from citibeth/efischer/160229-RemoteRootBugfixTodd Gamblin1-4/+9
Bug Fix: When Spack create roots around for other versions, it someti…
2016-03-02package : updated docalalazo1-1/+0
2016-03-02package : removed do_clean()alalazo6-43/+17
2016-03-02remove_link_tree : moved to llnl.util.filesystemalalazo2-20/+21