Install local wheel packages instead of PYPI ones (#19031)
* Try to use --no-index when install python packages * Apply suggestions from code review * Update .ci/azure/linux.yml
This commit is contained in:
@@ -261,12 +261,19 @@ jobs:
|
||||
displayName: 'Remove debian dependencies'
|
||||
condition: eq(variables['CMAKE_CPACK_GENERATOR'], 'DEB')
|
||||
continueOnError: false
|
||||
|
||||
- script: cmake -DCOMPONENT=python_wheels -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -P $(BUILD_DIR)/cmake_install.cmake
|
||||
displayName: 'Install wheel packages'
|
||||
|
||||
- script: cmake -DCOMPONENT=tests -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -P $(BUILD_LAYER_TESTS_DIR)/cmake_install.cmake
|
||||
displayName: 'Install Layer Tests'
|
||||
- script: python3 -m pip install openvino-dev --find-links=$(INSTALL_DIR)/tools
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
python3 -m pip install $(INSTALL_DIR)/tools/openvino-*
|
||||
python3 -m pip install $(INSTALL_DIR)/tools/openvino_dev-*
|
||||
displayName: 'Install python wheels'
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -DCOMPONENT=tests -P $(BUILD_DIR)/cmake_install.cmake
|
||||
|
||||
Reference in New Issue
Block a user