Files
mongo/bazel/toolchains/cc/mongo_linux/mongo_toolchain_flags_v5.bzl
Andrew Bradshaw 3e5f7a2f33 SERVER-109439 Add Distributed Thin LTO Support (#40197)
GitOrigin-RevId: 7306a3932deaa2d9c79783da88c5e4e0af32c8ca
2025-08-19 19:25:29 +00:00

36 lines
1.2 KiB
Python

COMMON_LINK_FLAGS = [
"external/mongo_toolchain_v5/stow/gcc-v5/lib/gcc/{arch}-mongodb-linux/14.2.0",
"external/mongo_toolchain_v5/v5/lib",
"external/mongo_toolchain_v5/v5/lib64",
]
COMMON_BUILTIN_INCLUDE_DIRECTORIES = [
"/usr/include/openssl",
"/usr/include/{arch}-mongodb-linux",
"/usr/include",
]
COMMON_INCLUDE_DIRECTORIES = [
"external/mongo_toolchain_v5/stow/gcc-v5/include/c++/14.2.0",
"external/mongo_toolchain_v5/stow/gcc-v5/include/c++/14.2.0/{arch}-mongodb-linux",
]
COMMON_BINDIRS = [
"external/mongo_toolchain_v5/v5/bin",
"external/mongo_toolchain_v5/stow/gcc-v5/libexec/gcc/{arch}-mongodb-linux/14.2.0",
"external/mongo_toolchain_v5/stow/gcc-v5/lib/gcc/{arch}-mongodb-linux/14.2.0",
"external/mongo_toolchain_v5/stow/llvm-v5/bin",
]
GCC_INCLUDE_DIRS = [
"external/mongo_toolchain_v5/stow/gcc-v5/lib/gcc/{arch}-mongodb-linux/14.2.0/include",
"external/mongo_toolchain_v5/stow/gcc-v5/lib/gcc/{arch}-mongodb-linux/14.2.0/include-fixed",
]
CLANG_INCLUDE_DIRS = [
"external/mongo_toolchain_v5/stow/gcc-v5/include/c++/14.2.0/backward",
"external/mongo_toolchain_v5/stow/llvm-v5/lib/clang/19/include",
]
CLANG_RESOURCE_DIR = "external/mongo_toolchain_v5/stow/llvm-v5/lib/clang/19/"