|
40 | 40 | matrix:
|
41 | 41 | config: [
|
42 | 42 | { toolset: clang, build: Release },
|
43 |
| - { toolset: gcc, build: Release } |
44 | 43 | ]
|
45 | 44 |
|
46 | 45 | name: MacOS, ${{ matrix.config.toolset }}, ${{ matrix.config.build }}
|
@@ -113,109 +112,3 @@ jobs:
|
113 | 112 | env:
|
114 | 113 | CMAKE_BUILD_TYPE: ${{ matrix.config.build }}
|
115 | 114 | DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
|
116 |
| - |
117 |
| - # We only run the linux aarch64 runners if macos smoke tests pass. |
118 |
| - linux: |
119 |
| - needs: macos |
120 |
| - strategy: |
121 |
| - matrix: |
122 |
| - threading: [OMP] |
123 |
| - toolset: [clang, gcc] |
124 |
| - config: [Debug, Release] |
125 |
| - host: [ |
126 |
| - { name: c6g, label: ah-ubuntu_22_04-c6g_2x-50 }, |
127 |
| - { name: c7g, label: ah-ubuntu_22_04-c7g_2x-50 } |
128 |
| - ] |
129 |
| - |
130 |
| - name: ${{ matrix.host.name }}, ${{ matrix.toolset }}, ${{ matrix.threading }}, ${{ matrix.config }} |
131 |
| - runs-on: ${{ matrix.host.label }} |
132 |
| - steps: |
133 |
| - - name: Checkout oneDNN |
134 |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
135 |
| - with: |
136 |
| - path: oneDNN |
137 |
| - |
138 |
| - - name: Install dev tools |
139 |
| - run: | |
140 |
| - sudo apt update -y |
141 |
| - sudo apt install -y scons cmake make |
142 |
| -
|
143 |
| - - if: matrix.threading == 'OMP' |
144 |
| - name: Install openmp |
145 |
| - run: | |
146 |
| - sudo apt install -y libomp-dev |
147 |
| -
|
148 |
| - - if: matrix.toolset == 'gcc' |
149 |
| - name: Install gcc |
150 |
| - run: | |
151 |
| - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y |
152 |
| - sudo apt update -y |
153 |
| - sudo apt install -y g++-13 |
154 |
| -
|
155 |
| - - if: matrix.toolset == 'clang' |
156 |
| - name: Install clang |
157 |
| - uses: KyleMayes/install-llvm-action@e0a8dc9cb8a22e8a7696e8a91a4e9581bec13181 |
158 |
| - with: |
159 |
| - version: "17" |
160 |
| - |
161 |
| - - name: Clone ACL |
162 |
| - run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh |
163 |
| - env: |
164 |
| - ACL_ACTION: clone |
165 |
| - ACL_CONFIG: ${{ matrix.config }} |
166 |
| - ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary |
167 |
| - BUILD_TOOLSET: ${{ matrix.toolset }} |
168 |
| - GCC_VERSION: 13 |
169 |
| - |
170 |
| - - name: Get ACL commit hash for cache key |
171 |
| - id: get_acl_commit_hash |
172 |
| - run: (cd ${{ github.workspace }}/ComputeLibrary && echo "ACLCommitHash=$(git rev-parse --short HEAD)") >> $GITHUB_OUTPUT |
173 |
| - |
174 |
| - - name: Get system name |
175 |
| - id: get_system_name |
176 |
| - run: (echo "SystemName=$(uname)") >> $GITHUB_OUTPUT |
177 |
| - |
178 |
| - - name: Restore cached ACL |
179 |
| - id: cache-acl-restore |
180 |
| - uses: actions/cache/restore@v4 |
181 |
| - with: |
182 |
| - key: ${{ steps.get_system_name.outputs.SystemName }}-acl-${{ matrix.toolset }}-${{ matrix.config }}-${{ steps.get_acl_commit_hash.outputs.ACLCommitHash }} |
183 |
| - path: ${{ github.workspace }}/ComputeLibrary/build |
184 |
| - |
185 |
| - - name: Build ACL |
186 |
| - if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }} |
187 |
| - run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh |
188 |
| - env: |
189 |
| - ACL_ACTION: build |
190 |
| - ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary |
191 |
| - BUILD_TOOLSET: ${{ matrix.toolset }} |
192 |
| - ACL_CONFIG: ${{ matrix.config }} |
193 |
| - GCC_VERSION: 13 |
194 |
| - ACL_THREADING: ${{ matrix.threading }} |
195 |
| - |
196 |
| - - name: Save ACL in cache |
197 |
| - if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }} |
198 |
| - id: cache-acl_build-save |
199 |
| - uses: actions/cache/save@v4 |
200 |
| - with: |
201 |
| - key: ${{ steps.cache-acl-restore.outputs.cache-primary-key }} |
202 |
| - path: ${{ github.workspace }}/ComputeLibrary/build |
203 |
| - |
204 |
| - - name: Build oneDNN |
205 |
| - run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh |
206 |
| - working-directory: ${{ github.workspace }}/oneDNN |
207 |
| - env: |
208 |
| - ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary |
209 |
| - BUILD_TOOLSET: ${{ matrix.toolset }} |
210 |
| - CMAKE_BUILD_TYPE: ${{ matrix.config }} |
211 |
| - GCC_VERSION: 13 |
212 |
| - ONEDNN_THREADING: ${{ matrix.threading }} |
213 |
| - |
214 |
| - - name: Run oneDNN tests |
215 |
| - run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh |
216 |
| - working-directory: ${{ github.workspace }}/oneDNN/build |
217 |
| - env: |
218 |
| - BUILD_TOOLSET: ${{ matrix.toolset }} |
219 |
| - CMAKE_BUILD_TYPE: ${{ matrix.config }} |
220 |
| - DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build |
221 |
| - ONEDNN_THREADING: ${{ matrix.threading }} |
0 commit comments