]> gcc.gnu.org Git - gcc.git/commitdiff
configure, jit: Allow for 'make check-gcc-jit'.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 7 Aug 2021 13:45:56 +0000 (14:45 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 17 Sep 2021 13:22:50 +0000 (14:22 +0100)
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.

Makefile.def
Makefile.in

index 90316364d01121fcda545a327985ac79020c7de7..1bed8c1bff4e47a0f2c8e70134448a78ba8d43ef 100644 (file)
@@ -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 ; };
index 81b26c7177eed013aceb7f7eed0d96515bc21cb1..dd63afc430eaf451b018732efbf041c76693a66f 100644 (file)
@@ -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.
This page took 0.086081 seconds and 5 git commands to generate.