Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-131531: android.py enhancements to support cibuildwheel#132870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
71cccb3
e3d27ac
6156255
24b082f
b7461d3
c7cdb98
f29e177
fc8c1e1
b273bc7
9c46ab0
5d75b7b
f36273a
36da007
51e1460
497e84c
ddfb875
e4192b4
6f18528
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -3,7 +3,7 @@ | ||
: "${HOST:?}" # GNU target triplet | ||
# You may also override the following: | ||
: "${ANDROID_API_LEVEL:=24}" # Minimum Android API level the build will run on | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I'm not sure whether there will be a merge conflict on this line when backporting to 3.13, but either way, the API level on that branch should remain at 21. Apart from that, this file should be identical on all branches. | ||
: "${PREFIX:-}" # Path in which to find required libraries | ||
@@ -24,7 +24,7 @@ fail() { | ||
# * https://android.googlesource.com/platform/ndk/+/ndk-rXX-release/docs/BuildSystemMaintainers.md | ||
# where XX is the NDK version. Do a diff against the version you're upgrading from, e.g.: | ||
# https://android.googlesource.com/platform/ndk/+/ndk-r25-release..ndk-r26-release/docs/BuildSystemMaintainers.md | ||
ndk_version=27.2.12479018 | ||
ndk=$ANDROID_HOME/ndk/$ndk_version | ||
if ! [ -e "$ndk" ]; then | ||
@@ -43,7 +43,7 @@ fi | ||
toolchain=$(echo "$ndk"/toolchains/llvm/prebuilt/*) | ||
export AR="$toolchain/bin/llvm-ar" | ||
export AS="$toolchain/bin/llvm-as" | ||
export CC="$toolchain/bin/${clang_triplet}${ANDROID_API_LEVEL}-clang" | ||
export CXX="${CC}++" | ||
export LD="$toolchain/bin/ld" | ||
export NM="$toolchain/bin/llvm-nm" | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.