diff options
author | sennikovmv <sennikovmv@yandex-team.com> | 2024-03-12 11:03:55 +0300 |
---|---|---|
committer | sennikovmv <sennikovmv@yandex-team.com> | 2024-03-12 11:18:10 +0300 |
commit | c3178c9b3d0d118267b9d1e0ea34ec8e2d7a8d95 (patch) | |
tree | 81732f4eace6a032e642a6433ce35f43c87b64eb | |
parent | 79203d60c5457f5db27809045067968ba9e0be5a (diff) | |
download | ydb-c3178c9b3d0d118267b9d1e0ea34ec8e2d7a8d95.tar.gz |
Add platforms to cmake generator.toml
9a3588f9a4fef4771f2edd2587cb40247157cf07
-rw-r--r-- | build/export_generators/hardcoded-cmake/generator.toml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build/export_generators/hardcoded-cmake/generator.toml b/build/export_generators/hardcoded-cmake/generator.toml index a0f111ca91..027f0abe31 100644 --- a/build/export_generators/hardcoded-cmake/generator.toml +++ b/build/export_generators/hardcoded-cmake/generator.toml @@ -1,3 +1,30 @@ +[platforms] +linux="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"x86_64\" AND NOT HAVE_CUDA" +linux-x86_64="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"x86_64\" AND NOT HAVE_CUDA" +linux-x86_64-cuda="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"x86_64\" AND HAVE_CUDA" + +linux-aarch64="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"aarch64\" AND NOT HAVE_CUDA" +linux-arm64="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"aarch64\" AND NOT HAVE_CUDA" +linux-aarch64-cuda="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"aarch64\" AND HAVE_CUDA" +linux-arm64-cuda="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"aarch64\" AND HAVE_CUDA" + +linux-ppc64le="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"ppc64le\" AND NOT HAVE_CUDA" +linux-ppc64le-cuda="CMAKE_SYSTEM_NAME STREQUAL \"Linux\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"ppc64le\" AND HAVE_CUDA" + +darwin="CMAKE_SYSTEM_NAME STREQUAL \"Darwin\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"x86_64\"" +darwin-x86_64="CMAKE_SYSTEM_NAME STREQUAL \"Darwin\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"x86_64\"" +darwin-arm64="CMAKE_SYSTEM_NAME STREQUAL \"Darwin\" AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"arm64\"" + +windows="WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"AMD64\" AND NOT HAVE_CUDA" +windows-x86_64="WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"AMD64\" AND NOT HAVE_CUDA" +windows-x86_64-cuda="WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL \"AMD64\" AND HAVE_CUDA" + +android-arm="ANDROID AND CMAKE_ANDROID_ARCH STREQUAL \"arm\"" +android-arm32="ANDROID AND CMAKE_ANDROID_ARCH STREQUAL \"arm\"" +android-arm64="ANDROID AND CMAKE_ANDROID_ARCH STREQUAL \"arm64\"" +android-x86="ANDROID AND CMAKE_ANDROID_ARCH STREQUAL \"x86\"" +android-x86_64="ANDROID AND CMAKE_ANDROID_ARCH STREQUAL \"x86_64\"" + [root] templates=[ { path="conanfile.jinja", dest="conanfile.txt" }, |