Android.mk and make_neon.sh

53 views
Skip to first unread message

Jeffrey Walton

unread,
Mar 9, 2021, 2:21:46 PM3/9/21
to Crypto++ Users
Hi Everyone,

After working https://github.com/weidai11/cryptopp/issues/1015 to remove the old Android workarounds, we were left with a crippled library when using Android.mk. Android.mk lacked the arch specific flags because ndk-build does not provide an easy way to add an arch flag, like -maes for rijndael_simd.cpp

We added the arch specific flags at https://github.com/noloader/cryptopp-android-mk/commit/5bf3207f8e9b. That means we no longer need make_neon.sh since we add NEON flags manually now.

make_neon.sh was subsequently removed. If you are using make_neon.sh, then you can stop using it as long as you use arch specific flags like in 5bf3207f8e9b. Also see https://www.cryptopp.com/wiki/BASE+SIMD .

If you are not using arch specific flags, then you can disable the NEON code paths with -DCRYPTOPP_DISABLE_ANDROID_ADVANCED_ISA=1.

Jeff
Reply all
Reply to author
Forward
0 new messages