aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-08-07 14:45:56 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-09-17 14:22:50 +0100
commit8593d2fcbb86a5a9102bbdfd36b88e184fc53258 (patch)
tree084854bc618f626f09da7a247813d160d80427e9
parent4703182a06b831a9f47a5f8198e86042cadd938d (diff)
downloadgcc-8593d2fcbb86a5a9102bbdfd36b88e184fc53258.zip
gcc-8593d2fcbb86a5a9102bbdfd36b88e184fc53258.tar.gz
gcc-8593d2fcbb86a5a9102bbdfd36b88e184fc53258.tar.bz2
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.
-rw-r--r--Makefile.def1
-rw-r--r--Makefile.in8
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 9031636..1bed8c1 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 81b26c7..dd63afc 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.