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
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
Greg Becker
3b4d6ddc03
stacks: fix reference handling in env.write() ( #12096 )
...
* stacks: Fix env.write to properly write references
* stacks: regression test for 12095
2019-08-06 12:53:41 -07:00
Pariksheet Nanda
f68cdd1ad0
Fix typo in config ( #12267 )
...
Using "compilers" with the "s" is an invalid config section and throws an error.
Traceback (most recent call last):
File "spack/bin/spack", line 48, in <module>
sys.exit(spack.main.main())
File "/home/omsai/src/libkmap/spack/lib/spack/spack/main.py", line 633, in main
env = ev.find_environment(args)
File "/home/omsai/src/libkmap/spack/lib/spack/spack/environment.py", line 263, in find_environment
return Environment(env)
File "/home/omsai/src/libkmap/spack/lib/spack/spack/environment.py", line 534, in __init__
self._read_manifest(f)
File "/home/omsai/src/libkmap/spack/lib/spack/spack/environment.py", line 561, in _read_manifest
self.yaml = _read_yaml(f)
File "/home/omsai/src/libkmap/spack/lib/spack/spack/environment.py", line 402, in _read_yaml
validate(data, filename)
File "/home/omsai/src/libkmap/spack/lib/spack/spack/environment.py", line 395, in validate
e, data, filename, e.instance.lc.line + 1)
spack.config.ConfigFormatError: /home/omsai/src/libkmap/spack.yaml:15: Additional properties are not allowed ('compilers' was unexpected)
2019-08-03 20:18:44 -05:00
Adam J. Stewart
98605bba0d
Fix CNL version detection ( #12207 )
2019-08-03 12:00:30 -07:00