Skip to content

Commit

Permalink
Fix clean in isa/ with non-default compiler (riscv-software-src#443)
Browse files Browse the repository at this point in the history
The list of active tests in isa/ depends, via the COMPILER_SUPPORTS_*
macros, on running the RISC-V compiler, so pass the necessary options
when invoking make clean there.
  • Loading branch information
alexshpilkin authored Dec 29, 2022
1 parent 48491da commit b1e56a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ debug-check-fast:
$(MAKE) -C debug -f $(debug_src_dir)/Makefile src_dir=$(debug_src_dir) XLEN=$(XLEN) spike$(XLEN)

clean:
[ ! -d isa ] || $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) clean
[ ! -d isa ] || $(MAKE) -C isa -f $(isa_src_dir)/Makefile src_dir=$(isa_src_dir) XLEN=$(XLEN) $(RISCV_PREFIX_VAR) clean
[ ! -d benchmarks ] || $(MAKE) -C benchmarks -f $(bmarkdir)/Makefile src_dir=$(bmarkdir) clean
[ ! -d debug ] || $(MAKE) -C debug -f $(debug_src_dir)/Makefile src_dir=$(debug_src_dir) clean

Expand Down

0 comments on commit b1e56a6

Please sign in to comment.