Make deps: Disabled assembly for GMP on Apple/arm64.
This appears to be a configuration for which GMP has no assembly, yet the default configure script tries to build it.
This commit is contained in:
		@@ -25,6 +25,13 @@ else()
 | 
				
			|||||||
  set(GMP_OPTIONS --enable-static --disable-shared )
 | 
					  set(GMP_OPTIONS --enable-static --disable-shared )
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if(APPLE AND ("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64"))
 | 
				
			||||||
 | 
					  set(GMP_OPTIONS
 | 
				
			||||||
 | 
					     ${GMP_OPTIONS}
 | 
				
			||||||
 | 
					     --disable-assembly
 | 
				
			||||||
 | 
					  )
 | 
				
			||||||
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ExternalProject_Add(external_gmp
 | 
					ExternalProject_Add(external_gmp
 | 
				
			||||||
  URL ${GMP_URI}
 | 
					  URL ${GMP_URI}
 | 
				
			||||||
  DOWNLOAD_DIR ${DOWNLOAD_DIR}
 | 
					  DOWNLOAD_DIR ${DOWNLOAD_DIR}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user