onnx.yml (4487B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 task-defaults: 6 worker-type: b-linux-docker-amd 7 worker: 8 max-run-time: 1800 9 use-python: "3.11" 10 attributes: 11 local-toolchain: true 12 run: 13 script: build-onnxruntime.sh 14 fetches: 15 fetch: 16 - onnxruntime-src 17 - onnxruntime-deps 18 19 20 onnxruntime-x86_64-linux-gnu: 21 description: "ONNX Runtime (linux x64)" 22 treeherder: 23 symbol: TL(onnx) 24 run: 25 arguments: 26 - "Linux" 27 - "x64" 28 toolchain-artifact: public/build/onnxruntime-x86_64-linux-gnu.tar.zst 29 fetches: 30 toolchain: 31 - linux64-clang-toolchain 32 33 # onnxruntime-i686-linux-gnu: requires more work upstream 34 # onnxruntime-aarch64-linux-gnu: requires more work upstream 35 36 onnxruntime-x86_64-windows-msvc: 37 description: "ONNX Runtime (win64 x64)" 38 worker-type: b-win2022 39 worker: 40 max-run-time: 7200 41 treeherder: 42 symbol: TW64(onnx) 43 run: 44 arguments: 45 - "Windows" 46 toolchain-artifact: public/build/onnxruntime-x86_64-windows-msvc.tar.zst 47 fetches: 48 toolchain: 49 - win64-cmake 50 - win64-clang 51 - win64-vs2022 52 fetch: 53 - win64-ninja 54 55 56 onnxruntime-i686-windows-msvc: 57 description: "ONNX Runtime (win32 x86)" 58 worker-type: b-win2022 59 worker: 60 max-run-time: 7200 61 treeherder: 62 symbol: TW32(onnx) 63 run: 64 arguments: 65 - "Windows" 66 - "x86" 67 toolchain-artifact: public/build/onnxruntime-i686-windows-msvc.tar.zst 68 fetches: 69 toolchain: 70 - win64-cmake 71 - win64-clang 72 - win64-vs2022 73 fetch: 74 - win64-ninja 75 76 77 # onnxruntime-aarch64-windows-msvc: requires more work upstream 78 79 onnxruntime-x86_64-apple-darwin: 80 description: "ONNX Runtime (macOS x64)" 81 worker-type: b-osx-1015 82 treeherder: 83 symbol: TM(onnx) 84 run: 85 arguments: 86 - "Darwin" 87 - "x86_64" 88 toolchain-artifact: public/build/onnxruntime-x86_64-apple-darwin.tar.zst 89 fetches: 90 toolchain: 91 - macosx64-clang-toolchain 92 - macosx64-sdk-toolchain 93 fetch: 94 - macosx64-cmake 95 - macosx64-ninja 96 97 98 onnxruntime-aarch64-apple-darwin: 99 description: "ONNX Runtime (macOS aarch64)" 100 worker-type: b-osx-1015 101 treeherder: 102 symbol: TMA64(onnx) 103 run: 104 arguments: 105 - "Darwin" 106 - "arm64" 107 toolchain-artifact: public/build/onnxruntime-aarch64-apple-darwin.tar.zst 108 fetches: 109 toolchain: 110 - macosx64-clang-toolchain 111 - macosx64-sdk-toolchain 112 fetch: 113 - macosx64-cmake 114 - macosx64-ninja 115 116 117 onnxruntime-arm-linux-androideabi: 118 description: "ONNX Runtime (android arm)" 119 treeherder: 120 symbol: TL(onnx-android-arm) 121 run: 122 arguments: 123 - "Android" 124 - "armeabi-v7a" 125 toolchain-artifact: public/build/onnxruntime-arm-linux-androideabi.tar.zst 126 fetches: 127 toolchain: 128 - linux64-clang-toolchain 129 - android-ndk-linux 130 - android-sdk-linux 131 - linux64-embedded-uniffi-bindgen 132 - linux64-nimbus-fml 133 134 onnxruntime-aarch64-linux-android: 135 description: "ONNX Runtime (android aarch64)" 136 treeherder: 137 symbol: TL(onnx-android-aarch64) 138 run: 139 arguments: 140 - "Android" 141 - "arm64-v8a" 142 toolchain-artifact: public/build/onnxruntime-aarch64-linux-android.tar.zst 143 fetches: 144 toolchain: 145 - linux64-clang-toolchain 146 - android-ndk-linux 147 - android-sdk-linux 148 - linux64-embedded-uniffi-bindgen 149 - linux64-nimbus-fml 150 151 onnxruntime-x86_64-linux-android: 152 description: "ONNX Runtime (android x64)" 153 treeherder: 154 symbol: TL(onnx-android-x64) 155 run: 156 arguments: 157 - "Android" 158 - "x86_64" 159 toolchain-artifact: public/build/onnxruntime-x86_64-linux-android.tar.zst 160 fetches: 161 toolchain: 162 - linux64-clang-toolchain 163 - android-ndk-linux 164 - android-sdk-linux 165 - linux64-embedded-uniffi-bindgen 166 - linux64-nimbus-fml