Carson Woods
7ab6af8a3b
Add scope to setting active tree to ensure that it is set at user level
2019-08-07 18:32:28 -06:00
Carson Woods
0e6e93eaac
Fix unit test config.yaml
2019-08-07 18:32:28 -06:00
Carson Woods
38f8bdd2bb
Home expansion was removed because it was no longer being used
2019-08-07 18:32:27 -06:00
Carson Woods
8e45a3fc2f
Fix flake8 compliance
2019-08-07 18:32:27 -06:00
Carson Woods
c22af99b04
Fix how upstream db paths are canonicalized
2019-08-07 18:32:27 -06:00
Carson Woods
fc3a909fbc
Set staging location to ~/.spack/var
2019-08-07 18:32:27 -06:00
Carson Woods
0f9f9f3a85
Revise default var path
2019-08-07 18:32:27 -06:00
Carson Woods
8994b4aab6
Fix flake8 compliance
2019-08-07 18:32:27 -06:00
Carson Woods
98ec366470
Set root of store object to active tree
2019-08-07 18:32:27 -06:00
Carson Woods
c61f4d7c82
Add logic to set the active install tree
2019-08-07 18:32:27 -06:00
Carson Woods
811b304230
Remove old code
2019-08-07 18:32:27 -06:00
Carson Woods
8f0c9ad409
Change name of global parameter to install_global
2019-08-07 18:32:27 -06:00
Carson Woods
6a423a5d8a
Typo fix
2019-08-07 18:32:27 -06:00
Carson Woods
23c37063bd
Add default global upstream of /opt/spack
2019-08-07 18:32:27 -06:00
Carson Woods
478f3a5a99
Fix whitespace issue
2019-08-07 18:32:27 -06:00
Carson Woods
02afb30990
Remove unit testing for shared spack mode
2019-08-07 18:32:27 -06:00
Carson Woods
06e3f15e47
Remove old shared spack code
2019-08-07 18:32:27 -06:00
Carson Woods
f13ce3540d
Add dest name of install_global to --global parameter
2019-08-07 18:32:27 -06:00
Carson Woods
7ae34087e3
Set remove old shared spack code
2019-08-07 18:32:27 -06:00
Carson Woods
54893197ed
Set staging location to be based out of users .spack directory
2019-08-07 18:32:27 -06:00
Carson Woods
80da1d50d1
Make var_path point to ~/.spack/var/spack
2019-08-07 18:32:27 -06:00
Carson Woods
944c5d75cd
Add --global flag to install cmd to install to globally accessible location
2019-08-07 18:32:27 -06:00
Carson Woods
9ef4bc9d50
Add macro for expanding home directory
2019-08-07 18:32:27 -06:00
Carson Woods
a2af432833
Temporarily disable module file location overrride while feature is being implemented
2019-08-07 18:32:27 -06:00
Carson Woods
aefed311af
Change modulefiles install location
2019-08-07 18:32:27 -06:00
Carson Woods
e17824f82f
Remove shared mode set self as upstream
2019-08-07 18:32:27 -06:00
Carson Woods
57ca47f035
Remove testing for shared mode
2019-08-07 18:32:27 -06:00
Carson Woods
4532a56b4e
Remove shared disable from unit testing
2019-08-07 18:32:27 -06:00
Carson Woods
86e69a48a2
Fix flake8 error
2019-08-07 18:32:27 -06:00
Carson Woods
2508295d81
Fix error caused by SPACK_PATH environment variable not existing
2019-08-07 18:32:27 -06:00
Carson Woods
1a041c051a
Fix flake8 error
2019-08-07 18:32:27 -06:00
Carson Woods
2262ca2e67
Add test for install in shared mode
2019-08-07 18:32:27 -06:00
Carson Woods
2269771a91
Fix typo
2019-08-07 18:32:27 -06:00
Carson Woods
7f32574dd8
Fix shared cmd test file
2019-08-07 18:32:27 -06:00
Carson Woods
d15ac30f62
Add shared to toctree
2019-08-07 18:32:27 -06:00
Carson Woods
1f41347ab8
Share feature Unit testing
2019-08-07 18:32:27 -06:00
Carson Woods
1f4f01103b
Add command interface for share feature
2019-08-07 18:32:27 -06:00
Carson Woods
8f46fcb512
When running tests, disable shared mode because it will break other tests. Custom tests must be written
2019-08-07 18:32:27 -06:00
Carson Woods
2d3b973ebc
When shared mode is active store installed packages in SPACK_PATH
2019-08-07 18:32:27 -06:00
Carson Woods
7e62e0f27f
When shared mode is active set stage path to SPACK_PATH
2019-08-07 18:32:27 -06:00
Carson Woods
ea0db4c0f9
Prevent packages from being installed upstream
2019-08-07 18:32:27 -06:00
Carson Woods
0afc68e60b
Change module root path when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
8ad25d5013
Uninstall from SPACK_PATH when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
e90db68321
Install to SPACK_PATH when shared mode is active
2019-08-07 18:32:27 -06:00
Carson Woods
9e96b89f02
Add documentation for spack share command
2019-08-07 18:32:27 -06:00
Carson Woods
b4dae1b7fd
When shared mode is active, spack treats the normal install directory as an upstream
2019-08-07 18:32:27 -06:00
Carson Woods
9e9adf1d2f
When shared mode is active, set cache location to SPACK_PATH
2019-08-07 18:32:27 -06:00
Peter Scheibel
92ec732f9a
compiler bootstrapping: enable both single-node and multi-node DAGS( #12310 )
...
5f74f22 enabled installing compilers for dependencies but not for the root package (and in particular not for DAGs which consist of one package)
this enables bootstrapping compilers for both types of DAGs
2019-08-07 14:43:25 -07:00
Tamara Dahlgren
951d42596b
tests: explain and test dependency flattening routines ( #11993 )
...
- Add comments to explain that `install_dependency_symlinks` and `flatten_dependencies` are actually used.
- Add a test that exercises the routines.
2019-08-06 17:11:23 -07:00
Greg Becker
15884a679b
mirrors: mirror config should use spack variable expansions ( #9027 )
...
- ensure that `$spack` and other variables are substituted into mirror
paths
2019-08-06 13:54:50 -07:00