diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2020-06-16 16:34:51 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2020-06-16 16:34:51 +0000 |
commit | 632db3c807769df49fb6cbaef50c96a48c24c735 (patch) | |
tree | 8e8a674bd55d98c960d0a273bd2f5a04c3d50a8d /databases/arrow/files | |
parent | 974a3ef88ec7fe50da54aa389d546c063fa4132e (diff) | |
download | ports-632db3c807769df49fb6cbaef50c96a48c24c735.tar.gz ports-632db3c807769df49fb6cbaef50c96a48c24c735.zip |
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)
Notes
Notes:
svn path=/head/; revision=539366
Diffstat (limited to 'databases/arrow/files')
-rw-r--r-- | databases/arrow/files/patch-cmake__modules_SetupCxxFlags.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
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") |