lame-3.100 patches - only one tested
Well, this is mostly for information on what i tried. One patch is applicable and doesn't result in compilation failure lame-3.100-fastcrc.diff # lame patches cp $CWD/lame-3.100-fastcrc.diff thirdparty/src/lame-3.100.patch1 #cp $CWD/lame-3.100-sse-20171014.diff thirdparty/src/lame-3.100.patch2 git apply -v $CWD/lame-make-opt.diff but second patch actually require -msse2 on x86-32, so I disabled it for now. You can tweak it a bit more, for example leaving only x86_64 part in those statements: +#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) but this is just some kind of distraction. in opt patch I changed defaults to more aggressive: +lame.cfg_vars?= CFLAGS+=" -O3 -DUSE_FAST_LOG=1 -ffast-math" +lame.cfg_params?=--enable-shared=no --enable-nasm --enable-expopt=norm from this page: https://shenki.github.io/LameMP3-on-Power9/ actually I saw described there configure bug, but just added CFLAGS instead of patching autoconf stuff. Oh, this libpng strangeness makes me unhappy :/
participants (1)
-
Andrew Randrianasulu