[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:12:18 PDT 2023
aeubanks updated this revision to Diff 550012.
aeubanks added a comment.
add discourse link
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157901/new/
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,14 @@
}
if (android_ndk_path != "") {
+ # Android compiler-rt libraries don't really work with per-target runtime
+ # directories yet so force it off.
+ # https://discourse.llvm.org/t/handling-version-numbers-in-per-target-runtime-directories/62717.
stage2_unix_toolchain("stage2_android_aarch64") {
toolchain_args = {
current_os = "android"
current_cpu = "arm64"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -230,6 +234,7 @@
toolchain_args = {
current_os = "android"
current_cpu = "arm"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -237,6 +242,7 @@
toolchain_args = {
current_os = "android"
current_cpu = "x64"
+ clang_enable_per_target_runtime_dir = false
}
}
@@ -244,6 +250,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.550012.patch
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/ade6a295/attachment.bin>
More information about the llvm-commits
mailing list