libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.6-150-g741a986


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-150-g741a986
Date: Fri, 18 Sep 2009 18:39:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  741a9867eb71eb258ca1ed5b85bc7f03ce864195 (commit)
      from  6858ed03d8cb56d324283f18a18eee21468929ce (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 741a9867eb71eb258ca1ed5b85bc7f03ce864195
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Sep 13 11:00:31 2009 +0200

    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 <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   10 ++++++++++
 NEWS                       |    1 +
 THANKS                     |    1 +
 libltdl/config/ltmain.m4sh |    2 +-
 libltdl/m4/libtool.m4      |   18 +++++++++++++++++-
 5 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 70ea1c1..12ca085 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-09-18  Ralf Wildenhues  <address@hidden>
+
+       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  <address@hidden>
 
        Control where win32 DLLs get installed.
diff --git a/NEWS b/NEWS
index f96a717..7843378 100644
--- a/NEWS
+++ b/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:
 
diff --git a/THANKS b/THANKS
index 54c989b..7731a82 100644
--- a/THANKS
+++ b/THANKS
@@ -120,6 +120,7 @@
   Kurt D. Zeilenga             address@hidden
   Maciej Helminiak             address@hidden
   Maciej W. Rozycki            address@hidden
+  Mahesh Narayanamurthi                address@hidden
   Manfred Weichel              address@hidden
   Marc Espie                   address@hidden
   Marc J. Fraioli              address@hidden
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index ab94928..f1bf43f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -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
       ;;
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a8c186b..02f5b5d 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -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


hooks/post-receive
-- 
GNU Libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]