shithub: mp3dec

Download patch

ref: 730884913639d0c7b6c19534bcf6c33253ee5729
parent: a8f943890e938e9bb91a854be561f10822b807b3
author: lieff <lieff@users.noreply.github.com>
date: Sat Feb 17 15:00:42 EST 2018

travis have no powerpc64

--- a/.travis.yml
+++ b/.travis.yml
@@ -8,16 +8,12 @@
       - gcc-4.8-multilib
       - gcc-4.8-aarch64-linux-gnu
       - gcc-4.8-powerpc-linux-gnu
-      - gcc-4.8-powerpc64-linux-gnu
       - gcc-aarch64-linux-gnu
       - gcc-powerpc-linux-gnu
-      - gcc-powerpc64-linux-gnu
       - libc6-arm64-cross
       - libc6-powerpc-cross
-      - libc6-ppc64-cross
       - libc6-dev-arm64-cross
       - libc6-dev-powerpc-cross
-      - libc6-dev-ppc64-cross
       - qemu
 
 os:
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -49,12 +49,14 @@
 -ffunction-sections -fdata-sections -Wl,--gc-sections -o minimp3_ppc minimp3_test.c -lm
 qemu-ppc ./minimp3_ppc
 
+if [ ! "$TRAVIS" = "true" ]; then
 echo testing powerpc64...
 powerpc64-linux-gnu-gcc -O2 -std=c89 -Wall -Wextra -Wmissing-prototypes -Werror -fno-asynchronous-unwind-tables -fno-stack-protector \
 -static \
 -ffunction-sections -fdata-sections -Wl,--gc-sections -o minimp3_ppc minimp3_test.c -lm
 qemu-ppc64 ./minimp3_ppc
+fi
 
 if [ ! "$TRAVIS" = "true" ]; then
-rm emmintrin.h.gcov minimp3_arm minimp3_test.gcda minimp3_test.gcno minimp3_test.c.gcov xmmintrin.h.gcov
+rm emmintrin.h.gcov minimp3_arm minimp3_ppc minimp3_test.gcda minimp3_test.gcno minimp3_test.c.gcov xmmintrin.h.gcov
 fi