[PATCH] D55524: [gn build] Add build files for Target/X86/... and for tools/llc

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 11:01:47 PST 2018


phosek accepted this revision.
phosek added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/utils/gn/secondary/llvm/lib/Target/targets.gni:11
     llvm_targets_to_build = [ "X86" ]
-  } else if (host_cpu == "arm") {
-    llvm_targets_to_build = [ "ARM" ]
-  } else if (host_cpu == "arm64") {
-    llvm_targets_to_build = [ "AArch64" ]
+    #} else if (host_cpu == "arm") {
+    #llvm_targets_to_build = [ "ARM" ]
----------------
thakis wrote:
> phosek wrote:
> > Is this intentional? If yes, can you comment on why is arm32 and arm64 being disabled?
> Yes, it's because lib/Target/BUILD.gn now use llvm_targets_to_build to set up forwarding targets but lib/Target/ARM/BUILD.gn and lib/Target/AArch64/BUILD.gn don't exist yet. When I add them I'm going to add these back. It's hopefully just commented out for a few days.
I see, would it be possible to at least leave a TODO here so it's obvious why this is commented out?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55524/new/

https://reviews.llvm.org/D55524





More information about the llvm-commits mailing list