summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2023-01-27 11:23:19 -0800
committerTom Stellard <tstellar@redhat.com>2023-01-27 11:23:20 -0800
commit683b83abaab4e7f10446bec4007277430cd987ea (patch)
tree8d4d6105ea89461edac59b1052414b8dd51e6c5f /.github/workflows
parent8040e3a4deeb25edc34fb4f89e032ff58ad50572 (diff)
downloadllvm-683b83abaab4e7f10446bec4007277430cd987ea.tar.gz
workflows: Fix libclc tests
libclc requires using cmake files to detect the LLVM installation instead of llvm-config so we need to update our cmake invocation. Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D142716
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/llvm-project-tests.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index dc0283636b19..a410106ed4d3 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -90,6 +90,6 @@ jobs:
run: |
# Make sure all of LLVM libraries that llvm-config needs are built.
ninja -C build
- cmake -G Ninja -S libclc -B libclc-build -DLLVM_CONFIG=`pwd`/build/bin/llvm-config -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
+ cmake -G Ninja -S libclc -B libclc-build -DLLVM_DIR=`pwd`/build/lib/cmake/llvm -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
ninja -C libclc-build
ninja -C libclc-build test