Fix T103423: boolean crash on macOS Apple silicon

Thanks to Howard Trickey for finding the cause.
This commit is contained in:
Brecht Van Lommel
2023-01-09 14:28:25 +01:00
parent 385bd0c4e9
commit 8d2f4ddb2f

View File

@@ -22,6 +22,14 @@ elseif(UNIX AND NOT APPLE)
)
endif()
# Boolean crashes with Arm assembly, see T103423.
if(BLENDER_PLATFORM_ARM)
set(GMP_OPTIONS
${GMP_OPTIONS}
--disable-assembly
)
endif()
ExternalProject_Add(external_gmp
URL file://${PACKAGE_DIR}/${GMP_FILE}
DOWNLOAD_DIR ${DOWNLOAD_DIR}