-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove patched libiconv, put xcompile env vars in profile.
This workaround is also needed on libffi, libgettext and libxml2. Conan profile is easier to patch than all affected packages
- Loading branch information
1 parent
b21d2d5
commit 1186781
Showing
10 changed files
with
18 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
[settings] | ||
os=Android | ||
os.api_level=23 | ||
# Make sure to match os.api_level with CC/CXX in [buildenv] | ||
arch=armv8 | ||
build_type=RelWithDebInfo | ||
compiler=clang | ||
compiler.version=17 | ||
compiler.cppstd=20 | ||
compiler.libcxx=c++_static | ||
|
||
[conf] | ||
tools.android:ndk_path=$ANDROID_HOME/ndk/26.3.11579264 | ||
# @TODO: How can I scope this buildenv only for these 4 packages? | ||
# Cross compile toolchain evn vars are required to build libffi, libgettext, libiconv and libxml2 for Android | ||
# https://github.com/conan-io/conan-center-index/issues/24349 | ||
[buildenv] | ||
# ANDROID_HOME env var is available in [buildenv] | ||
AR=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar | ||
AS=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as | ||
CC=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android23-clang | ||
CXX=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android23-clang++ | ||
LD=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/ld | ||
RANLIB=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib | ||
STRIP=$ANDROID_HOME/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip | ||
|
||
# [conf] | ||
# ANDROID_HOME env var is not available in [conf] | ||
# tools.android:ndk_path=$ANDROID_HOME/ndk/26.3.11579264 | ||
# previously commented out tools.android:ndk_path will be added by build.yml workflow |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.