Use gcc 10 on darwin.
@@ -278,8 +278,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-9")
- set(DEFAULT_CMAKE_CXX_COMPILER "/usr/local/bin/g++-9")
+ set(DEFAULT_CMAKE_C_COMPILER "/usr/local/bin/gcc-10")
+ set(DEFAULT_CMAKE_CXX_COMPILER "/usr/local/bin/g++-10")
endif()
elseif(VESPA_COMPILER_VARIANT STREQUAL "clang")
if(APPLE)
