Changeset 666454e in sasview


Ignore:
Timestamp:
May 1, 2018 3:58:51 AM (7 years ago)
Author:
wojciech
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
1b068256
Parents:
1176137
Message:

Checking cc compiler on OSX prior to sasmodel installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasview/sasview.py

    r20fa5fe r666454e  
    200200    Prepare sasmodels for running within sasview. 
    201201    """ 
     202    #Checking for the sasmodel compiler 
     203    if sys.platform == "darwin" and not os.path.exists("/Library/Developer/CommandLineTools/usr/bin/cc"): 
     204        raise RuntimeError("No compiler. Open Terminal.app and type 'cc' at the command prompt for more instructions.") 
    202205    # Set SAS_MODELPATH so sasmodels can find our custom models 
    203206    plugin_dir = os.path.join(sas.get_user_dir(), PLUGIN_MODEL_DIR) 
Note: See TracChangeset for help on using the changeset viewer.