aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-23 18:30:07 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-23 18:30:07 +0300
commit6edaabb20320ec7e41b01e5a398012774ea409cd (patch)
tree86d1d704e45745d0e542a0e8c4e3ebda752a963f /contrib
parentca821e2755b3f2f671c286bc46b6555bb478ef58 (diff)
downloadydb-6edaabb20320ec7e41b01e5a398012774ea409cd.tar.gz
prologue/epilogue.cmake files to enable yexport from opensource ya.makes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/llvm12/include/epilogue.cmake3
-rw-r--r--contrib/libs/llvm12/lib/Frontend/OpenMP/epilogue.cmake2
-rw-r--r--contrib/libs/llvm12/lib/Frontend/OpenMP/prologue.cmake3
3 files changed, 8 insertions, 0 deletions
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/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
+)