Changes in / [b52f47f:b9d9e95] in sasview
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
rb44da61 r5972029 68 68 is_64bits = sys.maxsize > 2**32 69 69 70 enable_openmp = False if "--disable-open-mp" in sys.argv elseTrue70 enable_openmp = True 71 71 72 72 if sys.platform =='darwin': … … 104 104 print "PROBLEM determining Darwin version" 105 105 106 106 class DisableOpenMPCommand(Command): 107 description = "The version of MinGW that comes with Anaconda does not come with OpenMP :( "\ 108 "This commands means we can turn off compiling with OpenMP for this or any "\ 109 "other reason." 110 user_options = [] 111 112 def initialize_options(self): 113 self.cwd = None 114 115 def finalize_options(self): 116 self.cwd = os.getcwd() 117 global enable_openmp 118 enable_openmp = False 119 120 def run(self): 121 pass 107 122 108 123 class build_ext_subclass( build_ext ): … … 386 401 }, 387 402 cmdclass = {'build_ext': build_ext_subclass, 388 'docs': BuildSphinxCommand} 403 'docs': BuildSphinxCommand, 404 'disable_openmp': DisableOpenMPCommand} 389 405 )
Note: See TracChangeset
for help on using the changeset viewer.