Add default build settings for Amazon Linux 2022.
@@ -99,6 +99,12 @@ function(setup_vespa_default_build_settings_amzn_2)
set(DEFAULT_VESPA_LLVM_VERSION "7" PARENT_SCOPE)
endfunction()
+function(setup_vespa_default_build_settings_amzn_2022)
+ message("-- Setting up default build settings for amzn 2022")
+ set(DEFAULT_EXTRA_INCLUDE_DIRECTORY "${VESPA_DEPS}/include" "/usr/include/openblas" PARENT_SCOPE)
+ set(DEFAULT_VESPA_LLVM_VERSION "13" PARENT_SCOPE)
+endfunction()
+
function(setup_vespa_default_build_settings_ubuntu)
message("-- Setting up default build settings for ubuntu")
SET(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
@@ -216,6 +222,8 @@ function(vespa_use_default_build_settings)
setup_vespa_default_build_settings_fedora_37()
elseif(VESPA_OS_DISTRO_COMBINED STREQUAL "amzn 2")
setup_vespa_default_build_settings_amzn_2()
+ elseif(VESPA_OS_DISTRO_COMBINED STREQUAL "amzn 2022")
+ setup_vespa_default_build_settings_amzn_2022()
elseif(VESPA_OS_DISTRO STREQUAL "ubuntu")
setup_vespa_default_build_settings_ubuntu()
elseif(VESPA_OS_DISTRO STREQUAL "debian")
