We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af75b0 commit 5ceac43Copy full SHA for 5ceac43
tools/ci_build/github/azure-pipelines/templates/mac-cpu-packing-jobs.yml
@@ -47,6 +47,17 @@ jobs:
47
export CMAKE_ARGS="-DONNX_GEN_PB_TYPE_STUBS=ON -DONNX_WERROR=OFF"
48
python3 -m pip install -r '$(Build.SourcesDirectory)/tools/ci_build/github/linux/docker/scripts/requirements.txt'
49
50
+ - script: |
51
+ set -e -x
52
+ if ! /usr/libexec/java_home -v 17 >/dev/null 2>&1; then
53
+ brew install --cask temurin@17
54
+ fi
55
+ JAVA_HOME=$(/usr/libexec/java_home -v 17)
56
+ echo "JAVA_HOME is set to: $JAVA_HOME"
57
+ echo "##vso[task.setvariable variable=JAVA_HOME]$JAVA_HOME"
58
+ echo "##vso[task.prependpath]$JAVA_HOME/bin"
59
+ displayName: 'Install JDK 17'
60
+
61
- template: mac-cpu-packaging-steps.yml
62
parameters:
63
MacosArch: arm64
0 commit comments