Changeset 639c4e3 in sasmodels for sasmodels/kerneldll.py
- Timestamp:
- Apr 26, 2016 9:43:53 AM (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:
- ed246ab
- Parents:
- cebbb5a (diff), fa227d3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r8d62008 r639c4e3 87 87 COMPILE = " ".join((CC, LN)) 88 88 else: 89 COMPILE = "gcc -shared -fPIC -std=c99 -O2 -Wall %(source)s -o %(output)s -lm" 89 # fPIC is unused on windows 90 # COMPILE = "gcc -shared -fPIC -std=c99 -O2 -Wall %(source)s -o %(output)s -lm" 91 COMPILE = "gcc -shared -std=c99 -O2 -Wall %(source)s -o %(output)s -lm" 90 92 if "SAS_OPENMP" in os.environ: 91 93 COMPILE += " -fopenmp" … … 93 95 COMPILE = "cc -shared -fPIC -fopenmp -std=c99 -O2 -Wall %(source)s -o %(output)s -lm" 94 96 95 DLL_PATH = tempfile.gettempdir() 97 # Assume the default location of module DLLs is within the sasmodel directory. 98 DLL_PATH = os.path.join(os.path.split(os.path.realpath(__file__))[0], "models", "dll") 96 99 97 100 ALLOW_SINGLE_PRECISION_DLLS = True
Note: See TracChangeset
for help on using the changeset viewer.