From 0d2d97db56bae05502ccc786ca3feaf1fcdef0a1 Mon Sep 17 00:00:00 2001 From: Charles Hastings Date: Thu, 30 May 2024 13:05:56 -0700 Subject: [PATCH] Commit d7c88d1a67 changed the location of the build directory for python code, but the build.sh script was cleaning up the old location --- build.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/build.sh b/build.sh index bd716943216..3df4aa6b322 100755 --- a/build.sh +++ b/build.sh @@ -87,19 +87,13 @@ HELP="$0 [ ...] [ ...] " LIBCUGRAPH_BUILD_DIR=${LIBCUGRAPH_BUILD_DIR:=${REPODIR}/cpp/build} LIBCUGRAPH_ETL_BUILD_DIR=${LIBCUGRAPH_ETL_BUILD_DIR:=${REPODIR}/cpp/libcugraph_etl/build} -PYLIBCUGRAPH_BUILD_DIR=${REPODIR}/python/pylibcugraph/_skbuild -CUGRAPH_BUILD_DIR=${REPODIR}/python/cugraph/_skbuild CUGRAPH_SERVICE_BUILD_DIRS="${REPODIR}/python/cugraph-service/server/build ${REPODIR}/python/cugraph-service/client/build " CUGRAPH_DGL_BUILD_DIR=${REPODIR}/python/cugraph-dgl/build -# All python build dirs using _skbuild are handled by cleanPythonDir, but -# adding them here for completeness BUILD_DIRS="${LIBCUGRAPH_BUILD_DIR} ${LIBCUGRAPH_ETL_BUILD_DIR} - ${PYLIBCUGRAPH_BUILD_DIR} - ${CUGRAPH_BUILD_DIR} ${CUGRAPH_SERVICE_BUILD_DIRS} ${CUGRAPH_DGL_BUILD_DIR} " @@ -136,7 +130,7 @@ function cleanPythonDir { pushd $1 > /dev/null rm -rf dist dask-worker-space cugraph/raft *.egg-info find . -type d -name __pycache__ -print | xargs rm -rf - find . -type d -name _skbuild -print | xargs rm -rf + find . -type d -name build -print | xargs rm -rf find . -type d -name dist -print | xargs rm -rf find . -type f -name "*.cpp" -delete find . -type f -name "*.cpython*.so" -delete