summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-04-01Added documentation for installing Environment Modules with Spack.citibeth1-0/+28
2016-03-31Merge branch 'features/blas-lapack-hardening' into developTodd Gamblin3-4/+28
2016-03-31Quick fix for pkg diff.Todd Gamblin1-1/+2
2016-03-31reworked to deal with stage.path as propertyTom Scogland3-13/+14
This version actually pulls the path through the package to deliver it to each stage on creation when passed through the command. This is necessary due to the new StageComposite class that makes setting the path directly on the stage impractical, it also takes the logic out of package for the most part, which seems like an improvement.
2016-03-31add a path argument to the stage commandTom Scogland2-3/+13
Allow users to use spack to stage a, potentially complex, package into a given path. This is nice for packages with multiple resources that must be placed, for example LLVM with all sub-projects.
2016-03-31uninstall : added unit testsMassimiliano Culpo5-81/+119
2016-03-30uninstall : changed error messageMassimiliano Culpo1-1/+1
2016-03-29uninstall : minor fixesMassimiliano Culpo1-0/+2
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-29uninstall : added user confirmationMassimiliano Culpo1-5/+42
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-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-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