diff options
author | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2022-10-26 16:40:35 +0300 |
commit | b981cca279190176740c3bf5c5b4fd03be51b599 (patch) | |
tree | f5ec6210fdce0e976cbbe4dc8ae78bb6509adf49 /tools/enum_parser | |
parent | 6dc0de995652f7eeecdbdb88dc98b00bb0653a2f (diff) | |
download | ydb-b981cca279190176740c3bf5c5b4fd03be51b599.tar.gz |
Enable linux-arm platform.
Diffstat (limited to 'tools/enum_parser')
-rw-r--r-- | tools/enum_parser/enum_parser/bin/CMakeLists.linux-aarch64.txt | 31 | ||||
-rw-r--r-- | tools/enum_parser/enum_parser/bin/CMakeLists.txt | 4 |
2 files changed, 34 insertions, 1 deletions
diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.linux-aarch64.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..680b3238852 --- /dev/null +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.linux-aarch64.txt @@ -0,0 +1,31 @@ + +# This file was gererated 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(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + cpp-getopt-small + tools-enum_parser-parse_enum +) +target_link_options(enum_parser PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.txt index 79468a5d8d0..3e0811fb22e 100644 --- a/tools/enum_parser/enum_parser/bin/CMakeLists.txt +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.txt @@ -6,7 +6,9 @@ # original buildsystem will not be accepted. -if (APPLE) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) include(CMakeLists.darwin.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) include(CMakeLists.linux.txt) |