[Misc] fast fail for exiting if tools/install_flash_infer_attention_score_ops_a2.sh (#5422)

### What this PR does / why we need it?
Use `set -euo pipefail` to exit if
tools/install_flash_infer_attention_score_ops_a2.sh failed in any line

- vLLM version: release/v0.13.0
- vLLM main:
81786c8774
---------
Signed-off-by: MengqingCao <cmq0113@163.com>
Signed-off-by: Mengqing Cao <cmq0113@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Mengqing Cao
2025-12-27 17:30:34 +08:00
committed by GitHub
parent b8b5521f5b
commit 77cd960524
2 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,8 @@
# This file is a part of the vllm-ascend project.
#
set -euo pipefail
trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR
cd /vllm-workspace
# download fused_infer_attention_score related source files

View File

@@ -17,6 +17,8 @@
# limitations under the License.
# This file is a part of the vllm-ascend project.
#
set -euo pipefail
trap 'echo "Error on line $LINENO: command \`$BASH_COMMAND\` failed with exit code $?" >&2' ERR
cd /vllm-workspace
# download fused_infer_attention_score related source files