public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* What precisely is the status of ppl/cloog anyway?
@ 2009-05-06 15:14 Dave Korn
  2009-05-06 15:36 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Korn @ 2009-05-06 15:14 UTC (permalink / raw)
  To: gcc


  Sorry to have to ask a dumb question, but it's not clear to me and I'm not
having a lot of luck searching recent list posts:

  Are cloog and ppl now mandatory requirements for building gcc, or are they
still optional extras?

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What precisely is the status of ppl/cloog anyway?
  2009-05-06 15:14 What precisely is the status of ppl/cloog anyway? Dave Korn
@ 2009-05-06 15:36 ` Paolo Bonzini
  2009-05-06 16:03   ` Dave Korn
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2009-05-06 15:36 UTC (permalink / raw)
  To: Dave Korn; +Cc: gcc

Dave Korn wrote:
>   Sorry to have to ask a dumb question, but it's not clear to me and I'm not
> having a lot of luck searching recent list posts:
> 
>   Are cloog and ppl now mandatory requirements for building gcc, or are they
> still optional extras?

Optional.

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What precisely is the status of ppl/cloog anyway?
  2009-05-06 15:36 ` Paolo Bonzini
@ 2009-05-06 16:03   ` Dave Korn
  2009-05-06 17:26     ` [PATCH] Fix bootstrap when no --with-ppl/--with-cloog [was Re: What precisely is the status of ppl/cloog anyway?] Dave Korn
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Korn @ 2009-05-06 16:03 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Dave Korn, gcc

Paolo Bonzini wrote:
> Dave Korn wrote:
>>   Sorry to have to ask a dumb question, but it's not clear to me and I'm not
>> having a lot of luck searching recent list posts:
>>
>>   Are cloog and ppl now mandatory requirements for building gcc, or are they
>> still optional extras?
> 
> Optional.
> 
> Paolo

  Ah, so if there's no --with specified, and no in-tree version, we can't just
fall back on defaulting to $prefix, we need to actually do a proper search to
see if there's a cloog/ppl install there and decide whether to build it or
not.  Hmm, the version check will need to be skipped in that case.

  Or if no --with-cloog option is given, should the default be to assume
--with-cloog=no, rather than try and guess?

[ All said here also applies to --with-ppl pro rata. ]

    cheers,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Fix bootstrap when no --with-ppl/--with-cloog [was Re: What  precisely is the status of ppl/cloog anyway?]
  2009-05-06 16:03   ` Dave Korn
@ 2009-05-06 17:26     ` Dave Korn
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Korn @ 2009-05-06 17:26 UTC (permalink / raw)
  To: Dave Korn; +Cc: Paolo Bonzini, gcc-patches@gcc.gnu.org

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Dave Korn wrote:
> Paolo Bonzini wrote:
>> Dave Korn wrote:
>>>   Sorry to have to ask a dumb question, but it's not clear to me and I'm not
>>> having a lot of luck searching recent list posts:
>>>
>>>   Are cloog and ppl now mandatory requirements for building gcc, or are they
>>> still optional extras?
>> Optional.

>   Or if no --with-cloog option is given, should the default be to assume
> --with-cloog=no, rather than try and guess?

  Given that they are optional, I think this option made sense; they shouldn't
even come into play unless the user explicitly asks for them.

> [ All said here also applies to --with-ppl pro rata. ]

  So I'm currently testing the attached.

ChangeLog

	* configure.ac ($with_ppl):  Default to no if not supplied.
	($with_cloog):  Likewise.

  Assuming it passes bootstrap, ok for HEAD?

    cheers,
      DaveK


[-- Attachment #2: cloog-ppl-not-mandatory.diff --]
[-- Type: text/x-c, Size: 556 bytes --]

Index: configure.ac
===================================================================
--- configure.ac	(revision 147098)
+++ configure.ac	(working copy)
@@ -1344,7 +1344,7 @@
 AC_ARG_WITH(ppl_lib, [  --with-ppl-lib=PATH     Specify the directory for the installed PPL library])
 
 case $with_ppl in 
-  no)
+  no|"")
     ppllibs=
     ;;
   *)
@@ -1399,7 +1399,7 @@
 AC_ARG_WITH(cloog_lib, [  --with-cloog-lib=PATH   Specify the directory for the installed CLooG library])
 
 case $with_cloog in 
-  no)
+  no|"")
     clooglibs=
     clooginc=
     ;;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-06 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 15:14 What precisely is the status of ppl/cloog anyway? Dave Korn
2009-05-06 15:36 ` Paolo Bonzini
2009-05-06 16:03   ` Dave Korn
2009-05-06 17:26     ` [PATCH] Fix bootstrap when no --with-ppl/--with-cloog [was Re: What precisely is the status of ppl/cloog anyway?] Dave Korn

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).