File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed
Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -509,20 +509,22 @@ functions:
509509 - command : shell.exec
510510 params :
511511 shell : bash
512+ working_dir : realm-core
512513 script : |-
513514 set -o errexit
514515 set -o verbose
515516
516- TOP_DIR=$(pwd)/realm-core
517+ TOP_DIR=$(pwd)
518+
517519 HANG_ANALYZER_PATH=$TOP_DIR/evergreen/hang_analyzer
518520 REQUIREMENTS_PATH=$HANG_ANALYZER_PATH/requirements.txt
519521
520- if [[ ! -d $TOP_DIR || ! -d $REQUIREMENTS_PATH ]]; then
522+ if [[ ! -d $TOP_DIR || ! -f $REQUIREMENTS_PATH ]]; then
521523 echo "No source directory exists. Not running hang analyzer"
522524 exit 1
523525 fi
524526
525- mkdir realm-core/ hang_analyzer_workdir; cd realm-core/ hang_analyzer_workdir
527+ mkdir hang_analyzer_workdir; cd hang_analyzer_workdir
526528 ${python3|python3} -m venv venv
527529
528530 # venv creates its Scripts/activate file with CLRF endings, which
@@ -548,16 +550,6 @@ functions:
548550
549551 echo "python set to $(which $python)"
550552
551- echo "Upgrading pip to 21.0.1"
552-
553- # ref: https://github.com/grpc/grpc/issues/25082#issuecomment-778392661
554- if [ "$(uname -m)" = "arm64" ] && [ "$(uname)" == "Darwin" ]; then
555- export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
556- export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
557- fi
558-
559- python -m pip --disable-pip-version-check install "pip==21.0.1" "wheel==0.37.0" || exit 1
560-
561553 if [ "Windows_NT" = "$OS" ]; then
562554 REQUIREMENTS_PATH=$(cygpath -w $REQUIREMENTS_PATH)
563555 fi
Original file line number Diff line number Diff line change 11pypiwin32 == 223 ; sys_platform == "win32" and python_version > "3"
22pywin32 == 301 ; sys_platform == "win32" and python_version > "3"
33distro == 1.5.0
4+ setuptools == 70.0.0
You can’t perform that action at this time.
0 commit comments