blob: ba480ffdac35f840ca883df2cdcb957fbdedd702 [file]
# Default C++ version
build --cxxopt=-std=c++20
# Force Clang to use LLVM's libc++ instead of the old system libstdc++
build --cxxopt=-stdlib=libc++
build --linkopt=-stdlib=libc++
# Mac-specific setting
build --macos_minimum_os=10.13
# Use clang for C++ compilation
build --repo_env=CC=clang
build --repo_env=CXX=clang++
# Pin the Java runtime to a hermetic remote JDK to prevent host JDK version skew.
build --java_runtime_version=remotejdk_25
build --tool_java_runtime_version=remotejdk_25