From 632db3c807769df49fb6cbaef50c96a48c24c735 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Tue, 16 Jun 2020 16:34:51 +0000 Subject: Add files/patch-cmake__modules_SetupCxxFlags.cmake to fix build on powerpc: SSE4.2 required but compiler doesn't support it. Approved by: portmgr (tier-2 blanket) --- .../arrow/files/patch-cmake__modules_SetupCxxFlags.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/arrow/files/patch-cmake__modules_SetupCxxFlags.cmake (limited to 'databases/arrow/files') diff --git a/databases/arrow/files/patch-cmake__modules_SetupCxxFlags.cmake b/databases/arrow/files/patch-cmake__modules_SetupCxxFlags.cmake new file mode 100644 index 000000000000..f76d39545c54 --- /dev/null +++ b/databases/arrow/files/patch-cmake__modules_SetupCxxFlags.cmake @@ -0,0 +1,11 @@ +--- cmake_modules/SetupCxxFlags.cmake.orig 2020-06-15 16:23:49 UTC ++++ cmake_modules/SetupCxxFlags.cmake +@@ -27,7 +27,7 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch + set(ARROW_CPU_FLAG "armv8") + elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "armv7") + set(ARROW_CPU_FLAG "armv7") +-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc") ++elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc|powerpc64|ppc") + set(ARROW_CPU_FLAG "ppc") + elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "s390x") + set(ARROW_CPU_FLAG "s390x") -- cgit v1.2.3