Skip to content

Commit

Permalink
[ci] Fixes native ci build failure (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu authored Jan 8, 2024
1 parent 72242be commit 77c9a29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/native_jni_s3_pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,14 @@ jobs:
run: |
yum -y update
yum -y groupinstall "Development Tools"
yum -y install patch git cmake3 python3-devel java-17-amazon-corretto
yum -y install patch git cmake3 python3-devel java-17-amazon-corretto-devel
ln -sf /usr/bin/cmake3 /usr/bin/cmake
pip3 install awscli --upgrade
- uses: actions/checkout@v3
- name: Release JNI prep
run: |
export JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto.aarch64
export PATH=$PATH:$JAVA_HOME
export PATH=$PATH:$JAVA_HOME/bin
PYTORCH_VERSION=${{ github.event.inputs.pt_version }}
export PYTORCH_VERSION=${PYTORCH_VERSION:-$(cat gradle.properties | awk -F '=' '/pytorch_version/ {print $2}')}
echo $PYTORCH_VERSION
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native_s3_tflite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: |
yum -y update
yum -y groupinstall "Development Tools"
yum -y install patch cmake3 unzip which java-17-amazon-corretto
yum -y install patch cmake3 unzip which java-17-amazon-corretto-devel
ln -sf /usr/bin/cmake3 /usr/bin/cmake
pip3 install awscli --upgrade
pip3 install numpy --upgrade
Expand Down

0 comments on commit 77c9a29

Please sign in to comment.