Skip to content
Snippets Groups Projects
Commit ed4bb4c7 authored by Julian Hammer's avatar Julian Hammer
Browse files

added mac compiler defaults

parent 42e2698d
Branches
Tags
No related merge requests found
......@@ -143,7 +143,6 @@ def read_config():
('flags', '-Ofast -DNDEBUG -fPIC -march=native -fopenmp -std=c++11'),
('restrict_qualifier', '__restrict__')
])
elif platform.system().lower() == 'windows':
default_compiler_config = OrderedDict([
('os', 'windows'),
......@@ -152,6 +151,13 @@ def read_config():
('flags', '/Ox /fp:fast /openmp /arch:avx'),
('restrict_qualifier', '__restrict')
])
elif platform.system().lower() == 'darwin':
default_compiler_config = OrderedDict([
('os', 'darwin'),
('command', 'clang++'),
('flags', '-Ofast -DNDEBUG -fPIC -march=native -fopenmp -std=c++11'),
('restrict_qualifier', '__restrict__')
])
default_cache_config = OrderedDict([
('object_cache', os.path.join(user_cache_dir('pystencils'), 'objectcache')),
('clear_cache_on_start', False),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment