public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Loongarch: Fix plugin header missing install.
@ 2023-08-16  1:48 Guo Jie
  2023-08-17 14:41 ` chenglulu
  0 siblings, 1 reply; 4+ messages in thread
From: Guo Jie @ 2023-08-16  1:48 UTC (permalink / raw)
  To: gcc-patches; +Cc: xuchenghua, Guo Jie, Lulu Cheng

gcc/ChangeLog:

	* config/loongarch/t-loongarch: Add loongarch-driver.h into
	TM_H. Add loongarch-def.h and loongarch-tune.h into
	OPTIONS_H_EXTRA.

Co-authored-by: Lulu Cheng <chenglulu@loongson.cn>
---
 gcc/config/loongarch/t-loongarch | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch
index 6d6e3435d59..e73f4f437ef 100644
--- a/gcc/config/loongarch/t-loongarch
+++ b/gcc/config/loongarch/t-loongarch
@@ -16,6 +16,10 @@
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
+TM_H += $(srcdir)/config/loongarch/loongarch-driver.h
+OPTIONS_H_EXTRA += $(srcdir)/config/loongarch/loongarch-def.h \
+		   $(srcdir)/config/loongarch/loongarch-tune.h
+
 # Canonical target triplet from config.gcc
 LA_MULTIARCH_TRIPLET = $(patsubst LA_MULTIARCH_TRIPLET=%,%,$\
 $(filter LA_MULTIARCH_TRIPLET=%,$(tm_defines)))
-- 
2.20.1


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

* Re: [PATCH] Loongarch: Fix plugin header missing install.
  2023-08-16  1:48 [PATCH] Loongarch: Fix plugin header missing install Guo Jie
@ 2023-08-17 14:41 ` chenglulu
  2023-08-19  3:58   ` Chenghua Xu
  0 siblings, 1 reply; 4+ messages in thread
From: chenglulu @ 2023-08-17 14:41 UTC (permalink / raw)
  To: Guo Jie, gcc-patches; +Cc: xuchenghua

LGTM!

在 2023/8/16 上午9:48, Guo Jie 写道:
> gcc/ChangeLog:
>
> 	* config/loongarch/t-loongarch: Add loongarch-driver.h into
> 	TM_H. Add loongarch-def.h and loongarch-tune.h into
> 	OPTIONS_H_EXTRA.
>
> Co-authored-by: Lulu Cheng <chenglulu@loongson.cn>
> ---
>   gcc/config/loongarch/t-loongarch | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch
> index 6d6e3435d59..e73f4f437ef 100644
> --- a/gcc/config/loongarch/t-loongarch
> +++ b/gcc/config/loongarch/t-loongarch
> @@ -16,6 +16,10 @@
>   # along with GCC; see the file COPYING3.  If not see
>   # <http://www.gnu.org/licenses/>.
>   
> +TM_H += $(srcdir)/config/loongarch/loongarch-driver.h
> +OPTIONS_H_EXTRA += $(srcdir)/config/loongarch/loongarch-def.h \
> +		   $(srcdir)/config/loongarch/loongarch-tune.h
> +
>   # Canonical target triplet from config.gcc
>   LA_MULTIARCH_TRIPLET = $(patsubst LA_MULTIARCH_TRIPLET=%,%,$\
>   $(filter LA_MULTIARCH_TRIPLET=%,$(tm_defines)))


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

* Re: [PATCH] Loongarch: Fix plugin header missing install.
  2023-08-17 14:41 ` chenglulu
@ 2023-08-19  3:58   ` Chenghua Xu
  2023-08-19 14:49     ` Huacai Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Chenghua Xu @ 2023-08-19  3:58 UTC (permalink / raw)
  To: chenglulu; +Cc: Guo Jie, gcc-patches

Pushed as r14-3331.

Thanks.
chenglulu writes:

