automake-patches
[Top][All Lists]
Advanced

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

Re: Intel compiler v8 fun


From: Ralf Wildenhues
Subject: Re: Intel compiler v8 fun
Date: Fri, 4 Jun 2004 10:18:21 +0200
User-agent: Mutt/1.4.1i

* Alexandre Duret-Lutz wrote on Thu, Jun 03, 2004 at 11:19:17PM CEST:
> >>> "Ralf" == Ralf Wildenhues <address@hidden> writes:
> 
>  Ralf> The 8.0 version of the Intel C++ compiler brings yet more joy to
>  Ralf> automake dependency tracking.
*snip*
>  Ralf> So finally, I suggest this update, where the fix for compiler detection
>  Ralf> is a mere hack (trying to differentiate between an exit of 1 and other
>  Ralf> possible problems).  BTW, I have signed papers.
> 
> Thanks for exploring this.  The initial intent of the test was
> to ensure that depmode would NOT be set to gcc for ICC 7.x (that
> caused a lot of spurious diagnostics during the build).  So I'm
> installing the following patch instead.

Well, then please consider setting
  expect='depmode=gcc$'
so gcc3 is detected as wrong (as a check for PR416).

> BTW, you may want to add
> (add-hook 'write-file-hooks 'copyright-update)
> to your .emacs file to update copyright years automatically

Not using emacs .. but I'll try to remember that.

Regards,
Ralf

> Index: tests/depcomp5.test
> ===================================================================
> RCS file: /cvs/automake/automake/tests/depcomp5.test,v
> retrieving revision 1.1
> diff -u -r1.1 depcomp5.test
> --- tests/depcomp5.test       11 Feb 2003 18:20:55 -0000      1.1
> +++ tests/depcomp5.test       3 Jun 2004 21:15:19 -0000
> @@ -1,5 +1,5 @@
>  #! /bin/sh
> -# Copyright (C) 2003  Free Software Foundation, Inc.
> +# Copyright (C) 2003, 2004  Free Software Foundation, Inc.
>  #
>  # This file is part of GNU Automake.
>  #
> @@ -23,6 +23,14 @@
>  required='icc'
>  . ./defs || exit 1
>  
> +# Automake supports icc since version 7.0 through a dedicated depcomp mode.
> +# icc 8.0 and greater understand gcc options, so depmode is set to gcc.
> +if icc -V -help 2>&1 | grep 'Version 7'; then
> +  expect='depmode=icc'
> +else
> +  expect='depmode=gcc'
> +fi
> +
*snip*




reply via email to

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