support for nvcc -m32
This commit is contained in:
parent
007a2aa87e
commit
7ebd169a62
|
@ -6860,7 +6860,11 @@ fi
|
||||||
ENABLE_CUDA="@# "
|
ENABLE_CUDA="@# "
|
||||||
else
|
else
|
||||||
ENABLE_CUDA=""
|
ENABLE_CUDA=""
|
||||||
case "$target_os" in
|
if test "$YAP_TARGET" = "i386"
|
||||||
|
then
|
||||||
|
NVCC="$NVCC -m32"
|
||||||
|
fi
|
||||||
|
case "$target_os" in
|
||||||
*darwin*)
|
*darwin*)
|
||||||
CUDA_LDFLAGS="$LDFLAGS"
|
CUDA_LDFLAGS="$LDFLAGS"
|
||||||
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
|
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
|
||||||
|
|
Reference in New Issue