summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-01-19 09:37:53 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2016-01-19 09:37:53 -0600
commit16f1267c299a61585fe9b6b60412cdea17bb9408 (patch)
tree5e22acf69917e5e0cd6856578586bc0a3a71c2d2 /bin
parent58162ec17070db5476b3aeffe1ef40d676a62949 (diff)
parent01c5b53ba16a95ab77918d30dfa3a63f2ef2707f (diff)
downloadspack-16f1267c299a61585fe9b6b60412cdea17bb9408.tar.gz
spack-16f1267c299a61585fe9b6b60412cdea17bb9408.tar.bz2
spack-16f1267c299a61585fe9b6b60412cdea17bb9408.tar.xz
spack-16f1267c299a61585fe9b6b60412cdea17bb9408.zip
Merge branch 'develop' into features/mpich
* develop: (43 commits) Make libxcb compile with gcc 4.9. disable parallel install for glib (found races) disable cairo-trace, which is incompatible with older libiberty.h. Fix LaunchMon on newer gcc versions. Simplify output redirection in spack.util.executable Allow completely empty config files. Fix create, diy, edit, and repo commands to use multiple repos. Add namespace option to find command. Temporary fix: Clang is the default compiler on Mac OS X. update compiler config test. add sanity check on config write as well as validation on read. Add jsonschema validation for config files. Make text wrapping off by default in tty, add a kwarg for it. add/remove/list working for new config format. Add Python 3 aliases to our argparse backport. All tests that call concretize() need to be MockPackagesTests. Fix bug in tests. Rework mirror configuration. Rework compiler configuration and simplify config.py logic. Remove mock_configs; tests no longer modify spack home directory. ...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index 55b2708875..93263217ac 100755
--- a/bin/spack
+++ b/bin/spack
@@ -140,8 +140,8 @@ def main():
spack.spack_working_dir = working_dir
if args.mock:
- from spack.packages import PackageDB
- spack.db = PackageDB(spack.mock_packages_path)
+ from spack.repository import RepoPath
+ spack.repo.swap(RepoPath(spack.mock_packages_path))
# If the user asked for it, don't check ssl certs.
if args.insecure: