diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-05-11 19:55:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 10:55:18 -0700 |
commit | 43c9ad34216a282a50cc1bbd107949c24db38835 (patch) | |
tree | 296c5b1cef0eb1bd1b584e8a1f034ef42979df06 /share | |
parent | 4c666034dcf9a8e9252703c642a48d5f2949738c (diff) | |
download | spack-43c9ad34216a282a50cc1bbd107949c24db38835.tar.gz spack-43c9ad34216a282a50cc1bbd107949c24db38835.tar.bz2 spack-43c9ad34216a282a50cc1bbd107949c24db38835.tar.xz spack-43c9ad34216a282a50cc1bbd107949c24db38835.zip |
Remove 'spack bootstrap' and associated docs (#15179)
fixes #15145
This commit removes the outdated `spack bootstrap`
command and any reference to it in the documentation
and unit tests.
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/qa/run-bootstrap-tests | 37 | ||||
-rwxr-xr-x | share/spack/spack-completion.bash | 6 |
2 files changed, 1 insertions, 42 deletions
diff --git a/share/spack/qa/run-bootstrap-tests b/share/spack/qa/run-bootstrap-tests deleted file mode 100755 index 9532d2d801..0000000000 --- a/share/spack/qa/run-bootstrap-tests +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -e -# -# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other -# Spack Project Developers. See the top-level COPYRIGHT file for details. -# -# SPDX-License-Identifier: (Apache-2.0 OR MIT) - -# -# Description: -# Checks that Spack shell integration with modules works correctly. -# -# Usage: -# run-bootstrap-tests -# -. "$(dirname $0)/setup.sh" -check_dependencies ${coverage} git hg svn - -# Fetch the sources in a mirror, and add it to Spack -mkdir -p ~/.mirror -bin/spack mirror add travis ~/.mirror -bin/spack mirror create -D -d ~/.mirror environment-modules~X - - -# Move to root directory of Spack -# Allows script to be run from anywhere -cd "$SPACK_ROOT" - -# Print compiler information -spack config get compilers - -# Run some build smoke tests, potentially with code coverage -${coverage_run} bin/spack bootstrap - -# Check module integration -. "share/spack/setup-env.sh" -module av || exit 1 -spack load tcl || exit 1 diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 4b730499d2..9017f4fe57 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -313,7 +313,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 bootstrap build build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config configure containerize create deactivate debug dependencies dependents deprecate dev-build diy 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 uninstall unload upload-s3 url verify versions view" + SPACK_COMPREPLY="activate add arch blame build build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config configure containerize create deactivate debug dependencies dependents deprecate dev-build diy 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 uninstall unload upload-s3 url verify versions view" fi } @@ -348,10 +348,6 @@ _spack_blame() { fi } -_spack_bootstrap() { - SPACK_COMPREPLY="-h --help -j --jobs --keep-prefix --keep-stage -n --no-checksum -v --verbose --use-cache --no-cache --cache-only --clean --dirty" -} - _spack_build() { if $list_options then |