build: Prefer NASM assembler over YASM

NASM is more actively maintained and permits generating dependency information
as a sideeffect of assembling, thus cutting build times in half.

(Cherry-picked from libav commit 57b753b445)

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Diego Biurrun 2016-10-13 18:33:15 +00:00 committed by James Almer
parent 3cc73d3d6d
commit 4f9297ac3b
5 changed files with 15 additions and 13 deletions

View file

@ -6,7 +6,7 @@ os:
addons:
apt:
packages:
- yasm
- nasm
- diffutils
compiler:
- clang
@ -17,7 +17,7 @@ cache:
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install yasm; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
script:
- mkdir -p ffmpeg-samples
- ./configure --samples=ffmpeg-samples --cc=$CC