Skip to content

Commit d60566b

Browse files
committed
Update location of spirv-llvm-translator.conf
1 parent 963ba2b commit d60566b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/auto-update-translator-cid.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Get commit ID from Triton's spirv-llvm-translator.conf
6868
if: ${{ env.TARGET_PRID == null }}
69-
run: echo "CID_CURRENT=$(cat ./lib/Target/SPIRV/spirv-llvm-translator.conf)" >> $GITHUB_ENV
69+
run: echo "CID_CURRENT=$(cat third_party/intel/lib/Target/SPIRV/spirv-llvm-translator.conf)" >> $GITHUB_ENV
7070

7171
- name: Checkout SPIRV-LLVM-Translator
7272
if: ${{ env.TARGET_PRID == null }}
@@ -87,7 +87,7 @@ jobs:
8787
if: ${{ env.TARGET_PRID == null }}
8888
run: |
8989
./scripts/check-update-translator-cid.sh $CID_LATEST $CID_CURRENT
90-
if git status --porcelain ./lib/Target/SPIRV/spirv-llvm-translator.conf | grep '^ M'; then
90+
if git status --porcelain third_party/intel/lib/Target/SPIRV/spirv-llvm-translator.conf | grep '^ M'; then
9191
echo "MODIFIED=true" >> $GITHUB_ENV
9292
echo "spirv-llvm-translator.conf has been modified"
9393
fi

scripts/check-update-translator-cid.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COMMIT_IDS=$(git -C $TRITON_PROJ/external/SPIRV-LLVM-Translator log --format="%H
2525
cd $TRITON_PROJ
2626
FOUND=false
2727
for cid in $COMMIT_IDS; do
28-
echo "$cid" > ./lib/Target/SPIRV/spirv-llvm-translator.conf
28+
echo "$cid" > third_party/intel/lib/Target/SPIRV/spirv-llvm-translator.conf
2929

3030
BUILD_STATUS=PASS
3131
echo "::group::Building Triton for $cid"
@@ -52,5 +52,5 @@ for cid in $COMMIT_IDS; do
5252
done
5353

5454
if [ "$FOUND" = false ]; then
55-
git restore ./lib/Target/SPIRV/spirv-llvm-translator.conf
55+
git restore third_party/intel/lib/Target/SPIRV/spirv-llvm-translator.conf
5656
fi

0 commit comments

Comments
 (0)