aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools
diff options
context:
space:
mode:
authordcherednik <dcherednik@ydb.tech>2023-11-20 13:23:37 +0300
committerdcherednik <dcherednik@ydb.tech>2023-11-20 14:34:20 +0300
commitffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch)
tree47612a33d11873a4ffb450f68a720efeb9b21cb4 /contrib/tools
parent6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff)
downloadydb-ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6.tar.gz
add darwin-arm64 CMakeLists
Diffstat (limited to 'contrib/tools')
-rw-r--r--contrib/tools/bison/bison/induced/CMakeLists.darwin-arm64.txt10
-rw-r--r--contrib/tools/bison/bison/induced/CMakeLists.txt2
-rw-r--r--contrib/tools/flatc/bin/CMakeLists.darwin-arm64.txt29
-rw-r--r--contrib/tools/flatc/bin/CMakeLists.txt2
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.darwin-arm64.txt30
-rw-r--r--contrib/tools/protoc/bin/CMakeLists.txt2
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin-arm64.txt30
-rw-r--r--contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt2
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin-arm64.txt35
-rw-r--r--contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt2
10 files changed, 144 insertions, 0 deletions
diff --git a/contrib/tools/bison/bison/induced/CMakeLists.darwin-arm64.txt b/contrib/tools/bison/bison/induced/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..e15f313d9b
--- /dev/null
+++ b/contrib/tools/bison/bison/induced/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,10 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(bison-bison-induced INTERFACE)
diff --git a/contrib/tools/bison/bison/induced/CMakeLists.txt b/contrib/tools/bison/bison/induced/CMakeLists.txt
index f8b31df0c1..2dce3a77fe 100644
--- a/contrib/tools/bison/bison/induced/CMakeLists.txt
+++ b/contrib/tools/bison/bison/induced/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
diff --git a/contrib/tools/flatc/bin/CMakeLists.darwin-arm64.txt b/contrib/tools/flatc/bin/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..a8baf04410
--- /dev/null
+++ b/contrib/tools/flatc/bin/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,29 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(flatc)
+target_include_directories(flatc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include
+)
+target_link_libraries(flatc PUBLIC
+ contrib-libs-cxxsupp
+ libs-flatbuffers-flatc
+)
+target_link_options(flatc PRIVATE
+ -Wl,-platform_version,macos,11.0,11.0
+ -fPIC
+ -fPIC
+)
+target_sources(flatc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/flatc_main.cpp
+)
+target_allocator(flatc
+ system_allocator
+)
+vcs_info(flatc)
diff --git a/contrib/tools/flatc/bin/CMakeLists.txt b/contrib/tools/flatc/bin/CMakeLists.txt
index f8b31df0c1..2dce3a77fe 100644
--- a/contrib/tools/flatc/bin/CMakeLists.txt
+++ b/contrib/tools/flatc/bin/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
diff --git a/contrib/tools/protoc/bin/CMakeLists.darwin-arm64.txt b/contrib/tools/protoc/bin/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..83baf4d1b8
--- /dev/null
+++ b/contrib/tools/protoc/bin/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,30 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(protoc)
+target_compile_options(protoc PRIVATE
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
+)
+target_link_libraries(protoc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protoc
+)
+target_link_options(protoc PRIVATE
+ -Wl,-platform_version,macos,11.0,11.0
+ -fPIC
+ -fPIC
+)
+target_sources(protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc
+)
+target_allocator(protoc
+ system_allocator
+)
+vcs_info(protoc)
diff --git a/contrib/tools/protoc/bin/CMakeLists.txt b/contrib/tools/protoc/bin/CMakeLists.txt
index f8b31df0c1..2dce3a77fe 100644
--- a/contrib/tools/protoc/bin/CMakeLists.txt
+++ b/contrib/tools/protoc/bin/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin-arm64.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..17abeb77c6
--- /dev/null
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,30 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(cpp_styleguide)
+target_compile_options(cpp_styleguide PRIVATE
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
+)
+target_link_libraries(cpp_styleguide PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protoc
+)
+target_link_options(cpp_styleguide PRIVATE
+ -Wl,-platform_version,macos,11.0,11.0
+ -fPIC
+ -fPIC
+)
+target_sources(cpp_styleguide PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp
+)
+target_allocator(cpp_styleguide
+ system_allocator
+)
+vcs_info(cpp_styleguide)
diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
index f8b31df0c1..2dce3a77fe 100644
--- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
+++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin-arm64.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..aaa4ef7e61
--- /dev/null
+++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,35 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_executable(grpc_cpp)
+target_compile_options(grpc_cpp PRIVATE
+ -DGRPC_USE_ABSL=0
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
+)
+target_include_directories(grpc_cpp PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/grpc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
+)
+target_link_libraries(grpc_cpp PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ src-compiler-grpc_plugin_support
+)
+target_link_options(grpc_cpp PRIVATE
+ -Wl,-platform_version,macos,11.0,11.0
+ -fPIC
+ -fPIC
+)
+target_sources(grpc_cpp PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc
+)
+target_allocator(grpc_cpp
+ system_allocator
+)
+vcs_info(grpc_cpp)
diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
index f8b31df0c1..2dce3a77fe 100644
--- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
+++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)