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 934af61134
commit 4d25c6b86e
Notes: blender-bot 2023-02-14 06:00:47 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
Referenced by issue #103423, Crash with boolean modifier exact mode depending on face orientation (regression from 3.3.1 to 3.3.2)
1 changed files with 8 additions and 0 deletions

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}