qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-8.2] configure: fix and complete detection of tricore tools
@ 2023-08-09  8:29 Paolo Bonzini
  2023-08-09 13:48 ` Bastian Koppelmann
  2023-08-10 11:57 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 4+ messages in thread
From: Paolo Bonzini @ 2023-08-09  8:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: kbastian, alex.bennee

The tricore tools are not detected when they are installed in
the host system, only if they are taken from an external
container.  For this reason the build-tricore-softmmu job
was not running the TCG tests.

In addition the container provides all tools, not just as/ld/gcc,
so there is no need to special case tricore.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure b/configure
index 133f4e32351..f2bd8858d6c 100755
--- a/configure
+++ b/configure
@@ -1271,6 +1271,7 @@ fi
 : ${cross_prefix_sh4="sh4-linux-gnu-"}
 : ${cross_prefix_sparc64="sparc64-linux-gnu-"}
 : ${cross_prefix_sparc="$cross_prefix_sparc64"}
+: ${cross_prefix_tricore="tricore-"}
 : ${cross_prefix_x86_64="x86_64-linux-gnu-"}
 
 : ${cross_cc_aarch64_be="$cross_cc_aarch64"}
@@ -1458,10 +1459,6 @@ probe_target_compiler() {
       tricore)
         container_image=debian-tricore-cross
         container_cross_prefix=tricore-
-        container_cross_as=tricore-as
-        container_cross_ld=tricore-ld
-        container_cross_cc=tricore-gcc
-        break
         ;;
       x86_64)
         container_image=debian-amd64-cross
-- 
2.41.0



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

* Re: [PATCH for-8.2] configure: fix and complete detection of tricore tools
  2023-08-09  8:29 [PATCH for-8.2] configure: fix and complete detection of tricore tools Paolo Bonzini
@ 2023-08-09 13:48 ` Bastian Koppelmann
  2023-08-09 13:52   ` Bastian Koppelmann
  2023-08-10 11:57 ` Philippe Mathieu-Daudé
  1 sibling, 1 reply; 4+ messages in thread
From: Bastian Koppelmann @ 2023-08-09 13:48 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, alex.bennee

On Wed, Aug 09, 2023 at 10:29:44AM +0200, Paolo Bonzini wrote:
> The tricore tools are not detected when they are installed in
> the host system, only if they are taken from an external
> container.  For this reason the build-tricore-softmmu job
> was not running the TCG tests.
> 
> In addition the container provides all tools, not just as/ld/gcc,
> so there is no need to special case tricore.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  configure | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

I think it would be better to skip debian-11 and use 12 instead.

Cheers,
Bastian


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

* Re: [PATCH for-8.2] configure: fix and complete detection of tricore tools
  2023-08-09 13:48 ` Bastian Koppelmann
@ 2023-08-09 13:52   ` Bastian Koppelmann
  0 siblings, 0 replies; 4+ messages in thread
From: Bastian Koppelmann @ 2023-08-09 13:52 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, alex.bennee

On Wed, Aug 09, 2023 at 03:49:01PM +0200, Bastian Koppelmann wrote:
> On Wed, Aug 09, 2023 at 10:29:44AM +0200, Paolo Bonzini wrote:
> > The tricore tools are not detected when they are installed in
> > the host system, only if they are taken from an external
> > container.  For this reason the build-tricore-softmmu job
> > was not running the TCG tests.
> > 
> > In addition the container provides all tools, not just as/ld/gcc,
> > so there is no need to special case tricore.
> > 
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> > ---
> >  configure | 5 +----
> >  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> I think it would be better to skip debian-11 and use 12 instead.

Whoops I mixed it up with the other patch. For this one you can have

Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>

Cheers,
Bastian

> 
> Cheers,
> Bastian


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

* Re: [PATCH for-8.2] configure: fix and complete detection of tricore tools
  2023-08-09  8:29 [PATCH for-8.2] configure: fix and complete detection of tricore tools Paolo Bonzini
  2023-08-09 13:48 ` Bastian Koppelmann
@ 2023-08-10 11:57 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-08-10 11:57 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel; +Cc: kbastian, alex.bennee

On 9/8/23 10:29, Paolo Bonzini wrote:
> The tricore tools are not detected when they are installed in
> the host system, only if they are taken from an external
> container.  For this reason the build-tricore-softmmu job
> was not running the TCG tests.
> 
> In addition the container provides all tools, not just as/ld/gcc,
> so there is no need to special case tricore.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   configure | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



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

end of thread, other threads:[~2023-08-10 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09  8:29 [PATCH for-8.2] configure: fix and complete detection of tricore tools Paolo Bonzini
2023-08-09 13:48 ` Bastian Koppelmann
2023-08-09 13:52   ` Bastian Koppelmann
2023-08-10 11:57 ` Philippe Mathieu-Daudé

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 NNTP newsgroup(s).