[vlc-commits] extras/package: enable NEON for iOS

Felix Paul Kühne git at videolan.org
Thu Jul 5 22:33:04 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jul  5 22:31:15 2012 +0200| [f63a01ed26a6aafa4dadf96702031bb944d8721d] | committer: Felix Paul Kühne

extras/package: enable NEON for iOS

This is introduces a random hack, which is going to be reverted this fall.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f63a01ed26a6aafa4dadf96702031bb944d8721d
---

 extras/package/ios/build.sh |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 8a8361f..ee26f9e 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -165,9 +165,15 @@ mkdir -p "${VLCROOT}/contrib/iPhone${PLATFORM}"
 cd "${VLCROOT}/contrib/iPhone${PLATFORM}"
 
 if [ "$PLATFORM" = "OS" ]; then
-  export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
-  export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
-  export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
+    if [ "$SDK_VERSION" = "6.0" ]; then
+      export AS="${IOS_GAS_PREPROCESSOR} clang"
+      export ASCPP="${IOS_GAS_PREPROCESSOR} clang"
+      export CCAS="${IOS_GAS_PREPROCESSOR} clang"
+    else
+      export AS="${IOS_GAS_PREPROCESSOR} xcrun clang"
+      export ASCPP="${IOS_GAS_PREPROCESSOR} xcrun clang"
+      export CCAS="${IOS_GAS_PREPROCESSOR} xcrun clang"
+    fi
 else
   export AS="xcrun as"
   export ASCPP="xcrun as"
@@ -274,7 +280,7 @@ ${VLCROOT}/configure \
     --enable-visual \
     --disable-lua \
     --disable-sse \
-    --disable-neon \
+    --enable-neon \
     --disable-notify \
     --enable-live555 \
     --enable-realrtsp \



More information about the vlc-commits mailing list