Changeset aa343d6 in sasmodels
- Timestamp:
- May 26, 2016 4:18:30 PM (9 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:
- 001d9f5
- Parents:
- 4d8e0bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r7e16db7 raa343d6 98 98 # On mac users will need the X code command line tools installed 99 99 #COMPILE = "gcc-mp-4.7 -shared -fPIC -std=c99 -fopenmp -O2 -Wall %s -o %s -lm -lgomp" 100 CC = " gcc -shared -fPIC -std=c99 -O2 -Wall".split()100 CC = "cc -shared -fPIC -std=c99 -O2 -Wall".split() 101 101 # add openmp support if not running on a mac 102 102 if sys.platform != "darwin": … … 121 121 command_str = " ".join('"%s"'%p if ' ' in p else p for p in command) 122 122 logging.info(command_str) 123 shell = (os.name == 'nt') 123 124 try: 124 subprocess.check_output(command, shell= True, stderr=subprocess.STDOUT)125 subprocess.check_output(command, shell=shell, stderr=subprocess.STDOUT) 125 126 except subprocess.CalledProcessError as exc: 126 127 raise RuntimeError("compile failed.\n%s\n%s"%(command_str, exc.output))
Note: See TracChangeset
for help on using the changeset viewer.