Adam J. Stewart
b4862be875
Fix typo in yaml config docs ( #12312 )
2019-08-08 10:56:11 +02:00
Greg Becker
36fbd6cf4c
bugfix: spack stacks mixed dependency and non-dep constraints ( #12315 )
...
Spack stacks drop invalid dependencies applied to packages by a
spec_list matrix operation
Without this fix, Spack would raise an error if orthogonal dependency
constraints and non-dependency constraints were applied to the same
package by a matrix and the dependency constraint was invalid for
that package. This is an error, fixed by this PR.
An example failing configuration:
spack:
definitions:
- packages: [libelf, hdf5+mpi]
- compilers: ['%gcc']
- mpis: [^openmpi]
specs:
- matrix:
- $packages
- $compilers
- $mpis
2019-08-07 18:34:41 -07:00
Carson Woods
6ec8aea6f7
Rebase branch 'features/shared' of github.com:carsonwoods/spack against develop
2019-08-07 18:57:48 -06:00
Carson Woods
5b11f7aa4c
Fix bug where environments would ignore global path
2019-08-07 18:32:28 -06:00
Carson Woods
97e46981b9
Remove old doc from doc index
2019-08-07 18:32:28 -06:00
Carson Woods
873ac5e890
Remove old documentation for shared mode
2019-08-07 18:32:28 -06:00
Carson Woods
4d7dae5716
Remove old share command from tests
2019-08-07 18:32:28 -06:00
Carson Woods
b19f0fafcc
Remove outdate share command
2019-08-07 18:32:28 -06:00
Carson Woods
11b1bdd119
Pep8 Compliance Fix
2019-08-07 18:32:28 -06:00
Carson Woods
f749821dc2
Pep8 Compliance
2019-08-07 18:32:28 -06:00
Carson Woods
5abb20dcab
Rename test
2019-08-07 18:32:28 -06:00
Carson Woods
0c233bdd0f
Add test for validating upstream database initialization
2019-08-07 18:32:28 -06:00
Carson Woods
0f171c7ded
Replace space with = in command parameter
2019-08-07 18:32:28 -06:00
Carson Woods
b4c7520dd8
Flake8 Test Compliance
2019-08-07 18:32:28 -06:00
Carson Woods
9ab7d8f01d
Add config parameter for active upstream to set install location for modules
2019-08-07 18:32:28 -06:00
Carson Woods
a7ad344c2a
Add upstreams.yaml testing file so calls to upstreams['global] doesn't cause tests to fail
2019-08-07 18:32:28 -06:00
Carson Woods
deb2d3745c
Fix .spack-db/index.json not being created in global upstream if previously uninitialized
2019-08-07 18:32:28 -06:00
Carson Woods
ff96ec430b
Can now specify upstream of anyname through -u/--upstream flag
2019-08-07 18:32:28 -06:00
Carson Woods
d4a959736a
Flake8 Compliance Changes
2019-08-07 18:32:28 -06:00
Carson Woods
5ba51a0be0
--global option now works for both install and uninstall
2019-08-07 18:32:28 -06:00
Carson Woods
27e1140df7
Reset active directory after each global install
2019-08-07 18:32:28 -06:00
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
9665754eae
Fix default install tree
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
777a5682a6
Fix default install location
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
f0fea97e88
Set source_cache to user's ~/.spack directory
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
6ffacddcf4
Change default install tree to user's ~/.spack directory
2019-08-07 18:32:27 -06:00