Skip to content

Commit 00d252f

Browse files
[2/2] Disable ARM SIMD and Neon instructions in Pixman package, fails to build for armeabi-v7a.
1 parent 87c3c53 commit 00d252f

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

3rdparty/packages/pixman-1.cmake

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@ if (NOT BUILD_SHARED_LIBS)
1515
)
1616
endif (NOT BUILD_SHARED_LIBS)
1717

18+
# Build errors for armeabi-v7a SIMD and Neon asm code.
19+
if(ANDROID_ABI STREQUAL armeabi-v7a)
20+
SET(ARM32_CONFIG CONFIGURE_ARGUMENTS -Dneon=disabled -Darm-simd=disabled)
21+
endif()
22+
1823
ExternalProjectMeson(pixman-1
1924
DEPENDS libpng glib-2.0
2025
URL https://cairographics.org/releases/pixman-0.38.4.tar.gz
2126
URL_HASH SHA256=da66d6fd6e40aee70f7bd02e4f8f76fc3f006ec879d346bae6a723025cfbdde7
22-
CONFIGURE_ARGUMENTS
23-
#@TODO: enable for arm64. these fail only for 32 bit arm.
24-
-Dneon=disabled -Darm-simd=disabled
27+
${ARM32_CONFIG}
2528
${PIXMAN_SHARED_ARGUMENT}
2629
)

0 commit comments

Comments
 (0)