Use GCC 11 on Darwin.
@@ -302,8 +302,8 @@ function(vespa_use_default_cxx_compiler)
unset(DEFAULT_CMAKE_CXX_COMPILER)
if(NOT DEFINED VESPA_COMPILER_VARIANT OR VESPA_COMPILER_VARIANT STREQUAL "gcc")
if(APPLE)
- set(DEFAULT_CMAKE_C_COMPILER "/usr/local/bin/gcc-10")
- set(DEFAULT_CMAKE_CXX_COMPILER "/usr/local/bin/g++-10")
+ set(DEFAULT_CMAKE_C_COMPILER "/usr/local/bin/gcc-11")
+ set(DEFAULT_CMAKE_CXX_COMPILER "/usr/local/bin/g++-11")
elseif(VESPA_OS_DISTRO_COMBINED STREQUAL "amzn 2")
set(DEFAULT_CMAKE_C_COMPILER "/usr/bin/gcc10-gcc")
set(DEFAULT_CMAKE_CXX_COMPILER "/usr/bin/gcc10-g++")
