Skip to content

Commit

Permalink
Merge pull request #2147 from grafi-tt/bug/fix-cuda101-gcc-abi
Browse files Browse the repository at this point in the history
fix compile error on CUDA 10.1 and GCC 7 or 8
  • Loading branch information
takagi committed Apr 20, 2019
1 parent 850788c commit f6a9b70
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cupy_setup_build.py
Expand Up @@ -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.
Expand Down

0 comments on commit f6a9b70

Please sign in to comment.