Changeset 03cac08 in sasmodels for sasmodels/kerneldll.py
- Timestamp:
- Mar 20, 2016 7:44:11 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 303d8d6
- Parents:
- d5ac45f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r17bbadd r03cac08 61 61 if sys.platform == 'darwin': 62 62 #COMPILE = "gcc-mp-4.7 -shared -fPIC -std=c99 -fopenmp -O2 -Wall %s -o %s -lm -lgomp" 63 COMPILE = "gcc -shared -fPIC -std=c99 -O2 -Wall %(source)s -o %(output)s -lm "63 COMPILE = "gcc -shared -fPIC -std=c99 -O2 -Wall %(source)s -o %(output)s -lm -fno-unknown-pragmas" 64 64 elif os.name == 'nt': 65 65 # call vcvarsall.bat before compiling to set path, headers, libs, etc. … … 80 80 COMPILE = "gcc -shared -fPIC -std=c99 -O2 -Wall %(source)s -o %(output)s -lm" 81 81 if "SAS_OPENMP" in os.environ: 82 COMPILE = COMPILE + " -fopenmp" 82 COMPILE += " -fopenmp" 83 else: 84 COMPILE += " -fWno-unknown-pragmas" 83 85 else: 84 86 COMPILE = "cc -shared -fPIC -fopenmp -std=c99 -O2 -Wall %(source)s -o %(output)s -lm"
Note: See TracChangeset
for help on using the changeset viewer.