[PATCH] D13131: Allow the builting of the builtins library with a forced compiler.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 2 09:19:28 PST 2015
beanz added a subscriber: beanz.
beanz added a reviewer: beanz.
beanz added a comment.
The same basic problem you're having here was reported on IRC last week during the LLVM dev meeting. I've started a thread on llvm-dev to discuss this problem and possible solutions. I'm not completely opposed to this as a temporary solution, but it actually won't work for most cases.
In the normal CMake cross-compiling process you won't get anywhere near this far through configuring the build because all of the `try_compile` and `check_cxx_compiler_flag` calls will fail. I assume the only reason that isn't biting you is because you're not actually cross-compiling via a CMake toolchain, you're relying on the hacked-in cross compiling capabilities in Compiler-RT's build.
I do not want to block you from making progress, but I think it would be best for the project if we can at least discuss the long-term solution to this problem before we talk about temporary workarounds.
I would encourage you to participate in the discussion, the thread is: http://lists.llvm.org/pipermail/llvm-dev/2015-November/091916.html
Thanks,
-Chris
http://reviews.llvm.org/D13131
More information about the llvm-commits
mailing list