Skip to content
Snippets Groups Projects
Commit 185e84f9 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

default to C++17 on macOS and Windows

parent 44b01cb6
1 merge request!214default to C++17 on macOS and Windows
Pipeline #30384 passed with stage
in 29 minutes and 22 seconds
......@@ -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([
......
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