1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

multimedia/aom: unbreak SIMD on powerpc*

CMake Warning at build/cmake/aom_configure.cmake:80 (message):
  The architecture powerpc64 is not supported, falling back to the generic
  target
Call Stack (most recent call first):
  CMakeLists.txt:35 (include)

PR:		245896
Reported by:	pkubaj
This commit is contained in:
Jan Beich 2020-04-25 02:21:14 +00:00
parent 2a4e479c56
commit 07b58cda3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532910

View File

@ -1,7 +1,17 @@
- FreeBSD and NetBSD powerpc* targets don't abbreviate to ppc*
- ARM uses compiler intrinsics, so don't require GNU as
--- build/cmake/aom_configure.cmake.orig 2020-02-07 16:59:05 UTC
+++ build/cmake/aom_configure.cmake
@@ -74,7 +74,7 @@ if(NOT AOM_TARGET_CPU)
set(AOM_TARGET_CPU "${cpu_lowercase}")
elseif("${cpu_lowercase}" MATCHES "aarch64")
set(AOM_TARGET_CPU "arm64")
- elseif("${cpu_lowercase}" MATCHES "^ppc")
+ elseif("${cpu_lowercase}" MATCHES "^ppc|^powerpc")
set(AOM_TARGET_CPU "ppc")
else()
message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not "
@@ -162,17 +162,6 @@ elseif("${AOM_TARGET_CPU}" MATCHES "arm")
set(AS_EXECUTABLE as)
endif()