Skip to content

Commit 41fdda2

Browse files
committed
remove graviton gha
1 parent 99fa845 commit 41fdda2

File tree

1 file changed

+105
-103
lines changed

1 file changed

+105
-103
lines changed

.github/workflows/ci-aarch64.yml

+105-103
Original file line numberDiff line numberDiff line change
@@ -112,109 +112,111 @@ jobs:
112112
env:
113113
CMAKE_BUILD_TYPE: ${{ matrix.config.build }}
114114
DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
115-
116-
# We only run the linux aarch64 runners if macos smoke tests pass.
117-
linux:
118-
needs: macos
119-
strategy:
120-
matrix:
121-
threading: [OMP]
122-
toolset: [gcc]
123-
config: [Release]
124-
host: [
125-
{ name: c6g, label: ah-ubuntu_22_04-c6g_2x-50 },
126-
{ name: c7g, label: ah-ubuntu_22_04-c7g_2x-50 }
127-
]
128115

129-
name: ${{ matrix.host.name }}, ${{ matrix.toolset }}, ${{ matrix.threading }}, ${{ matrix.config }}
130-
runs-on: ${{ matrix.host.label }}
131-
steps:
132-
- name: Checkout oneDNN
133-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
134-
with:
135-
path: oneDNN
136-
137-
- name: Install dev tools
138-
run: |
139-
sudo apt update -y
140-
sudo apt install -y scons cmake make
141-
142-
- if: matrix.threading == 'OMP'
143-
name: Install openmp
144-
run: |
145-
sudo apt install -y libomp-dev
146-
147-
- if: matrix.toolset == 'gcc'
148-
name: Install gcc
149-
run: |
150-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
151-
sudo apt update -y
152-
sudo apt install -y g++-13
153-
154-
- if: matrix.toolset == 'clang'
155-
name: Install clang
156-
uses: KyleMayes/install-llvm-action@e0a8dc9cb8a22e8a7696e8a91a4e9581bec13181
157-
with:
158-
version: "17"
116+
# We have no graviton in GHA OpenVINO toolkit
159117

160-
- name: Clone ACL
161-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
162-
env:
163-
ACL_ACTION: clone
164-
ACL_CONFIG: ${{ matrix.config }}
165-
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
166-
BUILD_TOOLSET: ${{ matrix.toolset }}
167-
GCC_VERSION: 13
168-
169-
- name: Get ACL commit hash for cache key
170-
id: get_acl_commit_hash
171-
run: (cd ${{ github.workspace }}/ComputeLibrary && echo "ACLCommitHash=$(git rev-parse --short HEAD)") >> $GITHUB_OUTPUT
118+
# We only run the linux aarch64 runners if macos smoke tests pass.
119+
# linux:
120+
# needs: macos
121+
# strategy:
122+
# matrix:
123+
# threading: [OMP]
124+
# toolset: [gcc]
125+
# config: [Release]
126+
# host: [
127+
# { name: c6g, label: ah-ubuntu_22_04-c6g_2x-50 },
128+
# { name: c7g, label: ah-ubuntu_22_04-c7g_2x-50 }
129+
# ]
130+
131+
# name: ${{ matrix.host.name }}, ${{ matrix.toolset }}, ${{ matrix.threading }}, ${{ matrix.config }}
132+
# runs-on: ${{ matrix.host.label }}
133+
# steps:
134+
# - name: Checkout oneDNN
135+
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136+
# with:
137+
# path: oneDNN
138+
139+
# - name: Install dev tools
140+
# run: |
141+
# sudo apt update -y
142+
# sudo apt install -y scons cmake make
143+
144+
# - if: matrix.threading == 'OMP'
145+
# name: Install openmp
146+
# run: |
147+
# sudo apt install -y libomp-dev
148+
149+
# - if: matrix.toolset == 'gcc'
150+
# name: Install gcc
151+
# run: |
152+
# sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
153+
# sudo apt update -y
154+
# sudo apt install -y g++-13
155+
156+
# - if: matrix.toolset == 'clang'
157+
# name: Install clang
158+
# uses: KyleMayes/install-llvm-action@e0a8dc9cb8a22e8a7696e8a91a4e9581bec13181
159+
# with:
160+
# version: "17"
161+
162+
# - name: Clone ACL
163+
# run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
164+
# env:
165+
# ACL_ACTION: clone
166+
# ACL_CONFIG: ${{ matrix.config }}
167+
# ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
168+
# BUILD_TOOLSET: ${{ matrix.toolset }}
169+
# GCC_VERSION: 13
170+
171+
# - name: Get ACL commit hash for cache key
172+
# id: get_acl_commit_hash
173+
# run: (cd ${{ github.workspace }}/ComputeLibrary && echo "ACLCommitHash=$(git rev-parse --short HEAD)") >> $GITHUB_OUTPUT
172174

