public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3620] configure, jit: Allow for 'make check-gcc-jit'.
@ 2021-09-17 13:28 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2021-09-17 13:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8593d2fcbb86a5a9102bbdfd36b88e184fc53258

commit r12-3620-g8593d2fcbb86a5a9102bbdfd36b88e184fc53258
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Sat Aug 7 14:45:56 2021 +0100

    configure, jit: Allow for 'make check-gcc-jit'.
    
    This is a convenience feature that allows the user to
    do "make check-gcc-jit" at the top level of the build
    to check that facility in isolation from others.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    ChangeLog:
    
            * Makefile.def: Add a jit check target for the jit
            language.
            * Makefile.in: Regenerate.

Diff:
---
 Makefile.def | 1 +
 Makefile.in  | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/Makefile.def b/Makefile.def
index 90316364d01..1bed8c1bff4 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -656,6 +656,7 @@ languages = { language=go;	gcc-check-target=check-go;
 				lib-check-target=check-gotools; };
 languages = { language=d;	gcc-check-target=check-d;
 				lib-check-target=check-target-libphobos; };
+languages = { language=jit;	gcc-check-target=check-jit; };
 
 // Toplevel bootstrap
 bootstrap_stage = { id=1 ; };
diff --git a/Makefile.in b/Makefile.in
index 81b26c7177e..dd63afc430e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -56590,6 +56590,14 @@ check-gcc-d:
 	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
 check-d: check-gcc-d check-target-libphobos
 
+.PHONY: check-gcc-jit check-jit
+check-gcc-jit:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-jit);
+check-jit: check-gcc-jit
+
 
 # The gcc part of install-no-fixedincludes, which relies on an intimate
 # knowledge of how a number of gcc internal targets (inter)operate.  Delegate.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-17 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 13:28 [gcc r12-3620] configure, jit: Allow for 'make check-gcc-jit' Iain D Sandoe

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