diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2020-06-07 11:48:22 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-11-17 10:04:13 -0800 |
commit | 0ed019d4efd9445771d2c49a623706ecc6ea0819 (patch) | |
tree | 23bbc33da9cf73391f49a3382c094e3fcd7f08c3 /share | |
parent | 14ab63f97cf34c3a43a16717ccc7a360e6bd4287 (diff) | |
download | spack-0ed019d4efd9445771d2c49a623706ecc6ea0819.tar.gz spack-0ed019d4efd9445771d2c49a623706ecc6ea0819.tar.bz2 spack-0ed019d4efd9445771d2c49a623706ecc6ea0819.tar.xz spack-0ed019d4efd9445771d2c49a623706ecc6ea0819.zip |
concretizer: first working version with pyclingo interface
- [x] Solver now uses the Python interface to clingo
- [x] can extract unsatisfiable cores from problems when things go wrong
- [x] use Python callbacks for versions instead of choice rules (this may
ultimately hurt performance)
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 2a11fac65c..7d54414397 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -320,7 +320,7 @@ _spack() { then SPACK_COMPREPLY="-h --help -H --all-help --color -C --config-scope -d --debug --timestamp --pdb -e --env -D --env-dir -E --no-env --use-env-repo -k --insecure -l --enable-locks -L --disable-locks -m --mock -p --profile --sorted-profile --lines -v --verbose --stacktrace -V --version --print-shell-vars" else - SPACK_COMPREPLY="activate add arch blame build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mirror module patch pkg providers pydoc python reindex remove rm repo resource restage setup spec stage test tutorial undevelop uninstall unload url verify versions view" + SPACK_COMPREPLY="activate add arch blame build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mirror module patch pkg providers pydoc python reindex remove rm repo resource restage setup solve spec stage test tutorial undevelop uninstall unload url verify versions view" fi } @@ -1464,6 +1464,15 @@ _spack_setup() { fi } +_spack_solve() { + if $list_options + then + SPACK_COMPREPLY="-h --help --show --models -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces -t --types --timers --stats" + else + _all_packages + fi +} + _spack_spec() { if $list_options then |