at master 1.5 kB view raw
1diff --git a/build_llvm.py b/build_llvm.py 2index aee0a9f1..5e1c3557 100644 3--- a/build_llvm.py 4+++ b/build_llvm.py 5@@ -171,7 +171,6 @@ def build_llvm_clang_from_source_for_arch(args, arch: str, llvm_source: str) -> 6 "-D", "LLVM_INCLUDE_TESTS=FALSE", 7 "-D", "LLVM_INCLUDE_TOOLS=TRUE", # Needed by Clang 8 "-D", "LLVM_INCLUDE_UTILS=FALSE", 9- "-D", f"CMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 {abi_version}", # The pre-C++11 ABI is still the default on the CentOS 7 toolchain 10 "-D", f"CMAKE_INSTALL_PREFIX={install_path}", 11 "-D", f"LLVM_HOST_TRIPLE={host_triple}", 12 "-D", f"CMAKE_OSX_ARCHITECTURES={osx_architectures}", 13diff --git a/warp/build_dll.py b/warp/build_dll.py 14index 2218ff13..2354f69f 100644 15--- a/warp/build_dll.py 16+++ b/warp/build_dll.py 17@@ -417,7 +417,7 @@ def build_dll_for_arch(args, dll_path, cpp_paths, cu_path, arch, libs: Optional[ 18 else: 19 version = "" 20 21- cpp_flags = f'-Werror -Wuninitialized {version} --std=c++17 -fno-rtti -D{cuda_enabled} -D{mathdx_enabled} -D{cuda_compat_enabled} -fPIC -fvisibility=hidden -D_GLIBCXX_USE_CXX11_ABI=0 -I"{native_dir}" {includes} ' 22+ cpp_flags = f'-Werror -Wuninitialized {version} --std=c++17 -fno-rtti -D{cuda_enabled} -D{mathdx_enabled} -D{cuda_compat_enabled} -fPIC -fvisibility=hidden -I"{native_dir}" {includes} ' 23 24 if mode == "debug": 25 cpp_flags += "-O0 -g -D_DEBUG -DWP_ENABLE_DEBUG=1 -fkeep-inline-functions"