Cool. Could you work with someone who understands the compiler-rt
build to make that happen and unbreak the build?
(I gave it a shot myself, but I'm not sure what the best way to go
about things is. Maybe add a "platform = Darwin and $2 = ios then
return" to compiler-rt/make/platform/clang_darwin.mk's CheckArches?)
Daniel is the right person for that. We'll see what we can do.
A bit more context, FWIW. #1 is an option, but feels kinda rude to make that a hard requirement. It's available for anyone who wants to re-enable it locally, but we need something better for default use-cases. #2 doesn't quite work out, as it's not the deployment target that's the limiting factor in this scenario, but rather the version of the host-side tools. There's not a solid way to check those versions. #3 is viable as it isolates the public builds of supported open source targets from any weirdness of Apple side stuff.
Daniel is the right person for that. We'll see what we can do.
A bit more context, FWIW. #1 is an option, but feels kinda rude to make that a hard requirement. It's available for anyone who wants to re-enable it locally, but we need something better for default use-cases. #2 doesn't quite work out, as it's not the deployment target that's the limiting factor in this scenario, but rather the version of the host-side tools. There's not a solid way to check those versions. #3 is viable as it isolates the public builds of supported open source targets from any weirdness of Apple side stuff.
This is still broken.
The attached patches are a hack to drop arm completely. I am not sure
what is the best way to optionally add them back, but this lets anyone
that doesn't need ios support build compiler-rt again.
How are you building clang on you machine ?
I'm on 10.7, and work with clang ToT.
I'm building it first with llvm-gcc-4.2 with the X86 backend only and then I rebuild it with itself and with ARM + X86 backend and I don't have any trouble.
Daniel is the right person for that. We’ll see what we can do.
A bit more context, FWIW. #1 is an option, but feels kinda rude to make that a hard requirement. It’s available for anyone who wants to re-enable it locally, but we need something better for default use-cases. #2 doesn’t quite work out, as it’s not the deployment target that’s the limiting factor in this scenario, but rather the version of the host-side tools. There’s not a solid way to check those versions. #3 is viable as it isolates the public builds of supported open source targets from any weirdness of Apple side stuff.
This is still broken.
The attached patches are a hack to drop arm completely. I am not sure
what is the best way to optionally add them back, but this lets anyone
that doesn’t need ios support build compiler-rt again.
Cool. Could you work with someone who understands the compiler-rt
build to make that happen and unbreak the build?
(I gave it a shot myself, but I'm not sure what the best way to go
about things is. Maybe add a "platform = Darwin and $2 = ios then
return" to compiler-rt/make/platform/clang_darwin.mk's CheckArches?)
Cool. Could you work with someone who understands the compiler-rt
build to make that happen and unbreak the build?
(I gave it a shot myself, but I'm not sure what the best way to go
about things is. Maybe add a "platform = Darwin and $2 = ios then
return" to compiler-rt/make/platform/clang_darwin.mk's CheckArches?)
^ does this sound like the right way to go?
I checked in a patch that implements this in r158466.