Skip to content

Commit 686ad60

Browse files
committed
github: workflows: Enable Graph builds for aarch64 CI
Signed-off-by: Hamza Butt <hamza.butt@arm.com>
1 parent 44160a1 commit 686ad60

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/automation/build_aarch64.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,22 @@ 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 [[ "$CMAKE_BUILD_TYPE" == "Debug" ]]; then
39+
# Darwin graph tests take a lot of time in debug mode.
40+
ONEDNN_BUILD_GRAPH=0
41+
fi
3742
fi
3843

3944
set -x
4045
cmake \
4146
-Bbuild -S. \
4247
-DDNNL_AARCH64_USE_ACL=ON \
43-
-DONEDNN_BUILD_GRAPH=0 \
48+
-DONEDNN_BUILD_GRAPH=$ONEDNN_BUILD_GRAPH \
4449
-DDNNL_CPU_RUNTIME=$ONEDNN_THREADING \
4550
-DONEDNN_WERROR=ON \
4651
-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)