Re: [Boost-bugs] [Boost C++ Libraries] #8647: Incorrect Identification of CUDA NVCC with User-Defined Backend

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8647: Incorrect Identification of CUDA NVCC with User-Defined Backend
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-15 21:46:18


#8647: Incorrect Identification of CUDA NVCC with User-Defined Backend
--------------------------------------+-------------------------
  Reporter: ryo-nishimura@… | Owner: johnmaddock
      Type: Patches | Status: closed
 Milestone: To Be Determined | Component: config
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+-------------------------

Comment (by robert.maynard@…):

 I apologize if it is bad behavior to comment on closed bugs.

 These changes to detecting the backend for nvcc has had the side effect of
 making it not possible to use the clang backend with CUDA 5.5. My testbed
 machine is a Mac Lion with CUDA 5.5 and XCode 5.0.2.

 The problem is that the nvcc with the clang backend is expecting clang to
 be emulating gcc 4.2.

 The solution is that select_compiler_config.hpp should have the following
 guard:

 {{{

 #elif defined __clang__ && !defined(__CUDACC__)
 // Clang C++ emulates GCC, so it has to appear early.
 # define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8647#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC