Changeset 5007
- Timestamp:
- Aug 4, 2021 12:20:04 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fsource/SConstruct
r5006 r5007 41 41 print(u'Unknown platform: '+sys.platform) 42 42 raise Exception('Unknown platform') 43 if 'arm' in platform.machine() :43 if 'arm' in platform.machine() and sys.platform == "darwin": 44 44 bits = 'arm' 45 45 elif platform.architecture()[0] == '64bit': … … 53 53 # misc initializations 54 54 # need command-line options for fortran command and fortran options 55 #F2PYflags = '' # compiler options for f2py command 56 F2PYflags = '-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include' # compiler options for f2py command 57 if 'arm' in platform.machine(): 55 F2PYflags = '' # compiler options for f2py command 56 if 'arm' in platform.machine() and sys.platform == "darwin": 58 57 F2PYflags = '-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include' # compiler options for f2py command 59 58 F2PYpath = ARGUMENTS.get('F2PYpath', '') … … 239 238 version = str(int(versions[0])) + '.' + str(int(versions[1])) 240 239 PlatformBits = '64bits' 241 if 'arm' in platform.machine() :240 if 'arm' in platform.machine() and sys.platform == "darwin": 242 241 PlatformBits = 'arm' 243 242 if '32' in platform.architecture()[0]:
Note: See TracChangeset
for help on using the changeset viewer.