[PATCH] D74662: libclc: cmake configure should depend on file lists
Jan Vesely via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 19:39:55 PST 2020
jvesely created this revision.
jvesely added a reviewer: tstellar.
Herald added a subscriber: mgorny.
Herald added a project: LLVM.
This makes sure targets are rebuilt if a file is added or removed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74662
Files:
libclc/CMakeLists.txt
Index: libclc/CMakeLists.txt
===================================================================
--- libclc/CMakeLists.txt
+++ libclc/CMakeLists.txt
@@ -2,6 +2,16 @@
project( libclc VERSION 0.2.0 LANGUAGES CXX )
include( GNUInstallDirs )
+set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
+ amdgcn-amdhsa/lib/SOURCES;
+ amdgcn/lib/SOURCES;
+ amdgcn-mesa3d/lib/SOURCES;
+ amdgpu/lib/SOURCES;
+ generic/lib/SOURCES;
+ ptx/lib/SOURCES;
+ ptx-nvidiacl/lib/SOURCES;
+ r600/lib/SOURCES
+)
# List of all targets
set( LIBCLC_TARGETS_ALL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74662.244808.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200215/7e78e6c8/attachment.bin>
More information about the llvm-commits
mailing list