forked from boostorg/config
This is from: https://github.com/boostorg/config/pull/31/files
See also: https://svn.boost.org/trac/boost/ticket/8647
This commit is contained in:
@@ -39,7 +39,8 @@
|
|||||||
// Intel
|
// Intel
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
|
||||||
|
|
||||||
#elif defined __clang__
|
#elif defined __clang__ && !defined(__CUDACC__)
|
||||||
|
// when using clang and cuda at same time, you want to appear as gcc
|
||||||
// Clang C++ emulates GCC, so it has to appear early.
|
// Clang C++ emulates GCC, so it has to appear early.
|
||||||
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
|
# define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user