> LGTM!
>
> 在 2023/8/16 上午9:48, Guo Jie 写道:
>> gcc/ChangeLog:
>>
>> 	* config/loongarch/t-loongarch: Add loongarch-driver.h into
>> 	TM_H. Add loongarch-def.h and loongarch-tune.h into
>> 	OPTIONS_H_EXTRA.
>>
>> Co-authored-by: Lulu Cheng <chenglulu@loongson.cn>
>> ---
>>   gcc/config/loongarch/t-loongarch | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch
>> index 6d6e3435d59..e73f4f437ef 100644
>> --- a/gcc/config/loongarch/t-loongarch
>> +++ b/gcc/config/loongarch/t-loongarch
>> @@ -16,6 +16,10 @@
>>   # along with GCC; see the file COPYING3.  If not see
>>   # <http://www.gnu.org/licenses/>.
>>   +TM_H += $(srcdir)/config/loongarch/loongarch-driver.h
>> +OPTIONS_H_EXTRA += $(srcdir)/config/loongarch/loongarch-def.h \
>> +		   $(srcdir)/config/loongarch/loongarch-tune.h
>> +
>>   # Canonical target triplet from config.gcc
>>   LA_MULTIARCH_TRIPLET = $(patsubst LA_MULTIARCH_TRIPLET=%,%,$\
>>   $(filter LA_MULTIARCH_TRIPLET=%,$(tm_defines)))


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

* Re: [PATCH] Loongarch: Fix plugin header missing install.
  2023-08-19  3:58   ` Chenghua Xu
@ 2023-08-19 14:49     ` Huacai Chen
  0 siblings, 0 replies; 4+ messages in thread
From: Huacai Chen @ 2023-08-19 14:49 UTC (permalink / raw)
  To: Chenghua Xu; +Cc: chenglulu, Guo Jie, gcc-patches

Thank you very much, I think this should also be backported to Gcc12/13.

Huacai

On Sat, Aug 19, 2023 at 11:59 AM Chenghua Xu <xuchenghua@loongson.cn> wrote:
>
> Pushed as r14-3331.
>
> Thanks.
> chenglulu writes:
>
> > LGTM!
> >
> > 在 2023/8/16 上午9:48, Guo Jie 写道:
> >> gcc/ChangeLog:
> >>
> >>      * config/loongarch/t-loongarch: Add loongarch-driver.h into
> >>      TM_H. Add loongarch-def.h and loongarch-tune.h into
> >>      OPTIONS_H_EXTRA.
> >>
> >> Co-authored-by: Lulu Cheng <chenglulu@loongson.cn>
> >> ---
> >>   gcc/config/loongarch/t-loongarch | 4 ++++
> >>   1 file changed, 4 insertions(+)
> >>
> >> diff --git a/gcc/config/loongarch/t-loongarch b/gcc/config/loongarch/t-loongarch
> >> index 6d6e3435d59..e73f4f437ef 100644
> >> --- a/gcc/config/loongarch/t-loongarch
> >> +++ b/gcc/config/loongarch/t-loongarch
> >> @@ -16,6 +16,10 @@
> >>   # along with GCC; see the file COPYING3.  If not see
> >>   # <http://www.gnu.org/licenses/>.
> >>   +TM_H += $(srcdir)/config/loongarch/loongarch-driver.h
> >> +OPTIONS_H_EXTRA += $(srcdir)/config/loongarch/loongarch-def.h \
> >> +               $(srcdir)/config/loongarch/loongarch-tune.h
> >> +
> >>   # Canonical target triplet from config.gcc
> >>   LA_MULTIARCH_TRIPLET = $(patsubst LA_MULTIARCH_TRIPLET=%,%,$\
> >>   $(filter LA_MULTIARCH_TRIPLET=%,$(tm_defines)))
>

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

end of thread, other threads:[~2023-08-19 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16  1:48 [PATCH] Loongarch: Fix plugin header missing install Guo Jie
2023-08-17 14:41 ` chenglulu
2023-08-19  3:58   ` Chenghua Xu
2023-08-19 14:49     ` Huacai Chen

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