Changeset 01de557 in sasview


Ignore:
Timestamp:
Dec 8, 2011 4:57:11 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
3176ea7
Parents:
0b082f3
Message:

Re #7 Turn off openmp for gcc4.0 on mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r8969521 r01de557  
    55import sys 
    66import os 
     7import platform 
    78#from distutils.core import setup, Extension 
    89from setuptools import setup, Extension, find_packages 
     
    2829extra_compile_args = [] 
    2930extra_link_args = [] 
    30 if not os.name=='nt': 
     31if sys.platform=='linux2' or (sys.platform=='darwin' and platform.architecture()[0]=='64bit'): 
    3132    extra_compile_args = ['-fopenmp'] 
    3233    extra_link_args = ['-lgomp'] 
    33 else: 
     34elif os.name=='nt': 
    3435    extra_compile_args = ['/openmp'] 
    3536 
Note: See TracChangeset for help on using the changeset viewer.