Skip to content

Commit cde503f

Browse files
committed
picolibc: Pass -Dtest-machine={qemu,nsim} to test builds
Picolibc may use different simulators for testing and QEMU is default. The latest Picolibc for ARC-V contains support of nSIM. Signed-off-by: Yuriy Kolerov <[email protected]>
1 parent 89ec940 commit cde503f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ stamps/configure-picolibc-perf-test: stamps/build-gcc-picolibc-stage2 $(PICOLIBC
11541154
-Dlibdir=$(INSTALL_DIR)/$(NEWLIB_TUPLE)/lib \
11551155
-Dspecsdir=$(INSTALL_DIR)/$(NEWLIB_TUPLE)/lib \
11561156
-Dtests=true \
1157+
-Dtest-machine=$(SIM) \
11571158
$(PICOLIBC_PERF_CONFIGURE_OPTIONS)
11581159
cd build-picolibc-perf-test && echo "$$PICOLIBC_OBSOLETE_MATH_BLOCK" >> picolibc.h
11591160
mkdir -p $(dir $@) && touch $@
@@ -1180,6 +1181,7 @@ stamps/configure-picolibc-nano-test: stamps/build-gcc-picolibc-stage2 $(PICOLIBC
11801181
-Dlibdir=$(INSTALL_DIR)/picolibc-nano/$(NEWLIB_TUPLE)/lib \
11811182
-Dspecsdir=none \
11821183
-Dtests=true \
1184+
-Dtest-machine=$(SIM) \
11831185
$(PICOLIBC_NANO_CONFIGURE_OPTIONS)
11841186
cd build-picolibc-nano-test && echo "$$PICOLIBC_OBSOLETE_MATH_BLOCK" >> picolibc.h
11851187
mkdir -p $(dir $@) && touch $@

0 commit comments

Comments
 (0)