Skip to content

Commit

Permalink
debug: source bashrc in python build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
laiwenzh committed Feb 6, 2025
1 parent 271bd4b commit 1f0048d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/release/python_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ echo " going to build python wheels with version: ${BUILD_VERSION}"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
REPO_ROOT=$( dirname -- "$( dirname -- "${SCRIPT_DIR}" )" )

source activate ds_py
# source activate ds_py
source /root/.bashrc
pushd $SCRIPT_DIR

# 捕获arch命令的输出
Expand Down
3 changes: 2 additions & 1 deletion scripts/release/python_manylinux_build_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ echo " going to build python wheels with version: ${BUILD_VERSION}"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
REPO_ROOT=$( dirname -- "$( dirname -- "${SCRIPT_DIR}" )" )

source activate ds_py
# source activate ds_py
source /root/.bashrc
pushd $SCRIPT_DIR

# 捕获arch命令的输出
Expand Down

0 comments on commit 1f0048d

Please sign in to comment.