Skip to content

Commit

Permalink
Disabled opencl on x264 and ffmpeg build
Browse files Browse the repository at this point in the history
This modification allows a build to proceed after opencl support has been detected by the x264 build. This is directly related to bytedeco#19
  • Loading branch information
mondain committed Oct 31, 2014
1 parent 905a586 commit e1f33ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ffmpeg/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ case $PLATFORM in
make -j4
make install
cd ../$X264
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic --host=i686-linux
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic --disable-opencl --host=i686-linux
make -j4
make install
cd ../ffmpeg-$FFMPEG_VERSION
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --cc="gcc -m32" --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -ldl"
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-opencl --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --cc="gcc -m32" --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -ldl"
make -j4
make install
;;
Expand All @@ -86,11 +86,11 @@ case $PLATFORM in
make -j4
make install
cd ../$X264
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic --host=x86_64-linux
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic --disable-opencl --host=x86_64-linux
make -j4
make install
cd ../ffmpeg-$FFMPEG_VERSION
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --cc="gcc -m64" --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -ldl"
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-opencl --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --cc="gcc -m64" --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -ldl"
make -j4
make install
;;
Expand All @@ -100,11 +100,11 @@ case $PLATFORM in
make -j4
make install
cd ../$X264
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic
./configure --prefix=$INSTALL_PATH --enable-static --enable-pic --disable-opencl
make -j4
make install
cd ../ffmpeg-$FFMPEG_VERSION
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -Wl,-headerpad_max_install_names -ldl"
./configure --prefix=.. --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-opencl --disable-outdev=sdl --enable-libmp3lame --enable-libx264 --extra-cflags="-I../include/" --extra-ldflags="-L../lib/ -Wl,-headerpad_max_install_names -ldl"
make -j4
make install
BADPATH=../lib
Expand Down

0 comments on commit e1f33ae

Please sign in to comment.