You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/wheels-dependencies.sh
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,17 @@ function build_libavif {
129
129
fi
130
130
fi
131
131
132
+
local cmake_flags=()
133
+
134
+
if [[ -z"$IS_ALPINE" ]] && [[ "$MB_ML_VER"== 2014 ]];then
135
+
cmake_flags+=(-DCMAKE_BUILD_TYPE=Release)
136
+
else
137
+
cmake_flags+=(
138
+
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
139
+
-DCMAKE_BUILD_TYPE=MinSizeRel \
140
+
)
141
+
fi
142
+
132
143
local out_dir=$(fetch_unpack https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$LIBAVIF_VERSION.tar.gz libavif-$LIBAVIF_VERSION.tar.gz)
133
144
# CONFIG_AV1_DECODER=0 is a flag for libaom (included as a subproject of
134
145
# libavif) to disable the compilation and inclusion of aom's AV1 decoder.
0 commit comments