diff options
author | Victor Brunini <vebruni@sandia.gov> | 2024-02-15 22:30:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 06:30:58 +0000 |
commit | d31e503e5bdb0e99fb5d26824a2caf4a6ca44298 (patch) | |
tree | 5fc6508e7788c05125ee1c842796112a6536d48f /share | |
parent | 55b62c2168ff289ccf42b0b48d221c931949071f (diff) | |
download | spack-d31e503e5bdb0e99fb5d26824a2caf4a6ca44298.tar.gz spack-d31e503e5bdb0e99fb5d26824a2caf4a6ca44298.tar.bz2 spack-d31e503e5bdb0e99fb5d26824a2caf4a6ca44298.tar.xz spack-d31e503e5bdb0e99fb5d26824a2caf4a6ca44298.zip |
develop: Add -b/--build-directory option to set build_directory package attribute (#39606)
* develop: Add -b/--build-directory option to set build_directory package attribute.
* Update docs
---------
Co-authored-by: psakievich <psakiev@sandia.gov>
Co-authored-by: vbrunini <vbrunini@users.noreply.github.com>
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 2 | ||||
-rwxr-xr-x | share/spack/spack-completion.fish | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index ebcab9683e..b268afa76c 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -999,7 +999,7 @@ _spack_dev_build() { _spack_develop() { if $list_options then - SPACK_COMPREPLY="-h --help -p --path --no-clone --clone -f --force" + SPACK_COMPREPLY="-h --help -p --path -b --build-directory --no-clone --clone -f --force" else _all_packages fi diff --git a/share/spack/spack-completion.fish b/share/spack/spack-completion.fish index b2c0a89362..20f0ec837e 100755 --- a/share/spack/spack-completion.fish +++ b/share/spack/spack-completion.fish @@ -1405,12 +1405,14 @@ complete -c spack -n '__fish_spack_using_command dev-build' -l reuse-deps -f -a complete -c spack -n '__fish_spack_using_command dev-build' -l reuse-deps -d 'reuse installed dependencies only' # spack develop -set -g __fish_spack_optspecs_spack_develop h/help p/path= no-clone clone f/force= +set -g __fish_spack_optspecs_spack_develop h/help p/path= b/build-directory= no-clone clone f/force= complete -c spack -n '__fish_spack_using_command_pos_remainder 0 develop' -f -k -a '(__fish_spack_specs_or_id)' complete -c spack -n '__fish_spack_using_command develop' -s h -l help -f -a help complete -c spack -n '__fish_spack_using_command develop' -s h -l help -d 'show this help message and exit' complete -c spack -n '__fish_spack_using_command develop' -s p -l path -r -f -a path complete -c spack -n '__fish_spack_using_command develop' -s p -l path -r -d 'source location of package' +complete -c spack -n '__fish_spack_using_command develop' -s b -l build-directory -r -f -a build_directory +complete -c spack -n '__fish_spack_using_command develop' -s b -l build-directory -r -d 'build directory for the package' complete -c spack -n '__fish_spack_using_command develop' -l no-clone -f -a clone complete -c spack -n '__fish_spack_using_command develop' -l no-clone -d 'do not clone, the package already exists at the source path' complete -c spack -n '__fish_spack_using_command develop' -l clone -f -a clone |