From 80fbb1b6b137510b04caf203ebd636c108c8d1a4 Mon Sep 17 00:00:00 2001 From: meihanc Date: Thu, 15 Jan 2026 14:18:11 +0800 Subject: [PATCH] [CI]Fix nightly clang installation following previous attempt (#5907) ### What this PR does / why we need it? This PR fixes the issue where the previous PR https://github.com/vllm-project/vllm-ascend/pull/5733 failed to install Clang in nightly environment. - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/bde38c11df0ea066a740efe9b77fff5418be45df --------- Signed-off-by: Meihan-chen --- .github/workflows/_e2e_nightly_single_node.yaml | 3 +++ .github/workflows/_e2e_nightly_single_node_models.yaml | 2 +- tests/e2e/nightly/multi_node/scripts/run.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_e2e_nightly_single_node.yaml b/.github/workflows/_e2e_nightly_single_node.yaml index bf6062a6..4d07e031 100644 --- a/.github/workflows/_e2e_nightly_single_node.yaml +++ b/.github/workflows/_e2e_nightly_single_node.yaml @@ -126,6 +126,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get update && apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" diff --git a/.github/workflows/_e2e_nightly_single_node_models.yaml b/.github/workflows/_e2e_nightly_single_node_models.yaml index 3ba102d8..b813a490 100644 --- a/.github/workflows/_e2e_nightly_single_node_models.yaml +++ b/.github/workflows/_e2e_nightly_single_node_models.yaml @@ -107,7 +107,7 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | - apt-get -y install clang-15 + apt-get update && apt-get -y install clang-15 update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" diff --git a/tests/e2e/nightly/multi_node/scripts/run.sh b/tests/e2e/nightly/multi_node/scripts/run.sh index 229dc2a3..1e08a6dc 100644 --- a/tests/e2e/nightly/multi_node/scripts/run.sh +++ b/tests/e2e/nightly/multi_node/scripts/run.sh @@ -127,7 +127,7 @@ install_extra_components() { install_triton_ascend() { echo "====> Installing triton_ascend" - apt-get install -y clang-15 + apt-get update && apt-get install -y clang-15 update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 clang -v