From bdc5bb875304acd24debc3531550a0c6d29feece Mon Sep 17 00:00:00 2001 From: David Cortes Date: Wed, 22 Jan 2025 16:21:46 +0100 Subject: [PATCH] try another way --- .ci/pipeline/docs.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.ci/pipeline/docs.yml b/.ci/pipeline/docs.yml index ba63ce288a..b75dfe0f7d 100644 --- a/.ci/pipeline/docs.yml +++ b/.ci/pipeline/docs.yml @@ -70,9 +70,10 @@ jobs: export PYTHONPATH=$(pwd) displayName: 'Build daal4py/sklearnex' - script: | - if [[ -z "${PYTHONPATH}" ]]; then - export PYTHONPATH=$(pwd) - fi + export DALROOT=$(dirname $(dirname $(which python))) + export NO_DIST=1 + python setup.py build_ext --inplace --abs-rpath + export PYTHONPATH=$(pwd) cd doc/daal4py make html 2>&1 | tee build.log cat build.log @@ -83,9 +84,10 @@ jobs: fi displayName: 'Build daal4py documentation' - script: | - if [[ -z "${PYTHONPATH}" ]]; then - export PYTHONPATH=$(pwd) - fi + export DALROOT=$(dirname $(dirname $(which python))) + export NO_DIST=1 + python setup.py build --abs-rpath + export PYTHONPATH=$(pwd) export O="-W" cd doc ./build-doc.sh