Add default build settings for Ubuntu 20.04 LTS.
@@ -88,6 +88,13 @@ function(setup_vespa_default_build_settings_ubuntu_19_10)
set(DEFAULT_VESPA_LLVM_VERSION "9" PARENT_SCOPE)
endfunction()
+function(setup_vespa_default_build_settings_ubuntu_20_04)
+ message("-- Setting up default build settings for ubuntu 20.04")
+ set(DEFAULT_EXTRA_LINK_DIRECTORY "${VESPA_DEPS}/lib" "/usr/lib/llvm-10/lib" PARENT_SCOPE)
+ set(DEFAULT_EXTRA_INCLUDE_DIRECTORY "${VESPA_DEPS}/include" "/usr/lib/llvm-10/include" PARENT_SCOPE)
+ set(DEFAULT_VESPA_LLVM_VERSION "10" PARENT_SCOPE)
+endfunction()
+
function(vespa_use_default_vespa_unprivileged)
if(NOT DEFINED VESPA_UNPRIVILEGED)
message("-- Setting VESPA_UNPRIVILEGED to yes")
@@ -171,6 +178,8 @@ function(vespa_use_default_build_settings)
setup_vespa_default_build_settings_fedora_33()
elseif(VESPA_OS_DISTRO_COMBINED STREQUAL "ubuntu 19.10")
setup_vespa_default_build_settings_ubuntu_19_10()
+ elseif(VESPA_OS_DISTRO_COMBINED STREQUAL "ubuntu 20.04")
+ setup_vespa_default_build_settings_ubuntu_20_04()
else()
message(FATAL_ERROR "-- Unkonwn vespa build platform ${VESPA_OS_DISTRO_COMBINED}")
endif()
