From b7c4995c36bb9b679a01d120ac0a363248b7cb3e Mon Sep 17 00:00:00 2001 From: Zack Singer Date: Thu, 15 Aug 2024 13:19:07 -0400 Subject: [PATCH] Re-add std c++14 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d99a2421..1211b16f 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ # Determine which compiler is being used to build the C/C++ modules compiler_type = distutils.ccompiler.get_default_compiler() if compiler_type in ("unix", "mingw32"): - compiler_flags = ['-O3', '-ftree-vectorize', '-Wall', '-funroll-loops'] + compiler_flags = ['-O3', '-ftree-vectorize', '-Wall', '-funroll-loops', '--std=c++14'] if not sys.platform.startswith('win'): compiler_flags.append('-fPIC') elif compiler_type == "msvc":