summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-03-27uninstall : added recursive optionMassimiliano Culpo1-50/+101
2016-03-27Wrap the long description of an environment module so it is more readable.Glenn Johnson1-2/+2
2016-03-27Merge branch 'correct-cc' of git://github.com/eschnett/spack into ↵Todd Gamblin1-126/+128
eschnett-correct-cc
2016-03-27Run post-install hoooks before build stage is removed.Todd Gamblin1-3/+3
- Build will properly fail when post-install hoooks fail. - Post-install hooks have a proper working directory set now.
2016-03-27Add a method to find the containing directory of a library.Todd Gamblin1-1/+16
2016-03-27Add a dso_suffix variable to build_environmentTodd Gamblin1-0/+8
- Consolidate this in one place so that we don't have to do it in every build. - Will update further once better OS support is committed. Shoudl really be an attribute of the forthcoming `Platform` class.
2016-03-27Speed up directives by skipping debug info in stack traversal.Todd Gamblin1-2/+4
- `caller_locals()` doesn't need debug info, only frame locals. - `get_calling_module()` doesn't either. - Changed calls to `inspect.stack()` -> `inspect.stack(0)`
2016-03-27Update to documentation formatting.citibeth1-21/+24
2016-03-26Fixed imports to make ``git spconfig`` work after recent merge from develop.citibeth1-2/+6
2016-03-25handle case where file contents change but resource name does not (e.g. if ↵Peter Scheibel2-1/+14
resource maintainer uses same name for each new version of a package)
2016-03-25Fixed a bug in the testingGregory Becker1-0/+4
2016-03-25Fixed bug in platform names that I introduced yesterdayGregory Becker1-9/+9
2016-03-25Added documentation for StagedPackage, etc.Elizabeth F1-0/+101
2016-03-25Made StagedPackage user-visible.Elizabeth F1-2/+2
2016-03-25Merge remote-tracking branch 'upstream/develop' into ↵citibeth1-2/+2
efischer/160311-StagedPackage
2016-03-25Merge remote-tracking branch 'upstream/develop' into ↵citibeth25-403/+1144
efischer/160311-StagedPackage # Conflicts: # lib/spack/spack/package.py
2016-03-24spacing issuePeter Scheibel1-0/+1
2016-03-24implemented cache_local method for DIY stage (as a noop)Peter Scheibel1-0/+2
2016-03-24stage creates cache fetcher with cache object (so it can be mocked for tests)Peter Scheibel5-12/+31
2016-03-24Fixed things from merge.Gregory Becker8-27/+45
2016-03-24Fix spack info indentationAdam J. Stewart1-2/+2
2016-03-24remove unused importPeter Scheibel1-1/+0
2016-03-24(1) move definition of MockCache to test command (no definitions or extra ↵Peter Scheibel3-14/+7
work is required in MockPackagesTest) (2) removing outdated logic (which originated in this branch) and minor cleanup
2016-03-24python extensions : create PYTHONPATH in module filesalalazo1-5/+5
2016-03-24module files configuration : enable/disable logic is now positivealalazo2-8/+3
2016-03-23replace references to cache directory with references to new cache object. ↵Peter Scheibel5-10/+24
tests may assign a mock cache but by default it is None (this will avoid any implicit caching behavior confusing unit tests)
2016-03-23clear test cache before and after each MockPackagesTest (I think Ive got a ↵Peter Scheibel3-6/+8
better way to avoid test fragility but Ill add this for now)
2016-03-23cleanupGregory Becker1-4/+4
2016-03-23modules : fixed annoying indentalalazo1-1/+1
2016-03-23modules : added configuration file with disable keywordalalazo2-5/+35
2016-03-23resurrect preferred=True option for packages lost in merge of externals support.Todd Gamblin3-3/+14
- Pyton 2.7.11 is preferred again.
2016-03-23Fix #608: broken numpy build.Todd Gamblin2-3/+5
- Failed to catch all instances of modify_module when it was renamed to setup_dependent_package. - Refactored remaining modify_module calls. - Also modified Python's setup_dependent_package slightly: only creates empty site-packages directory for Python extensions now, not for all dependents.
2016-03-22(1) relocate cache for tests (2) initial approach for restoring unit tests ↵Peter Scheibel2-0/+8
(just for git tests although the same concept applies to the other unit tests which are failing - namely those for svn and hg)
2016-03-22Merged newarch into mergeGregory Becker37-165/+1190
2016-03-22URLFetchStrategy.archive does a copy vs. a move nowPeter Scheibel2-6/+3
2016-03-22Change from PR #552: rename setup_dependent_python_module -> ↵Todd Gamblin2-15/+39
setup_dependent_package - Fixed in package.py - Fixed wrong prototypes in packages that use it. - Fixed build_environment to set module variables properly - added hacky fix to ensure spec/package consistency in build processes. - Need to think about defensive spec copy done by `Repo.get`. May be time to think about an immutable spec implementation.
2016-03-21temporarily wrap archiving with conditional to avoid moving (this still ↵Peter Scheibel1-4/+5
causes a failure on the initial download)
2016-03-21undoing whitespace-only diffPeter Scheibel1-2/+0
2016-03-21pursuing a strategy using fetch.archive and treating var/spack/cache as a ↵Peter Scheibel3-18/+14
mirror. this should support both URLFetchStrategy as well as VCSFetchStrategy (the previous strategy supported only the former). this won't work until URLFetchStrategy.archive is updated
2016-03-21Rename some environment methods to be less repetitive, add set_path.Todd Gamblin3-32/+57
2016-03-21Refactor environment setup.Todd Gamblin3-41/+117
- Gave setup_environment and setup_dependent_environment more similar signatures. They now allows editing the Spack env and the runtime env for *this* package and dependents, respectively. - modify_module renamed to setup_dependent_python_module for symmetry with setup_dependent_environment and to avoid confusion with environment modules. - removed need for patching Package objects at runtime. - adjust packages to reflect these changes.
2016-03-21Remove unused code from modules.pyTodd Gamblin1-20/+10
2016-03-21Fix print function in uninstall.pyTodd Gamblin1-5/+6
2016-03-21Merge pull request #552 from epfl-scitas/features/env_objects_flying_aroundTodd Gamblin11-232/+579
enhancement proposal : customization of module files
2016-03-21Add test for issue 573, child with compiler not respected in concretizationMatthew LeGendre1-0/+7
2016-03-21Fix issue 573 where Spack was ignoring user's compiler preference in ↵Matthew LeGendre1-2/+2
concretization
2016-03-21Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo6-6/+61
features/env_objects_flying_around Conflicts: lib/spack/spack/package.py var/spack/repos/builtin/packages/netlib-scalapack/package.py
2016-03-21uninstall : fixed typo (print statement vs. print function)alalazo1-2/+2
2016-03-18move cache to var/spack/cachePeter Scheibel1-1/+1
2016-03-18since only archives with checksums can be retrieved from the cache, make ↵Peter Scheibel1-1/+1
sure that an archive without a checksum isnt placed there (this wouldn't cause an error but does waste space and might be confusing)