diff options
author | robot-brewer <robot-brewer@yandex-team.com> | 2024-11-11 09:16:28 +0300 |
---|---|---|
committer | robot-brewer <robot-brewer@yandex-team.com> | 2024-11-11 09:32:08 +0300 |
commit | 27a5e2170c973f0df354c8a3c73bfd613f659036 (patch) | |
tree | 2241c64e06910a1ddfa5b4f5d524c502af4bc9d4 /build/ymake.core.conf | |
parent | aa2573e03c0a4debad8edd5acab600ccaa29e896 (diff) | |
download | ydb-27a5e2170c973f0df354c8a3c73bfd613f659036.tar.gz |
Release clang18 #3
https://github.com/yandex/toolchain-registry/releases/tag/clang18-v3
commit_hash:242ab0166e0b3ae29fd381117df005246a4e4eb9
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 1970dab5cc..7b9c9acf89 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -75,6 +75,9 @@ CLANG_VER=14 when ($CLANG16 == "yes") { CLANG_VER=16 } +when ($CLANG18 == "yes") { + CLANG_VER=18 +} USE_ARCADIA_COMPILER_RUNTIME=yes @@ -4694,6 +4697,11 @@ macro USE_LLVM_BC16() { SET(LLVM_LLC_TOOL contrib/libs/llvm16/tools/llc) } +macro USE_LLVM_BC18() { + SET(CLANG_BC_ROOT ${CLANG18_RESOURCE_GLOBAL}) + SET(LLVM_LLC_TOOL contrib/libs/llvm18/tools/llc) +} + ### @usage: CLANG_EMIT_AST_CXX(Input Output Opts...) ### ### Emit Clang AST from .cpp file. CXXFLAGS and LLVM_OPTS are passed in, while CFLAGS and C_FLAGS_PLATFORM are not. |