Changes between Version 60 and Version 61 of CompilationGuide/Centos
- Timestamp:
- Oct 16, 2017, 8:25:57 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/Centos
v60 v61 34 34 }}} 35 35 36 37 === Nasm === 38 39 An assembler for x86 optimizations used by some libraries. Not using an assembler will result in much slower program function. 40 41 {{{ 42 cd /etc/yum.repo.d/ 43 wget http://nasm.us/nasm.repo 44 sudo yum install nasm 45 }}} 46 47 Alternatively you could [[http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html|install nasm from source.]] 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 {{{ 41 cd ~/ffmpeg_sources 42 curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz 43 tar xzvf yasm-1.3.0.tar.gz 44 cd yasm-1.3.0 45 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" 46 make 47 make install 48 }}} 48 49 49 50 === libx264 === … … 171 172 git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git 172 173 cd libvpx 173 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as= nasm174 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm 174 175 PATH="$HOME/bin:$PATH" make 175 176 make install … … 264 265 265 266 {{{ 266 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame, nasm,x264}267 rm -rf ~/ffmpeg_build ~/ffmpeg_sources ~/bin/{ffmpeg,ffprobe,ffserver,lame,vsyasm,x264,yasm,ytasm} 267 268 # yum erase autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool mercurial nasm pkgconfig zlib-devel 268 269 hash -r
