Skip to content

Commit 37b0729

Browse files
committed
install nasm
1 parent ff87fc3 commit 37b0729

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/opencv.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
if [[ "${{ matrix.os }}" == "centos.7" ]]; then
107107
script=$(
108108
cat <<'EOS'
109-
yum install -y gcc cmake3 gcc-c++ make
109+
yum install -y gcc cmake3 gcc-c++ make nasm
110110
ln -s /usr/bin/cmake3 /usr/bin/cmake
111111
EOS
112112
)
@@ -126,8 +126,10 @@ jobs:
126126
elif [[ ${{ matrix.os }} == "centos.7" ]]; then
127127
EXTRA_FLAGS+=" -DCMAKE_C_FLAGS='-std=gnu99'"
128128
if [[ "${{ matrix.arch }}" == "arm64" ]]; then
129+
echo "::group::Disable NEON in libwebp for CentOS 7 ARM64"
129130
sed -i 's/\<WEBP_USE_NEON\>/WEBP_USE_NEON_DISABLED/' opencv/3rdparty/libwebp/src/dsp/yuv_neon.c
130131
cat opencv/3rdparty/libwebp/src/dsp/yuv_neon.c
132+
echo "::endgroup::"
131133
fi
132134
fi
133135

0 commit comments

Comments
 (0)