From 2b933319211d797a81744e564358c28f13f973e9 Mon Sep 17 00:00:00 2001 From: brandon-b-miller <53796099+brandon-b-miller@users.noreply.github.com> Date: Fri, 13 Aug 2021 12:40:01 -0500 Subject: [PATCH] Avoid rebuilding cython in build.sh (#9034) Fixes an issue where `python setup.py install` is called after `build_ext` already finishes running causing all the cython files to be recompiled one by one. Authors: - https://github.com/brandon-b-miller Approvers: - Dillon Cullinan (https://github.com/dillon-cullinan) URL: https://github.com/rapidsai/cudf/pull/9034 --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 70b93427d5c..61512343959 100755 --- a/build.sh +++ b/build.sh @@ -172,8 +172,7 @@ if buildAll || hasArg cudf; then cd ${REPODIR}/python/cudf if [[ ${INSTALL_TARGET} != "" ]]; then - PARALLEL_LEVEL=${PARALLEL_LEVEL} python setup.py build_ext --inplace -j${PARALLEL_LEVEL} - python setup.py install --single-version-externally-managed --record=record.txt + PARALLEL_LEVEL=${PARALLEL_LEVEL} python setup.py build_ext -j${PARALLEL_LEVEL} install --single-version-externally-managed --record=record.txt else PARALLEL_LEVEL=${PARALLEL_LEVEL} python setup.py build_ext --inplace -j${PARALLEL_LEVEL} --library-dir=${LIBCUDF_BUILD_DIR} fi