Crosscompiling LDC's druntime for Android on Windows

kinke noone at nowhere.com
Mon Feb 21 11:40:40 UTC 2022


On Monday, 21 February 2022 at 00:24:54 UTC, Fry wrote:
> I'm following the azure pipeline's commands for how it's being 
> built here:
> https://github.com/ldc-developers/ldc/blob/master/.azure-pipelines/2-posix-build_cross_android.yml#L64

You can check the CI logs for the expanded cmdlines, e.g., from 
https://dev.azure.com/ldc-developers/ldc/_build/results?buildId=3281&view=logs&jobId=0dd91bf4-5270-5f6c-2450-fbc036057a53&j=0dd91bf4-5270-5f6c-2450-fbc036057a53&t=c2436f57-6a96-592e-95de-a459be0e607b:

ldc-build-runtime --ninja -j 2 
'--dFlags=-fvisibility=hidden;-mtriple=aarch64--linux-android;-gcc=/home/vsts/work/1/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang' '--targetSystem=Android;Linux;UNIX' --ldcSrcDir=/home/vsts/work/1/s ANDROID_ABI=arm64-v8a ANDROID_NATIVE_API_LEVEL=21 ANDROID_STL=c++_static CMAKE_CROSSCOMPILING=True LDC_INSTALL_LLVM_RUNTIME_LIBS_OS=android LDC_INSTALL_LLVM_RUNTIME_LIBS_ARCH=aarch64-android CMAKE_TOOLCHAIN_FILE=/home/vsts/work/1/android-ndk-r21e/build/cmake/android.toolchain.cmake


More information about the Digitalmars-d-learn mailing list