mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	more arm
This commit is contained in:
		
							parent
							
								
									79553261d1
								
							
						
					
					
						commit
						cb6aba2315
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -56,6 +56,7 @@ def display_help(): | |||
|     print("  -f, --force                   force script to regenerate Makefiles.") | ||||
|     print("  --nodotnet                    do not include .NET bindings in the binary distribution files.") | ||||
|     print("  --dotnet-key=<file>           sign the .NET assembly with the private key in <file>.") | ||||
|     print("  --arch=<arch>                 set architecture (to arm64) to force arm64 build") | ||||
|     print("  --nojava                      do not include Java bindings in the binary distribution files.") | ||||
|     print("  --nopython                    do not include Python bindings in the binary distribution files.") | ||||
|     print("  --githash                     include git hash in the Zip file.") | ||||
|  |  | |||
|  | @ -2436,7 +2436,7 @@ def mk_config(): | |||
|     if ONLY_MAKEFILES: | ||||
|         return | ||||
|     config = open(os.path.join(BUILD_DIR, 'config.mk'), 'w') | ||||
|     global CXX, CC, GMP, GUARD_CF, STATIC_BIN, GIT_HASH, CPPFLAGS, CXXFLAGS, LDFLAGS, EXAMP_DEBUG_FLAG, FPMATH_FLAGS, LOG_SYNC, SINGLE_THREADED | ||||
|     global CXX, CC, GMP, GUARD_CF, STATIC_BIN, GIT_HASH, CPPFLAGS, CXXFLAGS, LDFLAGS, EXAMP_DEBUG_FLAG, FPMATH_FLAGS, LOG_SYNC, SINGLE_THREADED, IS_ARCH_ARM64 | ||||
|     if IS_WINDOWS: | ||||
|         CXXFLAGS = '/nologo /Zi /D WIN32 /D _WINDOWS /EHsc /GS /Gd /std:c++17' | ||||
|         config.write( | ||||
|  | @ -2642,6 +2642,7 @@ def mk_config(): | |||
|         if sysname == 'Linux' and machine.startswith('armv7') or machine.startswith('armv8'): | ||||
|             CXXFLAGS = '%s -fpic' % CXXFLAGS | ||||
|         if IS_OSX and IS_ARCH_ARM64: | ||||
|             print("Setting arm64") | ||||
|             CXXFLAGS = '%s -arch arm64' % CXXFLAGS | ||||
|             LDFLAGS = '%s -arch arm64' % LDFLAGS | ||||
|             SLIBEXTRAFLAGS = '%s -arch arm64' % SLIBEXTRAFLAGS | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue