Fix bom tool autodep issue for openvino

Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
This commit is contained in:
Zheng, Qi 2021-09-28 15:23:25 +08:00 committed by Zongmin.Gu
parent 16384b8b0e
commit 935760f893
2 changed files with 8 additions and 9 deletions

@ -427,7 +427,7 @@ jobs:
run: docker exec openvino_test bash -c "source /opt/intel/sgxsdk/environment; cd /root/occlum; OCCLUM_RELEASE_BUILD=y make install"
- name: Run openVINO benchmark
run: docker exec openvino_test bash -c "cd /root/demos/openvino && SGX_MODE=SIM ./run_benchmark_on_occlum.sh"
run: docker exec openvino_test bash -c "cd /root/demos/openvino && cp -rf /root/occlum/demos/openvino/* . && SGX_MODE=SIM ./run_benchmark_on_occlum.sh"
# Python test also needs its own image because in Alpine environment, modules are built locally and consumes a lot of time.

@ -7,13 +7,12 @@ targets:
copy:
- files:
- ../openvino_src/bin/intel64/Release/benchmark_app
# copy plugins.xml
- target: /lib
copy:
- files:
- ../openvino_src/bin/intel64/Release/lib/plugins.xml
# copy models
# copy models and libs
- target: /
copy:
- files:
- ../model
- dirs:
- ../model
- target: /root/demos/openvino/openvino_src/bin/intel64/Release/
copy:
- dirs:
- ../openvino_src/bin/intel64/Release/lib