Skip to content

Commit 45f422d

Browse files
committed
fix(docker): prevent using native arch / allow avx2
1 parent 6c13137 commit 45f422d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/appimage.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ export CV_VERSION=2.4.13.7
33
export INSTALL_SUDO=sudo
44
export SYSTEM_INCLUDE_PATH=/usr/include
55

6+
# require AVX2 and prevent runner native arch from being used
7+
export CXXFLAGS="-march=x86-64-v3"
8+
export CFLAGS="-march=x86-64-v3"
9+
610
FFMPEG_OPTIONS=$(cat <<EOF
711
--enable-ffplay
812
--enable-libfontconfig

0 commit comments

Comments
 (0)