Don't silently eat errors in Python requirements install

It's questionable that dependencies get installed automatically during
the build in the first place, but since they do we should at least fail
the build with an error if installation fails.

This makes the current CI issue on macOS much clearer to diagnose.
This commit is contained in:
Thomas Hebb 2021-01-01 11:51:52 -08:00
parent 4d6dad50e6
commit 5405725866

View File

@ -187,7 +187,7 @@ all:
ifeq ("$(OS)","Windows_NT")
else
ifeq ("$(CONFIG_CHIP_NAME)", "BL602")
@cd $(BL60X_SDK_PATH)/image_conf;python3 -m pip install -r requirements.txt; python3 flash_build.py $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
@cd $(BL60X_SDK_PATH)/image_conf && python3 -m pip install -r requirements.txt && python3 flash_build.py $(PROJECT_NAME) $(CONFIG_CHIP_NAME)
endif
endif
@echo "Building Finish. To flash build output."