Temporary patch rpath for macos in release CI
@@ -39,6 +39,10 @@ jobs:
- script: |
pip install scikit-learn-intelex pandas pytest
displayName: 'Install scikit-learn-intelex'
+ - script: |
+ install_name_tool -add_rpath "@loader_path/../../../" /Users/runner/hostedtoolcache/Python/3.*/x64/lib/python3.*/site-packages/onedal/_onedal_py_host*
+ condition: eq( variables['Agent.OS'], 'Darwin')
+ displayName: 'Patch rpath (temporary)'
- script: |
cd ..
python -c "import sklearnex"
