Hi Adrian, Thanks very much for the bug report. I will make these changes. So, is it not possible to enable AVX2 acceleration for this package ? Regards, Aaron
On Mon, Mar 1, 2021 at 12:21 PM Adrian Bunk <b...@debian.org> wrote: > Source: libgrokj2k > Version: 7.6.6-1 > Severity: serious > Tags: patch > > > https://buildd.debian.org/status/fetch.php?pkg=libgrokj2k&arch=amd64&ver=7.6.6-1&stamp=1612309672&raw=0 > > ... > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib/jp2 && /usr/bin/c++ > -DSPDLOG_COMPILED_LIB -Dgrokj2k_EXPORTS > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lib/jp2 > -I/<<PKGBUILDDIR>>/src/bin/common -I/<<PKGBUILDDIR>>/src/bin/jp2 > -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/lib/jp2 > -I/<<PKGBUILDDIR>>/src/lib/jp2/plugin > -I/<<PKGBUILDDIR>>/src/lib/jp2/transform -I/<<PKGBUILDDIR>>/src/lib/jp2/t1 > -I/<<PKGBUILDDIR>>/src/lib/jp2/t1/t1_part1 > -I/<<PKGBUILDDIR>>/src/lib/jp2/t1/t1_ht > -I/<<PKGBUILDDIR>>/src/lib/jp2/t1/t1_ht/coding > -I/<<PKGBUILDDIR>>/src/lib/jp2/t1/t1_ht/common > -I/<<PKGBUILDDIR>>/src/lib/jp2/t1/t1_ht/others > -I/<<PKGBUILDDIR>>/src/lib/jp2/util > -I/<<PKGBUILDDIR>>/src/lib/jp2/codestream > -I/<<PKGBUILDDIR>>/src/lib/jp2/codestream/markers > -I/<<PKGBUILDDIR>>/src/lib/jp2/point_transform > -I/<<PKGBUILDDIR>>/src/lib/jp2/t2 -I/<<PKGBUILDDIR>>/src/lib/jp2/tile > -I/<<PKGBUILDDIR>>/src/lib/jp2/filters -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 > -fvisibility=hidden -mavx2 -mbmi2 -fPIC -Wall -Wextra -Wconversion > -Wsign-conversion -Wunused-parameter -std=c++2a -o > CMakeFiles/grokj2k.dir/util/GrkMappedFile.cpp.o -c > /<<PKGBUILDDIR>>/src/lib/jp2/util/GrkMappedFile.cpp > ... > > > "-mavx2 -mbmi2" is a violation of tha amd64 and i386 port baselines. > > Fix: > > --- debian/rules.old 2021-03-01 17:09:49.253529618 +0000 > +++ debian/rules 2021-03-01 17:10:55.989543343 +0000 > @@ -18,6 +18,7 @@ > -DBUILD_TESTING:BOOL=OFF \ > -DBUILD_DOC:BOOL=ON \ > -DBUILD_THIRDPARTY:BOOL=OFF \ > + -DAVX2_FOUND:BOOL=OFF \ > -DGRK_USE_LIBJPEG:BOOL=ON > > override_dh_auto_configure: >