Skip to content
Snippets Groups Projects

default to C++17 on macOS and Windows

Merged Michael Kuron requested to merge cxx17 into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -160,7 +160,7 @@ def read_config():
@@ -160,7 +160,7 @@ def read_config():
('msvc_version', 'latest'),
('msvc_version', 'latest'),
('llc_command', get_llc_command() or 'llc'),
('llc_command', get_llc_command() or 'llc'),
('arch', 'x64'),
('arch', 'x64'),
('flags', '/Ox /fp:fast /OpenMP /arch:avx'),
('flags', '/Ox /fp:fast /OpenMP /arch:avx /std:c++17'),
('restrict_qualifier', '__restrict')
('restrict_qualifier', '__restrict')
])
])
elif platform.system().lower() == 'darwin':
elif platform.system().lower() == 'darwin':
@@ -168,7 +168,7 @@ def read_config():
@@ -168,7 +168,7 @@ def read_config():
('os', 'darwin'),
('os', 'darwin'),
('command', 'clang++'),
('command', 'clang++'),
('llc_command', get_llc_command() or 'llc'),
('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__')
('restrict_qualifier', '__restrict__')
])
])
default_cache_config = OrderedDict([
default_cache_config = OrderedDict([
Loading