Changeset e79a467 in sasview for setup.py


Ignore:
Timestamp:
Dec 29, 2011 1:10:25 PM (8 years ago)
Author:
Jae Cho <jhjcho@…>
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:
aba60f4
Parents:
ebdb833
Message:

reverting the not working command line arg. : need more work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    rebdb833 re79a467  
    33    #TODO: Add checks to see that all the dependencies are on the system 
    44""" 
    5 # [command] can be any of the following: 
    6 #   -nomp: no openmp: Use this flag; C-lib without openmp as well as numpy < 1.6 
    7  
    85import sys 
    96 
    10 if len(sys.argv) == 1: 
    11     sys.argv.append('install') 
    127import os 
    138import platform 
     
    7065     
    7166enable_openmp = True                     
    72 if sys.argv[-1] == "-nomp": 
    73     # Disable OpenMP 
    74     enable_openmp = False 
     67 
    7568if sys.platform =='darwin' and not is_64bits: 
    7669    # Disable OpenMP 
Note: See TracChangeset for help on using the changeset viewer.