Skip to content

Commit 881059e

Browse files
committed
Revert "fix llvm version"
This reverts commit 9856f3b.
1 parent 9856f3b commit 881059e

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/on-push-verification-in-tree.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,9 @@ jobs:
3535
- name: Checkout opencl-clang sources for action files
3636
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
3737

38-
# This step will fail when the branch naming scheme 'ocl-open-XXX' changes!
39-
- name: Parse LLVM version from branch name
40-
id: check-llvm-version
41-
run: |
42-
BRANCH="${{ github.base_ref }}" # on: pull_request, otherwise null
43-
BRANCH=${BRANCH:-${{ github.ref_name }}} # on: push
44-
LLVM_VERSION_LONG=$(echo $BRANCH | grep -oP '\d+') # Eg. 190 for LLVM 19
45-
LLVM_VERSION_SHORT=${LLVM_VERSION_LONG::-1} # Eg. 19 for LLVM 19
46-
echo "llvm_version=$LLVM_VERSION_SHORT" >> $GITHUB_OUTPUT
47-
4838
- name: Run build-opencl-clang action
4939
uses: ./.github/actions/build-opencl-clang
5040
with:
51-
ref_llvm: release/${{ steps.check-llvm-version.outputs.llvm_version }}.x
52-
ref_translator: llvm_release_${{ steps.check-llvm-version.outputs.llvm_version }}0
41+
ref_llvm: main
42+
ref_translator: main
5343
ref_opencl-clang: ${{ github.ref }}

0 commit comments

Comments
 (0)