mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-04 14:00:01 +00:00
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:
parent
4d6dad50e6
commit
5405725866
@ -187,7 +187,7 @@ all:
|
|||||||
ifeq ("$(OS)","Windows_NT")
|
ifeq ("$(OS)","Windows_NT")
|
||||||
else
|
else
|
||||||
ifeq ("$(CONFIG_CHIP_NAME)", "BL602")
|
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
|
||||||
endif
|
endif
|
||||||
@echo "Building Finish. To flash build output."
|
@echo "Building Finish. To flash build output."
|
||||||
|
Loading…
Reference in New Issue
Block a user