Disabling neon for libvpx in case llvm and armv7

pull/60/head
Javernaut 3 years ago
parent fe99b1c578
commit bacbe4a4a9
  1. 5
      scripts/export-build-variables.sh
  2. 3
      scripts/libvpx/build.sh
  3. 2
      scripts/libvpx/download.sh

@ -82,6 +82,11 @@ export FAM_CC=${TOOLCHAIN_PATH}/bin/${TARGET}-clang
export FAM_CXX=${FAM_CC}++ export FAM_CXX=${FAM_CC}++
export FAM_LD=${FAM_CC} export FAM_LD=${FAM_CC}
if [[ $DESIRED_BINUTILS == "llvm" ]]; then
# The llvm-as doesn't work in place of gnu as, so just using clang here
export FAM_AS=${FAM_CC}
fi
# TODO consider abondaning this strategy of defining the name of the clang wrapper # TODO consider abondaning this strategy of defining the name of the clang wrapper
# in favour of just passing -mstackrealign and -fno-addrsig depending on # in favour of just passing -mstackrealign and -fno-addrsig depending on
# ANDROID_ABI, ANDROID_PLATFORM and NDK's version # ANDROID_ABI, ANDROID_PLATFORM and NDK's version

@ -13,6 +13,9 @@ case $ANDROID_ABI in
;; ;;
armeabi-v7a) armeabi-v7a)
EXTRA_BUILD_FLAGS="--target=armv7-android-gcc --enable-thumb" EXTRA_BUILD_FLAGS="--target=armv7-android-gcc --enable-thumb"
if [[ $DESIRED_BINUTILS == "llvm" ]]; then
EXTRA_BUILD_FLAGS+=" --disable-neon"
fi
;; ;;
arm64-v8a) arm64-v8a)
EXTRA_BUILD_FLAGS="--target=arm64-android-gcc --enable-thumb" EXTRA_BUILD_FLAGS="--target=arm64-android-gcc --enable-thumb"

@ -2,7 +2,7 @@
source ${SCRIPTS_DIR}/common-functions.sh source ${SCRIPTS_DIR}/common-functions.sh
VPX_VERSION=v1.10.0 VPX_VERSION=v1.11.0
downloadTarArchive \ downloadTarArchive \
"libvpx" \ "libvpx" \

Loading…
Cancel
Save