public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: Jack Howarth <howarth@bromo.med.uc.edu>,
	Tobias Grosser <tobias@grosser.es>
Cc: gcc-patches@gcc.gnu.org, Jakub Jelinek <jakub@redhat.com>
Subject: Re: [PATCH] Allow new ISL/CLooG versions
Date: Mon, 14 Jan 2013 18:20:00 -0000	[thread overview]
Message-ID: <244530a2-3f9b-447d-9a94-4e7be37b079f@email.android.com> (raw)
In-Reply-To: <20130114162900.GB15254@bromo.med.uc.edu>

Jack Howarth <howarth@bromo.med.uc.edu> wrote:

>On Mon, Jan 14, 2013 at 11:03:41AM -0500, Jack Howarth wrote:
>> On Mon, Jan 14, 2013 at 04:44:04PM +0100, Tobias Grosser wrote:
>> > On 01/14/2013 03:29 PM, Richard Biener wrote:
>> >>
>> >> This makes us accept the CLooG 0.18.0 and ISL 0.11.1 combo.
>> >>
>> >> It's probably not the best stage to move the version checks to
>> >> gcc/ where we can rely on built in-tree ISL/CLooG, so this avoids
>> >> it with the caveat that in-tree CLooG 0.18.0 will fail the
>> >> version check (they no longer ship built version.h but only
>> >> version.h.in).
>> >>
>> >> I verified all GRAPHITE tests pass with 0.18.0/0.11.1.
>> >>
>> >> Ok for trunk?
>
>Richard,
>Did you see my patch proposal in the gcc mailing list  before you
>crafted your patch?
>
>http://gcc.gnu.org/ml/gcc/2012-12/msg00195.html
>
Yes I did.  The patch is not broken, it restricts compare to major and minor.

Richard.
>            Jack
>
>> >>
>> >> Or do people prefer to move CLooG/ISL checks to gcc/ configure
>> >> time to fix the in-tree use of 0.18.0 and also do version checks
>> >> of in-tree ISL at all (they don't have a version.h).
>> >
>> > Hi Richi,
>> >
>> > I think this is a good thing. But this probably requires some
>config  
>> > guys to approve it.
>> >
>> > All the best,
>> > Tobi
>> 
>> Tnis change has already been committed at...
>> 
>> r195150 | rguenth | 2013-01-14 10:01:13 -0500 (Mon, 14 Jan 2013) | 5
>lines
>> 
>> 2013-01-14  Richard Biener  <rguenther@suse.de>
>> 
>>         * configure.ac (cloog/isl): Also allow ISL 0.11.x and CLooG
>0.18.0.
>>         * configure: Re-generate
>> 
>> 
>> This change is broken in several ways. The current commit doesn't
>handle
>> isl 0.11.1 because it omits teaching config/isl.m4 how to handle
>revsions
>> with...
>> 
>> Index: config/isl.m4
>> ===================================================================
>> --- config/isl.m4	(revision 194744)
>> +++ config/isl.m4	(working copy)
>> @@ -89,13 +89,13 @@ AC_DEFUN([ISL_REQUESTED],
>>  ]
>>  )
>>  
>> -# _ISL_CHECK_CT_PROG(MAJOR, MINOR)
>> +# _ISL_CHECK_CT_PROG(MAJOR, MINOR, REVISION)
>>  # --------------------------------------------
>>  # Helper for verifying ISL compile time version.
>>  m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
>>    [#include <isl/version.h>
>>     #include <string.h>],
>> -  [if (strncmp (isl_version (), "isl-$1.$2", strlen ("isl-$1.$2"))
>!= 0)
>> +  [if (strncmp (isl_version (), "isl-$1.$2.$3", strlen
>("isl-$1.$2.$3")) != 0)
>>       return 1;
>>     ])])
>>  
>> @@ -115,9 +115,9 @@ AC_DEFUN([ISL_CHECK_VERSION],
>>      LIBS="${_isl_saved_LIBS} -lisl"
>>      echo $CFLAGS
>>  
>> -    AC_CACHE_CHECK([for version $1.$2 of ISL],
>> +    AC_CACHE_CHECK([for version $1.$2.$3 of ISL],
>>        [gcc_cv_isl],
>> -      [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
>> +      [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2,$3)],
>>  	[gcc_cv_isl=yes],
>>  	[gcc_cv_isl=no],
>>  	[gcc_cv_isl=yes])])
>> 
>> like config/cloog.m4 does. Also the current commit leaves the
>legacy...
>> 
>>    ISL_CHECK_VERSION(0,10)
>> +  if test "${gcc_cv_isl}" = no ; then
>> +    ISL_CHECK_VERSION(0,11)
>> +  fi
>> 
>> test on isl 0.10 present insuring that it will fail for any out of
>tree
>> isl version.
>>          Jack
>> 
>> 


  reply	other threads:[~2013-01-14 18:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 14:29 Richard Biener
2013-01-14 15:44 ` Tobias Grosser
2013-01-14 16:03   ` Jack Howarth
2013-01-14 16:29     ` Jack Howarth
2013-01-14 18:20       ` Richard Biener [this message]
2013-01-14 20:04         ` Jack Howarth
2013-01-20 10:15 ` Eric Botcazou
2013-01-20 13:27   ` Richard Biener
2013-01-14 19:27 Dominique Dhumieres
2013-01-14 20:20 ` Jack Howarth
2013-01-14 20:29   ` Dominique Dhumieres
2013-01-14 20:45     ` Jack Howarth
2013-01-15  9:24   ` Richard Biener
2013-01-15 10:06     ` Richard Biener
2013-01-15 12:58       ` Jakub Jelinek
2013-01-15 14:07       ` Jack Howarth
2013-01-16  9:31         ` Richard Biener
2013-01-16  9:36           ` Richard Biener
2013-01-14 20:18 Dominique Dhumieres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=244530a2-3f9b-447d-9a94-4e7be37b079f@email.android.com \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=howarth@bromo.med.uc.edu \
    --cc=jakub@redhat.com \
    --cc=tobias@grosser.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).