173-
- name: Get system name
174-
id: get_system_name
175-
run: (echo "SystemName=$(uname)") >> $GITHUB_OUTPUT
176-
177-
- name: Restore cached ACL
178-
id: cache-acl-restore
179-
uses: actions/cache/restore@v4
180-
with:
181-
key: ${{ steps.get_system_name.outputs.SystemName }}-acl-${{ matrix.toolset }}-${{ matrix.config }}-${{ steps.get_acl_commit_hash.outputs.ACLCommitHash }}
182-
path: ${{ github.workspace }}/ComputeLibrary/build
183-
184-
- name: Build ACL
185-
if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }}
186-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
187-
env:
188-
ACL_ACTION: build
189-
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
190-
BUILD_TOOLSET: ${{ matrix.toolset }}
191-
ACL_CONFIG: ${{ matrix.config }}
192-
GCC_VERSION: 13
193-
ACL_THREADING: ${{ matrix.threading }}
194-
195-
- name: Save ACL in cache
196-
if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }}
197-
id: cache-acl_build-save
198-
uses: actions/cache/save@v4
199-
with:
200-
key: ${{ steps.cache-acl-restore.outputs.cache-primary-key }}
201-
path: ${{ github.workspace }}/ComputeLibrary/build
202-
203-
- name: Build oneDNN
204-
run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
205-
working-directory: ${{ github.workspace }}/oneDNN
206-
env:
207-
ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
208-
BUILD_TOOLSET: ${{ matrix.toolset }}
209-
CMAKE_BUILD_TYPE: ${{ matrix.config }}
210-
GCC_VERSION: 13
211-
ONEDNN_THREADING: ${{ matrix.threading }}
212-
213-
- name: Run oneDNN tests
214-
run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
215-
working-directory: ${{ github.workspace }}/oneDNN/build
216-
env:
217-
BUILD_TOOLSET: ${{ matrix.toolset }}
218-
CMAKE_BUILD_TYPE: ${{ matrix.config }}
219-
DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
220-
ONEDNN_THREADING: ${{ matrix.threading }}
175+
# - name: Get system name
176+
# id: get_system_name
177+
# run: (echo "SystemName=$(uname)") >> $GITHUB_OUTPUT
178+
179+
# - name: Restore cached ACL
180+
# id: cache-acl-restore
181+
# uses: actions/cache/restore@v4
182+
# with:
183+
# key: ${{ steps.get_system_name.outputs.SystemName }}-acl-${{ matrix.toolset }}-${{ matrix.config }}-${{ steps.get_acl_commit_hash.outputs.ACLCommitHash }}
184+
# path: ${{ github.workspace }}/ComputeLibrary/build
185+
186+
# - name: Build ACL
187+
# if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }}
188+
# run: ${{ github.workspace }}/oneDNN/.github/automation/build_acl.sh
189+
# env:
190+
# ACL_ACTION: build
191+
# ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
192+
# BUILD_TOOLSET: ${{ matrix.toolset }}
193+
# ACL_CONFIG: ${{ matrix.config }}
194+
# GCC_VERSION: 13
195+
# ACL_THREADING: ${{ matrix.threading }}
196+
197+
# - name: Save ACL in cache
198+
# if: ${{ steps.cache-acl-restore.outputs.cache-hit != 'true' }}
199+
# id: cache-acl_build-save
200+
# uses: actions/cache/save@v4
201+
# with:
202+
# key: ${{ steps.cache-acl-restore.outputs.cache-primary-key }}
203+
# path: ${{ github.workspace }}/ComputeLibrary/build
204+
205+
# - name: Build oneDNN
206+
# run: ${{ github.workspace }}/oneDNN/.github/automation/build_aarch64.sh
207+
# working-directory: ${{ github.workspace }}/oneDNN
208+
# env:
209+
# ACL_ROOT_DIR: ${{ github.workspace }}/ComputeLibrary
210+
# BUILD_TOOLSET: ${{ matrix.toolset }}
211+
# CMAKE_BUILD_TYPE: ${{ matrix.config }}
212+
# GCC_VERSION: 13
213+
# ONEDNN_THREADING: ${{ matrix.threading }}
214+
215+
# - name: Run oneDNN tests
216+
# run: ${{ github.workspace }}/oneDNN/.github/automation/test_aarch64.sh
217+
# working-directory: ${{ github.workspace }}/oneDNN/build
218+
# env:
219+
# BUILD_TOOLSET: ${{ matrix.toolset }}
220+
# CMAKE_BUILD_TYPE: ${{ matrix.config }}
221+
# DYLD_LIBRARY_PATH: ${{ github.workspace }}/ComputeLibrary/build
222+
# ONEDNN_THREADING: ${{ matrix.threading }}

0 commit comments

Comments
 (0)