From f6a9b70a0ed82b793d64129dcd14e1813f2a2b2a Mon Sep 17 00:00:00 2001 From: Masayuki Takagi Date: Sat, 20 Apr 2019 18:49:38 +0900 Subject: [PATCH] Merge pull request #2147 from grafi-tt/bug/fix-cuda101-gcc-abi fix compile error on CUDA 10.1 and GCC 7 or 8 --- cupy_setup_build.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cupy_setup_build.py b/cupy_setup_build.py index b8cfca4a4be..fe37c9204e4 100644 --- a/cupy_setup_build.py +++ b/cupy_setup_build.py @@ -364,11 +364,6 @@ def make_extensions(options, compiler, use_cython): use_wheel_libs_rpath = ( 0 < len(options['wheel_libs']) and not PLATFORM_WIN32) - # This is a workaround for Anaconda. - # Anaconda installs libstdc++ from GCC 4.8 and it is not compatible - # with GCC 5's new ABI. - settings['define_macros'].append(('_GLIBCXX_USE_CXX11_ABI', '0')) - # In the environment with CUDA 7.5 on Ubuntu 16.04, gcc5.3 does not # automatically deal with memcpy because string.h header file has # been changed. This is a workaround for that environment.