diff --git a/.github/scripts/strategy-matrix/generate.py b/.github/scripts/strategy-matrix/generate.py index 27eb60c005..532bf2ed57 100755 --- a/.github/scripts/strategy-matrix/generate.py +++ b/.github/scripts/strategy-matrix/generate.py @@ -55,7 +55,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list: # fee to 500. # - Bookworm using GCC 15: Debug on linux/amd64, enable code # coverage (which will be done below). - # - Bookworm using Clang 16: Debug on linux/arm64, enable voidstar. + # - Bookworm using Clang 16: Debug on linux/amd64, enable voidstar. # - Bookworm using Clang 17: Release on linux/amd64, set the # reference fee to 1000. # - Bookworm using Clang 20: Debug on linux/amd64. @@ -78,7 +78,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list: if ( f"{os['compiler_name']}-{os['compiler_version']}" == "clang-16" and build_type == "Debug" - and architecture["platform"] == "linux/arm64" + and architecture["platform"] == "linux/amd64" ): cmake_args = f"-Dvoidstar=ON {cmake_args}" skip = False diff --git a/cmake/XrplSanity.cmake b/cmake/XrplSanity.cmake index 24b4d4d408..a35645ad5c 100644 --- a/cmake/XrplSanity.cmake +++ b/cmake/XrplSanity.cmake @@ -50,6 +50,13 @@ if(MSVC AND CMAKE_GENERATOR_PLATFORM STREQUAL "Win32") message(FATAL_ERROR "Visual Studio 32-bit build is not supported.") endif() +if(voidstar AND NOT is_amd64) + message( + FATAL_ERROR + "The voidstar library only supported on amd64/x86_64. Detected archictecture was: ${CMAKE_SYSTEM_PROCESSOR}" + ) +endif() + if(APPLE AND NOT HOMEBREW) find_program(HOMEBREW brew) endif()