Skip to content

Commit

Permalink
try out doc CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes-intel committed Jan 22, 2025
1 parent 5ba6763 commit 7b36e08
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .ci/pipeline/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ jobs:
- script: |
export DALROOT=$(dirname $(dirname $(which python)))
export NO_DIST=1
# python setup.py build_ext --inplace --abs-rpath
# python setup.py build --abs-rpath
./conda-recipe/build.sh
cp ${DALROOT}/lib/python3.11/site-packages/daal4py/_daal4py.cpython*.so daal4py/
python setup.py build_ext --inplace --abs-rpath
python setup.py build --abs-rpath
export PYTHONPATH=$(pwd)
displayName: 'Build daal4py/sklearnex'
- script: |
export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH
if [[ -z "${PYTHONPATH}" ]]; then
export PYTHONPATH=$(pwd)
fi
cd doc/daal4py
make html 2>&1 | tee build.log
cat build.log
Expand All @@ -82,9 +83,11 @@ jobs:
fi
displayName: 'Build daal4py documentation'
- script: |
export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH
if [[ -z "${PYTHONPATH}" ]]; then
export PYTHONPATH=$(pwd)
fi
export O="-W"
cd doc
python -c "import daal4py; print('Using daal4py from:', daal4py.__file__)"
./build-doc.sh
displayName: 'Build scikit-learn-intelex documentation'
- script: |
Expand Down

0 comments on commit 7b36e08

Please sign in to comment.