diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-22 22:19:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-22 22:19:43 +0300 |
commit | c85b7fa023564c89b27a6cda846f29792f6b63b3 (patch) | |
tree | 6af2e32da8fd94a272e3aa5b868bcb0792d49eed /contrib/libs | |
parent | 4405aa1e13f913036875974a4a45c0c99036463b (diff) | |
download | ydb-c85b7fa023564c89b27a6cda846f29792f6b63b3.tar.gz |
intermediate changes
ref:012e26ef1aa0286342686ae1c6904043a99b95e4
Diffstat (limited to 'contrib/libs')
5 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libs/llvm12/include/CMakeLists.txt b/contrib/libs/llvm12/include/CMakeLists.txt index 1a68e86200..f5107b69c7 100644 --- a/contrib/libs/llvm12/include/CMakeLists.txt +++ b/contrib/libs/llvm12/include/CMakeLists.txt @@ -7334,3 +7334,7 @@ add_custom_command( -d ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/tools/llvm-symbolizer/Opts.inc.d ) +add_custom_target(OpenMP-gen-srcs-stealing + DEPENDS ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMP.cpp +) + diff --git a/contrib/libs/llvm12/include/epilogue.cmake b/contrib/libs/llvm12/include/epilogue.cmake new file mode 100644 index 0000000000..a35e76c107 --- /dev/null +++ b/contrib/libs/llvm12/include/epilogue.cmake @@ -0,0 +1,3 @@ +add_custom_target(OpenMP-gen-srcs-stealing + DEPENDS ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMP.cpp +) diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.txt b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.txt index 7c5158bac6..0e6b615cef 100644 --- a/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/CMakeLists.txt @@ -1,3 +1,7 @@ +set_property(SOURCE ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMP.cpp + PROPERTY GENERATED On +) + add_library(lib-Frontend-OpenMP) target_include_directories(lib-Frontend-OpenMP PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP @@ -15,3 +19,6 @@ target_sources(lib-Frontend-OpenMP PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMPContext.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMPIRBuilder.cpp ) + +add_dependencies(lib-Frontend-OpenMP OpenMP-gen-srcs-stealing) + diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/epilogue.cmake b/contrib/libs/llvm12/lib/Frontend/OpenMP/epilogue.cmake new file mode 100644 index 0000000000..571389aff2 --- /dev/null +++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/epilogue.cmake @@ -0,0 +1,2 @@ + +add_dependencies(lib-Frontend-OpenMP OpenMP-gen-srcs-stealing) diff --git a/contrib/libs/llvm12/lib/Frontend/OpenMP/prologue.cmake b/contrib/libs/llvm12/lib/Frontend/OpenMP/prologue.cmake new file mode 100644 index 0000000000..3ddc6f594c --- /dev/null +++ b/contrib/libs/llvm12/lib/Frontend/OpenMP/prologue.cmake @@ -0,0 +1,3 @@ +set_property(SOURCE ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Frontend/OpenMP/OMP.cpp + PROPERTY GENERATED On +) |