mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
Initial support for the Cuda Compiler Driver on Linux.
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept source file extensions `.cu' and `.cup'. * libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC) (_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver. * NEWS, THANKS: Update. Report by Mahesh Narayanamurthi. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
6858ed03d8
commit
741a9867eb
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2009-09-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Initial support for the Cuda Compiler Driver on Linux.
|
||||
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept source
|
||||
file extensions `.cu' and `.cup'.
|
||||
* libltdl/m4/libtool.m4 (_LT_COMPILER_NO_RTTI, _LT_COMPILER_PIC)
|
||||
(_LT_LINKER_SHLIBS): Support for `nvcc' compiler driver.
|
||||
* NEWS, THANKS: Update.
|
||||
Report by Mahesh Narayanamurthi.
|
||||
|
||||
2009-09-12 Dave Korn <dave.korn.cygwin@googlemail.com>
|
||||
|
||||
Control where win32 DLLs get installed.
|
||||
|
1
NEWS
1
NEWS
@ -25,6 +25,7 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
|
||||
- Initial support for compilers on BlueGene BG/L.
|
||||
- Improved support for Atari FreeMiNT.
|
||||
- With binutils 2.19.50+, shared libraries can be built on AIX.
|
||||
- Initial support for the Cuda Compiler Driver on GNU/Linux.
|
||||
|
||||
* Bug fixes:
|
||||
|
||||
|
1
THANKS
1
THANKS
@ -120,6 +120,7 @@
|
||||
Kurt D. Zeilenga Kurt@OpenLDAP.Org
|
||||
Maciej Helminiak dion2@wp.pl
|
||||
Maciej W. Rozycki macro@linux-mips.org
|
||||
Mahesh Narayanamurthi mahesh.mach@gmail.com
|
||||
Manfred Weichel Manfred.Weichel@pdb.siemens.de
|
||||
Marc Espie espie@nerim.net
|
||||
Marc J. Fraioli fraioli@dg-rtp.dg.com
|
||||
|
@ -783,7 +783,7 @@ func_mode_compile ()
|
||||
*.[cCFSifmso] | \
|
||||
*.ada | *.adb | *.ads | *.asm | \
|
||||
*.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
|
||||
*.[fF][09]? | *.for | *.java | *.obj | *.sx)
|
||||
*.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
|
||||
func_xform "$libobj"
|
||||
libobj=$func_xform_result
|
||||
;;
|
||||
|
18
libltdl/m4/libtool.m4
vendored
18
libltdl/m4/libtool.m4
vendored
@ -3287,7 +3287,12 @@ m4_defun([_LT_COMPILER_NO_RTTI],
|
||||
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
|
||||
case $cc_basename in
|
||||
nvcc*)
|
||||
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
|
||||
*)
|
||||
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
|
||||
esac
|
||||
|
||||
_LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
|
||||
lt_cv_prog_compiler_rtti_exceptions,
|
||||
@ -3939,6 +3944,13 @@ m4_if([$1], [CXX], [
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||
;;
|
||||
esac
|
||||
|
||||
case $cc_basename in
|
||||
nvcc*) # Cuda Compiler Driver 2.2
|
||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
|
||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
|
||||
;;
|
||||
esac
|
||||
else
|
||||
# PORTME Check for flag to pass linker flags through the system compiler.
|
||||
case $host_os in
|
||||
@ -4424,6 +4436,10 @@ _LT_EOF
|
||||
xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
|
||||
tmp_sharedflag='-qmkshrobj'
|
||||
tmp_addflag= ;;
|
||||
nvcc*) # Cuda Compiler Driver 2.2
|
||||
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
||||
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
||||
;;
|
||||
esac
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*) # Sun C 5.9
|
||||
|
Loading…
Reference in New Issue
Block a user