-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
with a solutionIssue has a solutionIssue has a solution
Description
29: In file included from $PREFIX/lib/clang/8.0.1/include/__clang_cuda_runtime_wrapper.h:50:
29: In file included from /usr/lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/cmath:45:
29: /usr/include/math.h:66:23: error: function-like macro '__GLIBC_USE' is not defined
29: #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
Solution A:
export CFLAGS="$CFLAGS -D__GLIBC_USE\(...\)=0"
Although, it is better to get the include paths right:
GCCVERSION=$(basename $(dirname $($GXX -print-libgcc-file-name)))
export CPLUS_INCLUDE_PATH=$PREFIX/$HOST/include/c++/$GCCVERSION:$PREFIX/lib/gcc/$HOST/$GCCVERSION/include
Metadata
Metadata
Assignees
Labels
with a solutionIssue has a solutionIssue has a solution