- Timestamp:
- Dec 28, 2011 4:04:56 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- e79a467
- Parents:
- 9e5ec99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
reb32080e rebdb833 85 85 'unix' : ['-lgomp']} 86 86 87 # Platform-specific link options 88 platform_lopt = {'msvc' : ['/MANIFEST']} 89 87 90 class build_ext_subclass( build_ext ): 88 91 def build_extensions(self): … … 91 94 print "Compiling with %s (64bit=%s)" % (c, str(is_64bits)) 92 95 96 # OpenMP build options 93 97 if enable_openmp: 94 98 if copt.has_key(c): … … 96 100 e.extra_compile_args = copt[ c ] 97 101 if lopt.has_key(c): 98 99 102 for e in self.extensions: 100 103 e.extra_link_args = lopt[ c ] 101 104 105 # Platform-specific build options 106 if platform_lopt.has_key(c): 107 for e in self.extensions: 108 e.extra_link_args = platform_lopt[ c ] 109 102 110 build_ext.build_extensions(self) 103 111
Note: See TracChangeset
for help on using the changeset viewer.