Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact atlas_admin@aei.mpg.de

Commit 10554a2c authored by talregev's avatar talregev

Make a list_libs.

More easy to add a libs.
parent 65f4f978
......@@ -23,7 +23,9 @@ if [ ! -d ../3rdParty/buildCache/android-tc/arm ]; then
exit 1
fi
for i in "libcrypto.a" "libssl.a" "libcurl.a"; do
list_libs="libcrypto.a libssl.a libcurl.a"
for i in $list_libs; do
if [ $(readelf -A $(find ../3rdParty/buildCache/android-tc/arm -name "$i") | grep -i neon | head -c1 | wc -c) -ne 0 ]; then
echo "$i" is with neon optimization
exit 1
......
......@@ -18,7 +18,9 @@ if [ ! -d ../3rdParty/buildCache/android-tc/arm ]; then
exit 1
fi
for i in "libcrypto.a" "libssl.a" "libcurl.a"; do
list_libs="libcrypto.a libssl.a libcurl.a"
for i in $list_libs; do
if [ $(readelf -A $(find ../3rdParty/buildCache/android-tc/arm -name "$i") | grep -i neon | head -c1 | wc -c) -ne 0 ]; then
echo "$i" is with neon optimization
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment