Skip to content

Commit 2d75f76

Browse files
committed
[CI] fix NE16 profiling: disable LTO and clean build dir
GCC 7.1.1 has LTO linking bugs with the GAP9 SDK PMSIS library. The profiling step needs a clean rebuild with LTO disabled to avoid conflicts with the cached LTO-enabled build from the test step.
1 parent 74fac92 commit 2d75f76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/_runner-gap9-w-ne16-tiled.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
mkdir -p /app/.ccache
6363
export CCACHE_DIR=/app/.ccache
6464
cd DeeployTest
65+
rm -rf TEST_GAP9_W_NE16/build_master
6566
for test in \
6667
"Tests/Kernels/Integer/Conv/PW_2D_RQ/Regular_RQ --l1 32000" \
6768
"Tests/Kernels/Integer/Conv/PW_2D --l1 32000" \
@@ -76,7 +77,8 @@ jobs:
7677
python3 deeployRunner_tiled_gap9_w_ne16.py \
7778
-t "$dir" --l1 "$l1" \
7879
--toolchain GCC --toolchain-install-dir /app/install/gcc/gap9 \
79-
--cores 8 --enable-3x3 --profileTiling -v 2>&1 || true
80+
--cores 8 --enable-3x3 --profileTiling -v \
81+
-D CMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF 2>&1 || true
8082
done
8183
deactivate
8284
shell: bash

0 commit comments

Comments
 (0)