aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorreshilkin <reshilkin@yandex-team.com>2023-07-25 17:32:59 +0300
committerroot <root@qavm-2ed34686.qemu>2023-07-25 17:32:59 +0300
commit4b24a7df4a2e15ae87c76489938287018ad62fda (patch)
tree4e55e6c7ef1d70264c548dc2b45c83afc298702f /contrib/libs
parente7e4a402ea255d3d495a0c41bf07999a4066bd6a (diff)
downloadydb-4b24a7df4a2e15ae87c76489938287018ad62fda.tar.gz
Add explicit sanitizer dependencies
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/libfuzzer/ya.make4
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.darwin-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt1
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.linux-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/lib/Support/CMakeLists.windows-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/lib/Support/ya.make1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.windows-x86_64.txt1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/ya.make1
-rw-r--r--contrib/libs/llvm14/lib/Support/ya.make1
-rw-r--r--contrib/libs/llvm14/utils/TableGen/ya.make1
-rw-r--r--contrib/libs/llvm16/lib/Support/ya.make1
-rw-r--r--contrib/libs/llvm16/utils/TableGen/ya.make1
15 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libs/libfuzzer/ya.make b/contrib/libs/libfuzzer/ya.make
index a4f5ab64b0..b3db84a8c4 100644
--- a/contrib/libs/libfuzzer/ya.make
+++ b/contrib/libs/libfuzzer/ya.make
@@ -18,6 +18,10 @@ ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-15.0.5.tar.
SET(SANITIZER_CFLAGS)
+PEERDIR(
+ library/cpp/sanitizer/include
+)
+
NO_COMPILER_WARNINGS()
NO_UTIL()
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.darwin-x86_64.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.darwin-x86_64.txt
index e00be62440..de60d8017d 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.darwin-x86_64.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.darwin-x86_64.txt
@@ -20,6 +20,7 @@ target_link_libraries(llvm12-lib-Support PUBLIC
contrib-libs-llvm12
llvm12-lib-Demangle
ZLIB::ZLIB
+ cpp-sanitizer-include
)
target_sources(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AArch64TargetParser.cpp
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
index 89974d62a5..0f0db7b995 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-aarch64.txt
@@ -21,6 +21,7 @@ target_link_libraries(llvm12-lib-Support PUBLIC
contrib-libs-llvm12
llvm12-lib-Demangle
ZLIB::ZLIB
+ cpp-sanitizer-include
)
target_sources(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AArch64TargetParser.cpp
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-x86_64.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-x86_64.txt
index 89974d62a5..0f0db7b995 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.linux-x86_64.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.linux-x86_64.txt
@@ -21,6 +21,7 @@ target_link_libraries(llvm12-lib-Support PUBLIC
contrib-libs-llvm12
llvm12-lib-Demangle
ZLIB::ZLIB
+ cpp-sanitizer-include
)
target_sources(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AArch64TargetParser.cpp
diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.windows-x86_64.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.windows-x86_64.txt
index e00be62440..de60d8017d 100644
--- a/contrib/libs/llvm12/lib/Support/CMakeLists.windows-x86_64.txt
+++ b/contrib/libs/llvm12/lib/Support/CMakeLists.windows-x86_64.txt
@@ -20,6 +20,7 @@ target_link_libraries(llvm12-lib-Support PUBLIC
contrib-libs-llvm12
llvm12-lib-Demangle
ZLIB::ZLIB
+ cpp-sanitizer-include
)
target_sources(llvm12-lib-Support PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Support/AArch64TargetParser.cpp
diff --git a/contrib/libs/llvm12/lib/Support/ya.make b/contrib/libs/llvm12/lib/Support/ya.make
index 392a6f8c65..2b8d22bb6a 100644
--- a/contrib/libs/llvm12/lib/Support/ya.make
+++ b/contrib/libs/llvm12/lib/Support/ya.make
@@ -19,6 +19,7 @@ PEERDIR(
contrib/libs/llvm12
contrib/libs/llvm12/lib/Demangle
contrib/libs/zlib
+ library/cpp/sanitizer/include
)
ADDINCL(
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin-x86_64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin-x86_64.txt
index 796725d923..9556066b21 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin-x86_64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin-x86_64.txt
@@ -22,6 +22,7 @@ target_link_libraries(llvm-tblgen PUBLIC
llvm12-lib-Support
llvm12-lib-TableGen
utils-TableGen-GlobalISel
+ cpp-sanitizer-include
)
target_link_options(llvm-tblgen PRIVATE
-Wl,-platform_version,macos,11.0,11.0
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
index 0eee2d9fa9..1421a2e7ac 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-aarch64.txt
@@ -23,6 +23,7 @@ target_link_libraries(llvm-tblgen PUBLIC
llvm12-lib-Support
llvm12-lib-TableGen
utils-TableGen-GlobalISel
+ cpp-sanitizer-include
)
target_link_options(llvm-tblgen PRIVATE
-ldl
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt
index ef904d2574..947f97be94 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt
@@ -23,6 +23,7 @@ target_link_libraries(llvm-tblgen PUBLIC
llvm12-lib-Support
llvm12-lib-TableGen
utils-TableGen-GlobalISel
+ cpp-sanitizer-include
)
target_link_options(llvm-tblgen PRIVATE
-ldl
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.windows-x86_64.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.windows-x86_64.txt
index b42e806b4e..ca05ebeca7 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.windows-x86_64.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.windows-x86_64.txt
@@ -22,6 +22,7 @@ target_link_libraries(llvm-tblgen PUBLIC
llvm12-lib-Support
llvm12-lib-TableGen
utils-TableGen-GlobalISel
+ cpp-sanitizer-include
)
target_sources(llvm-tblgen PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp
diff --git a/contrib/libs/llvm12/utils/TableGen/ya.make b/contrib/libs/llvm12/utils/TableGen/ya.make
index 2cda74481e..25a6825021 100644
--- a/contrib/libs/llvm12/utils/TableGen/ya.make
+++ b/contrib/libs/llvm12/utils/TableGen/ya.make
@@ -12,6 +12,7 @@ PEERDIR(
contrib/libs/llvm12/lib/Support
contrib/libs/llvm12/lib/TableGen
contrib/libs/llvm12/utils/TableGen/GlobalISel
+ library/cpp/sanitizer/include
)
ADDINCL(
diff --git a/contrib/libs/llvm14/lib/Support/ya.make b/contrib/libs/llvm14/lib/Support/ya.make
index be5f7ef1ff..2828bab44a 100644
--- a/contrib/libs/llvm14/lib/Support/ya.make
+++ b/contrib/libs/llvm14/lib/Support/ya.make
@@ -18,6 +18,7 @@ PEERDIR(
contrib/libs/llvm14
contrib/libs/llvm14/lib/Demangle
contrib/libs/zlib
+ library/cpp/sanitizer/include
)
ADDINCL(
diff --git a/contrib/libs/llvm14/utils/TableGen/ya.make b/contrib/libs/llvm14/utils/TableGen/ya.make
index 213d29037b..54e2407a48 100644
--- a/contrib/libs/llvm14/utils/TableGen/ya.make
+++ b/contrib/libs/llvm14/utils/TableGen/ya.make
@@ -12,6 +12,7 @@ PEERDIR(
contrib/libs/llvm14/lib/Support
contrib/libs/llvm14/lib/TableGen
contrib/libs/llvm14/utils/TableGen/GlobalISel
+ library/cpp/sanitizer/include
)
ADDINCL(
diff --git a/contrib/libs/llvm16/lib/Support/ya.make b/contrib/libs/llvm16/lib/Support/ya.make
index f146a8bd55..62587163a7 100644
--- a/contrib/libs/llvm16/lib/Support/ya.make
+++ b/contrib/libs/llvm16/lib/Support/ya.make
@@ -20,6 +20,7 @@ PEERDIR(
contrib/libs/llvm16
contrib/libs/llvm16/lib/Demangle
contrib/libs/zlib
+ library/cpp/sanitizer/include
)
ADDINCL(
diff --git a/contrib/libs/llvm16/utils/TableGen/ya.make b/contrib/libs/llvm16/utils/TableGen/ya.make
index 38508394f6..c5512c49eb 100644
--- a/contrib/libs/llvm16/utils/TableGen/ya.make
+++ b/contrib/libs/llvm16/utils/TableGen/ya.make
@@ -12,6 +12,7 @@ PEERDIR(
contrib/libs/llvm16/lib/Support
contrib/libs/llvm16/lib/TableGen
contrib/libs/llvm16/utils/TableGen/GlobalISel
+ library/cpp/sanitizer/include
)
ADDINCL(