From b17c19394a7756b86391b11780c3c939cf72c868 Mon Sep 17 00:00:00 2001 From: Jonathan Albrecht Date: Wed, 8 Nov 2023 10:18:50 -0500 Subject: [PATCH] s390x is a big endian platform so use the big endian icu data dir This fixes the mtr tests: main.regular_expressions_utf-8 main.regular_expressions_utf-8_icu_67 --- cmake/icu.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/icu.cmake b/cmake/icu.cmake index f3c1cf06c7c1..c0cbd7aea6e3 100644 --- a/cmake/icu.cmake +++ b/cmake/icu.cmake @@ -127,6 +127,8 @@ SET(BUNDLED_ICU_PATH ${CMAKE_SOURCE_DIR}/extra/icu/${ICU_VERSION_DIR}) # (Actually, there's an 'e' for EBCDIC version as well.) IF(SOLARIS_SPARC) SET(ICUDT_DIR "icudt73b") +ELSEIF(LINUX AND CMAKE_SYSTEM_PROCESSOR STREQUAL "s390x") + SET(ICUDT_DIR "icudt73b") ELSE() SET(ICUDT_DIR "icudt73l") ENDIF()