Commit 5f1e4f9f authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'cxx17' into 'master'

default to C++17 on macOS and Windows

Closes #24

See merge request pycodegen/pystencils!214
parents 44b01cb6 185e84f9
......@@ -160,7 +160,7 @@ def read_config():
('msvc_version', 'latest'),
('llc_command', get_llc_command() or 'llc'),
('arch', 'x64'),
('flags', '/Ox /fp:fast /OpenMP /arch:avx'),
('flags', '/Ox /fp:fast /OpenMP /arch:avx /std:c++17'),
('restrict_qualifier', '__restrict')
])
elif platform.system().lower() == 'darwin':
......@@ -168,7 +168,7 @@ def read_config():
('os', 'darwin'),
('command', 'clang++'),
('llc_command', get_llc_command() or 'llc'),
('flags', '-Ofast -DNDEBUG -fPIC -march=native -Xclang -fopenmp -std=c++11'),
('flags', '-Ofast -DNDEBUG -fPIC -march=native -Xclang -fopenmp -std=c++17'),
('restrict_qualifier', '__restrict__')
])
default_cache_config = OrderedDict([
......
Markdown is supported
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