From 8593d2fcbb86a5a9102bbdfd36b88e184fc53258 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 7 Aug 2021 14:45:56 +0100 Subject: [PATCH] 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 ChangeLog: * Makefile.def: Add a jit check target for the jit language. * Makefile.in: Regenerate. --- 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.