diff options
author | dcherednik <[email protected]> | 2023-11-20 13:23:37 +0300 |
---|---|---|
committer | dcherednik <[email protected]> | 2023-11-20 14:34:20 +0300 |
commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /contrib/libs/llvm12/lib/DebugInfo/CodeView | |
parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) |
add darwin-arm64 CMakeLists
Diffstat (limited to 'contrib/libs/llvm12/lib/DebugInfo/CodeView')
-rw-r--r-- | contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin-arm64.txt | 64 | ||||
-rw-r--r-- | contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.txt | 2 |
2 files changed, 66 insertions, 0 deletions
diff --git a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin-arm64.txt b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..2d339031612 --- /dev/null +++ b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.darwin-arm64.txt @@ -0,0 +1,64 @@ + +# 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(lib-DebugInfo-CodeView) +target_compile_options(lib-DebugInfo-CodeView PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(lib-DebugInfo-CodeView PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView +) +target_link_libraries(lib-DebugInfo-CodeView PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + lib-DebugInfo-MSF + llvm12-lib-Support +) +target_sources(lib-DebugInfo-CodeView PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/CVTypeVisitor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/CodeViewError.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugSymbolRVASubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/EnumTables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/Formatters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/Line.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/RecordName.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/RecordSerialization.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/StringsAndChecksums.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/SymbolDumper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/SymbolRecordHelpers.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/SymbolSerializer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeHashing.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeIndex.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeRecordMapping.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeStreamMerger.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/DebugInfo/CodeView/TypeTableCollection.cpp +) diff --git a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.txt b/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/contrib/libs/llvm12/lib/DebugInfo/CodeView/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/DebugInfo/CodeView/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) |