Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dc03df2

Browse files
committedOct 15, 2024··
github: workflows: Enable Graph builds for aarch64 CI
Signed-off-by: Hamza Butt <hamza.butt@arm.com>
1 parent 44160a1 commit dc03df2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎.github/automation/build_aarch64.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,24 @@ export ACL_ROOT_DIR=${ACL_ROOT_DIR:-"${PWD}/ComputeLibrary"}
3030

3131
CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-"Release"}
3232
ONEDNN_TEST_SET=SMOKE
33+
ONEDNN_BUILD_GRAPH=1
3334

3435
# ACL is not built with OMP on macOS.
3536
if [[ "$OS" == "Darwin" ]]; then
3637
ONEDNN_THREADING=SEQ
38+
if [[ "$BUILD_TOOLSET" == "clang" ]]; then
39+
if [[ "$CMAKE_BUILD_TYPE" == "Debug" ]]; then
40+
# Darwin graph tests take a lot of time in debug mode.
41+
ONEDNN_BUILD_GRAPH=0
42+
fi
43+
fi
3744
fi
3845

3946
set -x
4047
cmake \
4148
-Bbuild -S. \
4249
-DDNNL_AARCH64_USE_ACL=ON \
43-
-DONEDNN_BUILD_GRAPH=0 \
50+
-DONEDNN_BUILD_GRAPH=$ONEDNN_BUILD_GRAPH \
4451
-DDNNL_CPU_RUNTIME=$ONEDNN_THREADING \
4552
-DONEDNN_WERROR=ON \
4653
-DDNNL_BUILD_FOR_CI=ON \

‎src/graph/backend/dnnl/kernels/sdp_primitive_config.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*******************************************************************************/
1616

1717
#include "graph/backend/dnnl/kernels/sdp_primitive_config.hpp"
18+
#include "common/compiler_workarounds.hpp"
1819

1920
namespace dnnl {
2021
namespace impl {

0 commit comments

Comments
 (0)