Browse Source

Add stage2 and other dependencies for check-glibc-linux

Some glibc tests like tst-unwind-{main,ctor} depends on stage2 artifacts
(in particular, GCC runtime libs) to be properly installed. Add stage2
dependencies to avoid these tests from spuriously failing.

The test suite also uses the simulator and Deja GNU, both of which were
not declared as dependencies, so add them as well.

Closes: https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1379
pull/1387/head
Tatsuyuki Ishi 2 years ago
committed by Christoph Müllner
parent
commit
fcc49c7f4a
  1. 3
      Makefile.in

3
Makefile.in

@ -1000,7 +1000,8 @@ stamps/check-gcc-linux: stamps/build-gcc-linux-stage2 $(SIM_STAMP) stamps/build-
mkdir -p $(dir $@)
date > $@
stamps/check-glibc-linux-%: $(addprefix stamps/build-glibc-linux-,$(GLIBC_MULTILIB_NAMES))
stamps/check-glibc-linux-%: stamps/build-gcc-linux-stage2 $(SIM_STAMP) stamps/build-dejagnu \
$(addprefix stamps/build-glibc-linux-,$(GLIBC_MULTILIB_NAMES))
$(eval $@_BUILD_DIR := $(notdir $@))
$(eval $@_BUILD_DIR := $(subst check-,build-,$($@_BUILD_DIR)))
$(SIM_PREPARE) $(MAKE) -C $($@_BUILD_DIR) check

Loading…
Cancel
Save