update clean recipe to handle versions

This commit is contained in:
Alejandro Javier Asenjo Nitti 2024-05-14 11:46:46 -03:00
parent 89f11fc142
commit cf786a6c15

View File

@ -444,11 +444,11 @@ assets:
clean: clean:
rm -f torch.hash.yml rm -f torch.hash.yml
@git clean -fdx asm/$(VERSION) @git clean -fdx asm/$(VERSION)
@git clean -fdx bin/ @git clean -fdx bin/$(VERSION)
@git clean -fdx build/ @git clean -fdx build/$(VERSION)
@git clean -fdx src/assets/ @git clean -fdx src/assets/
@git clean -fdx include/assets/ @git clean -fdx include/assets/
@git clean -fdx linker_scripts/$(REV)/*.ld @git clean -fdx linker_scripts/$(VERSION)/$(REV)/*.ld
format: format:
@$(PYTHON) $(TOOLS)/format.py -j $(N_THREADS) @$(PYTHON) $(TOOLS)/format.py -j $(N_THREADS)