Skip to content

Commit

Permalink
add --user to setup.py cmd for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
lsy323 committed Oct 3, 2023
1 parent 4d6fa87 commit f54d68b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ apply_patches
python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"

export USE_CUDA=0
python setup.py install
python setup.py install --user

sccache --show-stats

Expand Down
2 changes: 1 addition & 1 deletion .circleci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function install_deps_pytorch_xla() {
function build_torch_xla() {
XLA_DIR=$1
pushd "$XLA_DIR"
python setup.py install
python setup.py install --user
popd
}

Expand Down

0 comments on commit f54d68b

Please sign in to comment.