[PATCH] D157901: [gn build] Force clang_enable_per_target_runtime_dir for Android builds
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 10:09:47 PDT 2023
aeubanks created this revision.
aeubanks added a reviewer: thakis.
Herald added a subscriber: danielkiss.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Since it doesn't work yet.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157901
Files:
llvm/utils/gn/build/toolchain/BUILD.gn
Index: llvm/utils/gn/build/toolchain/BUILD.gn
===================================================================
--- llvm/utils/gn/build/toolchain/BUILD.gn
+++ llvm/utils/gn/build/toolchain/BUILD.gn
@@ -219,10 +219,13 @@
}
if (android_ndk_path != "") {
+ # Android compiler-rt libraries don't really work with per-target runtime
+ # directories yet so force it off.
stage2_unix_toolchain("stage2_android_aarch64") {
toolchain_args = {
current_os = "android"
current_cpu = "arm64"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -230,6 +233,7 @@
toolchain_args = {
current_os = "android"
current_cpu = "arm"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -237,6 +241,7 @@
toolchain_args = {
current_os = "android"
current_cpu = "x64"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -244,6 +249,7 @@
toolchain_args = {
current_os = "android"
current_cpu = "x86"
+ clang_enable_per_target_runtime_dir = false
}
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157901.550007.patch
Type: text/x-patch
Size: 1073 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/2188f99d/attachment.bin>
More information about the llvm-commits
mailing list