Skip to content

Commit

Permalink
Fix local channel path in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Jan 27, 2022
1 parent 9aad350 commit 783f034
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ conda config --set ssl_verify False
if [ "$BUILD_LIBCUML" == '1' ]; then
echo "BUILD_LIBCUML=1: Setting BUILD_CUML to 1..."
BUILD_CUML=1
# If we are doing CUDA + Python builds, libcuml package is located at ${CONDA_BLD_DIR}
CONDA_LOCAL_CHANNEL="${CONDA_BLD_DIR}"
else
# If we are doing Python builds only, libcuml package is placed here by Project Flash
CONDA_LOCAL_CHANNEL="ci/artifacts/cuml/cpu/.conda-bld/"
fi

################################################################################
Expand All @@ -96,7 +101,7 @@ if [ "$BUILD_CUML" == '1' ]; then
gpuci_conda_retry build --croot ${CONDA_BLD_DIR} conda/recipes/cuml --python=${PYTHON}
else
gpuci_logger "PROJECT FLASH: Build conda pkg for cuml"
gpuci_conda_retry build --no-build-id --croot ${CONDA_BLD_DIR} conda/recipes/cuml -c $CONDA_BLD_DIR --dirty --no-remove-work-dir --python=${PYTHON}
gpuci_conda_retry build --no-build-id --croot ${CONDA_BLD_DIR} conda/recipes/cuml -c ${CONDA_LOCAL_CHANNEL} --dirty --no-remove-work-dir --python=${PYTHON}
mkdir -p ${CONDA_BLD_DIR}/cuml
mv ${CONDA_BLD_DIR}/work/ ${CONDA_BLD_DIR}/cuml/work
fi
Expand All @@ -108,4 +113,3 @@ fi

gpuci_logger "Upload conda pkgs"
source ci/cpu/upload.sh

0 comments on commit 783f034

Please sign in to comment.