public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites
@ 2014-12-09  5:36 Chung-Ju Wu
  2014-12-09 13:16 ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: Chung-Ju Wu @ 2014-12-09  5:36 UTC (permalink / raw)
  To: gcc patches, Paolo Bonzini; +Cc: Jonathan Wakely

Hi, all,

In the discussion thread last year:
  https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01334.html

I extended the script ./contrib/download_prerequisites so that it can
download isl and cloog packages for graphite loop optimizations.
The patch was proposed to use GRAPHITE_LOOP_OPT=no by default.
However, the change I committed into trunk is setting GRAPHITE_LOOP_OPT=yes:
  https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=199297

I am sorry about my carelessness and I would like to propose a new patch
to fix it.  The plaintext ChangeLog and patch are as follow:


Index: contrib/ChangeLog
===================================================================
--- contrib/ChangeLog   (revision 218505)
+++ contrib/ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2014-12-09  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * download_prerequisites: Set GRAPHITE_LOOP_OPT=no by default.
+
 2014-12-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * check_GNU_style.sh: Warn for incorrect number of spaces in function


Index: contrib/download_prerequisites
===================================================================
--- contrib/download_prerequisites      (revision 218505)
+++ contrib/download_prerequisites      (working copy)
@@ -22,7 +22,7 @@
 # If you want to build GCC with the Graphite loop optimizations,
 # set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
 # ISL Library and CLooG.
-GRAPHITE_LOOP_OPT=yes
+GRAPHITE_LOOP_OPT=no

 # Necessary to build GCC.
 MPFR=mpfr-2.4.2


Is this patch OK for trunk?

Or we can still keep it "yes" since it has been using GRAPHITE_LOOP_OPT=yes
for a long time.  In that case, I will help to update the comment accordingly.

Any comment? :)


Best regards,
jasonwucj

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

* Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites
  2014-12-09  5:36 [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites Chung-Ju Wu
@ 2014-12-09 13:16 ` Richard Biener
  2014-12-10  5:16   ` Chung-Ju Wu
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Biener @ 2014-12-09 13:16 UTC (permalink / raw)
  To: Chung-Ju Wu; +Cc: gcc patches, Paolo Bonzini, Jonathan Wakely

On Tue, Dec 9, 2014 at 6:36 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
> Hi, all,
>
> In the discussion thread last year:
>   https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01334.html
>
> I extended the script ./contrib/download_prerequisites so that it can
> download isl and cloog packages for graphite loop optimizations.
> The patch was proposed to use GRAPHITE_LOOP_OPT=no by default.
> However, the change I committed into trunk is setting GRAPHITE_LOOP_OPT=yes:
>   https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=199297
>
> I am sorry about my carelessness and I would like to propose a new patch
> to fix it.  The plaintext ChangeLog and patch are as follow:

I'd say keep it as =yes (now that we only need ISL) and adjust the comment
instead.

Richard.

>
> Index: contrib/ChangeLog
> ===================================================================
> --- contrib/ChangeLog   (revision 218505)
> +++ contrib/ChangeLog   (working copy)
> @@ -1,3 +1,7 @@
> +2014-12-09  Chung-Ju Wu  <jasonwucj@gmail.com>
> +
> +       * download_prerequisites: Set GRAPHITE_LOOP_OPT=no by default.
> +
>  2014-12-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>
>         * check_GNU_style.sh: Warn for incorrect number of spaces in function
>
>
> Index: contrib/download_prerequisites
> ===================================================================
> --- contrib/download_prerequisites      (revision 218505)
> +++ contrib/download_prerequisites      (working copy)
> @@ -22,7 +22,7 @@
>  # If you want to build GCC with the Graphite loop optimizations,
>  # set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
>  # ISL Library and CLooG.
> -GRAPHITE_LOOP_OPT=yes
> +GRAPHITE_LOOP_OPT=no
>
>  # Necessary to build GCC.
>  MPFR=mpfr-2.4.2
>
>
> Is this patch OK for trunk?
>
> Or we can still keep it "yes" since it has been using GRAPHITE_LOOP_OPT=yes
> for a long time.  In that case, I will help to update the comment accordingly.
>
> Any comment? :)
>
>
> Best regards,
> jasonwucj

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

* Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites
  2014-12-09 13:16 ` Richard Biener
@ 2014-12-10  5:16   ` Chung-Ju Wu
  2014-12-10 13:37     ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: Chung-Ju Wu @ 2014-12-10  5:16 UTC (permalink / raw)
  To: Richard Biener, gcc patches; +Cc: Paolo Bonzini, Jonathan Wakely

2014-12-09 21:16 GMT+08:00 Richard Biener <richard.guenther@gmail.com>:
> On Tue, Dec 9, 2014 at 6:36 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
>> Hi, all,
>>
>> In the discussion thread last year:
>>   https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01334.html
>>
>> I extended the script ./contrib/download_prerequisites so that it can
>> download isl and cloog packages for graphite loop optimizations.
>> The patch was proposed to use GRAPHITE_LOOP_OPT=no by default.
>> However, the change I committed into trunk is setting GRAPHITE_LOOP_OPT=yes:
>>   https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=199297
>>
>> I am sorry about my carelessness and I would like to propose a new patch
>> to fix it.  The plaintext ChangeLog and patch are as follow:
>
> I'd say keep it as =yes (now that we only need ISL) and adjust the comment
> instead.
>
> Richard.
>

Thanks for the suggestion.
The followings are proposed patch to adjust comment:

Index: contrib/ChangeLog
===================================================================
--- contrib/ChangeLog   (revision 218558)
+++ contrib/ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2014-12-10  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * download_prerequisites: Modify the comment for GRAPHITE_LOOP_OPT.
+
 2014-12-09  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
            Yury Gribov  <y.gribov@samsung.com>


Index: contrib/download_prerequisites
===================================================================
--- contrib/download_prerequisites      (revision 218558)
+++ contrib/download_prerequisites      (working copy)
@@ -19,9 +19,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see http://www.gnu.org/licenses/.

-# If you want to build GCC with the Graphite loop optimizations,
-# set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
-# ISL Library and CLooG.
+# If you want to disable Graphite loop optimizations while building GCC,
+# DO NOT set GRAPHITE_LOOP_OPT as yes so that the ISL package will not
+# be downloaded.
 GRAPHITE_LOOP_OPT=yes


Is this OK for trunk?


Best regards,
jasonwucj

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

* Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites
  2014-12-10  5:16   ` Chung-Ju Wu
@ 2014-12-10 13:37     ` Richard Biener
  2014-12-12  3:26       ` Chung-Ju Wu
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Biener @ 2014-12-10 13:37 UTC (permalink / raw)
  To: Chung-Ju Wu; +Cc: gcc patches, Paolo Bonzini, Jonathan Wakely

On Wed, Dec 10, 2014 at 6:16 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
> 2014-12-09 21:16 GMT+08:00 Richard Biener <richard.guenther@gmail.com>:
>> On Tue, Dec 9, 2014 at 6:36 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
>>> Hi, all,
>>>
>>> In the discussion thread last year:
>>>   https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01334.html
>>>
>>> I extended the script ./contrib/download_prerequisites so that it can
>>> download isl and cloog packages for graphite loop optimizations.
>>> The patch was proposed to use GRAPHITE_LOOP_OPT=no by default.
>>> However, the change I committed into trunk is setting GRAPHITE_LOOP_OPT=yes:
>>>   https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=199297
>>>
>>> I am sorry about my carelessness and I would like to propose a new patch
>>> to fix it.  The plaintext ChangeLog and patch are as follow:
>>
>> I'd say keep it as =yes (now that we only need ISL) and adjust the comment
>> instead.
>>
>> Richard.
>>
>
> Thanks for the suggestion.
> The followings are proposed patch to adjust comment:
>
> Index: contrib/ChangeLog
> ===================================================================
> --- contrib/ChangeLog   (revision 218558)
> +++ contrib/ChangeLog   (working copy)
> @@ -1,3 +1,7 @@
> +2014-12-10  Chung-Ju Wu  <jasonwucj@gmail.com>
> +
> +       * download_prerequisites: Modify the comment for GRAPHITE_LOOP_OPT.
> +
>  2014-12-09  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
>             Yury Gribov  <y.gribov@samsung.com>
>
>
> Index: contrib/download_prerequisites
> ===================================================================
> --- contrib/download_prerequisites      (revision 218558)
> +++ contrib/download_prerequisites      (working copy)
> @@ -19,9 +19,9 @@
>  # You should have received a copy of the GNU General Public License
>  # along with this program. If not, see http://www.gnu.org/licenses/.
>
> -# If you want to build GCC with the Graphite loop optimizations,
> -# set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
> -# ISL Library and CLooG.
> +# If you want to disable Graphite loop optimizations while building GCC,
> +# DO NOT set GRAPHITE_LOOP_OPT as yes so that the ISL package will not
> +# be downloaded.
>  GRAPHITE_LOOP_OPT=yes
>
>
> Is this OK for trunk?

Ok.

Thanks,
Richard.

>
> Best regards,
> jasonwucj

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

* Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites
  2014-12-10 13:37     ` Richard Biener
@ 2014-12-12  3:26       ` Chung-Ju Wu
  0 siblings, 0 replies; 5+ messages in thread
From: Chung-Ju Wu @ 2014-12-12  3:26 UTC (permalink / raw)
  To: Richard Biener, gcc patches; +Cc: Paolo Bonzini, Jonathan Wakely

2014-12-10 21:37 GMT+08:00 Richard Biener <richard.guenther@gmail.com>:
> On Wed, Dec 10, 2014 at 6:16 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:
>>
>> Thanks for the suggestion.
>> The followings are proposed patch to adjust comment:
>>
>> Index: contrib/ChangeLog
>> ===================================================================
>> --- contrib/ChangeLog   (revision 218558)
>> +++ contrib/ChangeLog   (working copy)
>> @@ -1,3 +1,7 @@
>> +2014-12-10  Chung-Ju Wu  <jasonwucj@gmail.com>
>> +
>> +       * download_prerequisites: Modify the comment for GRAPHITE_LOOP_OPT.
>> +
>>  2014-12-09  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
>>             Yury Gribov  <y.gribov@samsung.com>
>>
>>
>> Index: contrib/download_prerequisites
>> ===================================================================
>> --- contrib/download_prerequisites      (revision 218558)
>> +++ contrib/download_prerequisites      (working copy)
>> @@ -19,9 +19,9 @@
>>  # You should have received a copy of the GNU General Public License
>>  # along with this program. If not, see http://www.gnu.org/licenses/.
>>
>> -# If you want to build GCC with the Graphite loop optimizations,
>> -# set GRAPHITE_LOOP_OPT=yes to download optional prerequisties
>> -# ISL Library and CLooG.
>> +# If you want to disable Graphite loop optimizations while building GCC,
>> +# DO NOT set GRAPHITE_LOOP_OPT as yes so that the ISL package will not
>> +# be downloaded.
>>  GRAPHITE_LOOP_OPT=yes
>>
>>
>> Is this OK for trunk?
>
> Ok.
>
> Thanks,
> Richard.
>

Thanks for approval.  Committed as Rev.218652:
  https://gcc.gnu.org/r218652


Best regards,
jasonwucj

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

end of thread, other threads:[~2014-12-12  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-09  5:36 [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites Chung-Ju Wu
2014-12-09 13:16 ` Richard Biener
2014-12-10  5:16   ` Chung-Ju Wu
2014-12-10 13:37     ` Richard Biener
2014-12-12  3:26       ` Chung-Ju Wu

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