summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-03-29Merge pull request #681 from LLNL/bugfix/complete-restageTodd Gamblin1-2/+8
Fix bug in restage
2016-03-29Fix bug in restageTodd Gamblin1-2/+8
- Restage previously only removed the source directory from the stage. - Now removes any other directories in stage as well.
2016-03-29Merge branch 'eschnett-correct-cc' into developTodd Gamblin2-178/+180
2016-03-29Handle Darwin's ld -r option properlyTodd Gamblin1-8/+27
- ld -r doesn't work with RPATH on OS X. - for GNU ld, the -r option only means 'relocatable', and doesn't affect RPATH. - This adds special handling to omit RPATHs for ld -r on OS X
2016-03-28Add command to compiler input log.Todd Gamblin1-1/+1
2016-03-28Simplify cc: Remove old logic and add better tests.Todd Gamblin2-142/+123
- removed a lot of old logic that was only still needed for tests. - Added better unit tests for dependency RPATH, -L, and -I args - tests now check whether the compiler omits -I args in link mode.
2016-03-28Fix bug with lib64 RPATH setting in cc.Todd Gamblin1-2/+2
2016-03-27Merge pull request #669 from glennpj/module_formatTodd Gamblin1-2/+2
Wrap the long description of an environment module so it is more readable
2016-03-27Merge pull request #658 from davydden/metis_parmetis_darwinTodd Gamblin1-1/+29
metis/parmetis/oce/boost: correct install_name on Darwin via a global tool
2016-03-28metis/parmetis/boost/oce/scalapack: correct install_name on Darwin via a ↵Denis Davydov1-1/+29
global function.
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-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-24Fix spack info indentationAdam J. Stewart1-2/+2
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-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-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-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-18Add docs for InstallError.Todd Gamblin1-0/+14
2016-03-18Make InstallError and ExternalPackageError visiible in packages.Todd Gamblin2-2/+10
2016-03-18Merge pull request #574 from LLNL/features/flattenerTodd Gamblin2-0/+32
Created flatten_dependencies function
2016-03-18changed function name and removed hardcoded libs dirGregory Becker2-5/+4
2016-03-18cleanupGregory Becker1-1/+0
2016-03-18Refactoring flat_installGregory Becker3-24/+33
2016-03-18Merge pull request #576 from adamjstewart/features/tarTodd Gamblin2-5/+4
Add support for .tar files
2016-03-18Add support for .tar filesAdam J. Stewart2-5/+4
2016-03-18added error class for error that should never come upGregory Becker1-0/+7
2016-03-18Created flatten_dependencies function that dummy packages can use to create ↵Gregory Becker1-0/+18
sane install environments.
2016-03-18env modifications : added a validation rulealalazo2-3/+33
2016-03-18modules : added formats mappingalalazo1-1/+4
2016-03-18modules : turned category into a property (logic can be extended later)alalazo1-4/+11
2016-03-18modules : fixed bug in `modify_module` argumentsalalazo1-1/+1
2016-03-18PYTHONPATH : python patches methods for its extensionsalalazo5-21/+19
2016-03-18Add additional suffixes for GCC compilerBen Morgan1-1/+2
2016-03-18Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo3-17/+99
features/env_objects_flying_around
2016-03-17Import recent changesErik Schnetter1-120/+65
2016-03-17Merge branch 'develop' into correct-ccErik Schnetter84-1183/+2893
# Conflicts: # lib/spack/env/cc
2016-03-17Change sanity_check_[file|dir] to sanity_check_is_[file|dir], per #554Todd Gamblin2-23/+83
- Add documentation as well.