Changes between Version 59 and Version 60 of CompilationGuide/Centos


Ignore:
Timestamp:
Oct 16, 2017, 11:18:23 AM (23 months ago)
Author:
slhck
Comment:

remove yasm entirely, not just strikethrough, fix configure commands to use nasm

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Centos

    v59 v60  
    3434}}}
    3535
    36 === ~~Yasm~~ ===
    37 
    38 ~~An assembler for x86 optimizations used by some libraries. Highly recommended or your resulting build may be very slow.~~
    39 
    40 Note: Yasm was last updated in 2014 and is insufficient for the latest version of x264. It's recommended to use Nasm instead (below), as that is still under active development and is also available now with the BSD license. (licensing was one of the original reasons Yasm was created).
    41 
    42 {{{
    43 cd ~/ffmpeg_sources
    44 curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
    45 tar xzvf yasm-1.3.0.tar.gz
    46 cd yasm-1.3.0
    47 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
    48 make
    49 make install
    50 }}}
    5136
    5237=== Nasm ===
    5338
    54 Another assembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function.
     39An assembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function.
    5540
    5641{{{
     
    186171git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git
    187172cd libvpx
    188 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm
     173./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=nasm
    189174PATH="$HOME/bin:$PATH" make
    190175make install
     
    279264
    280265{{{
    281 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,vsyasm,x264,yasm,ytasm}
     266rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,nasm,x264}
    282267# yum erase autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool mercurial nasm pkgconfig zlib-devel
    283268hash -r