Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Mono Android CI #34125

Merged
merged 19 commits into from
Apr 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try forcing export, to ensure these variables are passed
directhex committed Apr 1, 2020
commit 8b0895c355ad3dbc29e09c11e0ae71f6937c63f9
4 changes: 2 additions & 2 deletions src/libraries/Native/build-native.sh
Original file line number Diff line number Diff line change
@@ -82,8 +82,8 @@ elif [[ "$__TargetOS" == Android && -z "$ROOTFS_DIR" ]]; then
__CMakeArgs="-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_STL=none -DANDROID_NATIVE_API_LEVEL=21 $__CMakeArgs"

# workaround init-compiler.sh trying to detect clang, it's handled in android.toolchain.cmake already
CLR_CC=$(which false)
CLR_CXX=$(which false)
export CLR_CC=$(which false)
export CLR_CXX=$(which false)

if [[ "$__BuildArch" == x64 ]]; then
__CMakeArgs="-DANDROID_ABI=x86_64 $__CMakeArgs"