aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/build_info
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-06 16:56:18 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2023-03-06 16:56:18 +0300
commitcbc0c479c131a1e63ca86fe98b031e1bcac725d8 (patch)
tree12245a82da1c7f54d54befcfb7706643e8166505 /library/cpp/build_info
parentea8e336dc456c44b848619e120a8f3643c6125af (diff)
downloadydb-cbc0c479c131a1e63ca86fe98b031e1bcac725d8.tar.gz
External build system generator release 17
Update tools: yexport
Diffstat (limited to 'library/cpp/build_info')
-rw-r--r--library/cpp/build_info/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/build_info/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/build_info/CMakeLists.linux.txt24
-rw-r--r--library/cpp/build_info/CMakeLists.txt2
4 files changed, 37 insertions, 37 deletions
diff --git a/library/cpp/build_info/CMakeLists.darwin.txt b/library/cpp/build_info/CMakeLists.darwin.txt
index d80c3b7893..a749cac8a0 100644
--- a/library/cpp/build_info/CMakeLists.darwin.txt
+++ b/library/cpp/build_info/CMakeLists.darwin.txt
@@ -7,6 +7,18 @@
find_package(Python3 REQUIRED)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
add_library(library-cpp-build_info)
target_include_directories(library-cpp-build_info PUBLIC
@@ -35,22 +47,10 @@ add_custom_command(
\"${CMAKE_CXX_COMPILER}\"
\"${CMAKE_CXX_FLAGS}\"
)
-set(
- KOSHER_SVN_VERSION
-
-)
-set(
- SANDBOX_TASK_ID
- 0
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
)
-set(
- BUILD_TYPE
- RELEASE
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
diff --git a/library/cpp/build_info/CMakeLists.linux-aarch64.txt b/library/cpp/build_info/CMakeLists.linux-aarch64.txt
index b839d5515e..7067bdf107 100644
--- a/library/cpp/build_info/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/build_info/CMakeLists.linux-aarch64.txt
@@ -7,6 +7,18 @@
find_package(Python3 REQUIRED)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
add_library(library-cpp-build_info)
target_include_directories(library-cpp-build_info PUBLIC
@@ -36,22 +48,10 @@ add_custom_command(
\"${CMAKE_CXX_COMPILER}\"
\"${CMAKE_CXX_FLAGS}\"
)
-set(
- KOSHER_SVN_VERSION
-
-)
-set(
- SANDBOX_TASK_ID
- 0
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
)
-set(
- BUILD_TYPE
- RELEASE
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
diff --git a/library/cpp/build_info/CMakeLists.linux.txt b/library/cpp/build_info/CMakeLists.linux.txt
index b839d5515e..7067bdf107 100644
--- a/library/cpp/build_info/CMakeLists.linux.txt
+++ b/library/cpp/build_info/CMakeLists.linux.txt
@@ -7,6 +7,18 @@
find_package(Python3 REQUIRED)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
add_library(library-cpp-build_info)
target_include_directories(library-cpp-build_info PUBLIC
@@ -36,22 +48,10 @@ add_custom_command(
\"${CMAKE_CXX_COMPILER}\"
\"${CMAKE_CXX_FLAGS}\"
)
-set(
- KOSHER_SVN_VERSION
-
-)
-set(
- SANDBOX_TASK_ID
- 0
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
)
-set(
- BUILD_TYPE
- RELEASE
-)
configure_file(
${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
diff --git a/library/cpp/build_info/CMakeLists.txt b/library/cpp/build_info/CMakeLists.txt
index 5bb4faffb4..eee324bb60 100644
--- a/library/cpp/build_info/CMakeLists.txt
+++ b/library/cpp/build_info/CMakeLists.txt
@@ -10,6 +10,6 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND
include(CMakeLists.linux-aarch64.txt)
elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin.txt)
-elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA)
include(CMakeLists.linux.txt)
endif()