From: Mircea Trofin Date: Fri, 26 Aug 2022 16:49:53 +0000 (-0700) Subject: [mlgo] Don't set the source permissions when copying over tf files X-Git-Tag: upstream/17.0.6~35258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0184889e0dd5e77954c772e233860cbbcb722ac4;p=platform%2Fupstream%2Fllvm.git [mlgo] Don't set the source permissions when copying over tf files This is akin to the `install` behavior. It should make build directory deletable on certain build bots. --- diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index cdce25b..8a1dcb3 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -994,6 +994,7 @@ if (NOT TENSORFLOW_AOT_PATH STREQUAL "") # This needs to happen to avoid clashing protobuf codegen when building both AOT and development mode. # We plan to replace protobuf with a simpler alternative, so this will go away. file(COPY ${TENSORFLOW_AOT_PATH}/include DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/tensorflow + NO_SOURCE_PERMISSIONS PATTERN "google/*" EXCLUDE PATTERN "*.pb.h" EXCLUDE) include_directories(${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/tensorflow/include)