[PATCH] D142716: workflows: Fix libclc tests
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 06:33:32 PST 2023
tstellar created this revision.
tstellar added a reviewer: thieta.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.
libclc requires using cmake files to detect the LLVM installation instead
of llvm-config so we need to update our cmake invocation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142716
Files:
.github/workflows/llvm-project-tests.yml
Index: .github/workflows/llvm-project-tests.yml
===================================================================
--- .github/workflows/llvm-project-tests.yml
+++ .github/workflows/llvm-project-tests.yml
@@ -90,6 +90,6 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142716.492736.patch
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/93e74c70/attachment.bin>
More information about the llvm-commits
mailing list