Convert makefiles to build LLVM/compiler-rt with CMake#34055
Convert makefiles to build LLVM/compiler-rt with CMake#34055bors merged 1 commit intorust-lang:masterfrom
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
FWIW re the mac failures: I was trying to build this on rust-mac6 and couldn't get it to recognize C++11 atomics. I'm not sure why this would be but I'm sort of crossing my fingers that clang is out of date there? |
4f7700b to
26cdf06
Compare
mk/rt.mk
Outdated
There was a problem hiding this comment.
This is totally a readable makefile now!
|
I vaguely remember that OSX failure not being spurious in rustbuild and fixing it through setting This will probably bounce quite a few times as we figure out how to actually build compiler-rt for all the cross platforms, I don't think rustbuild is even prepared to do that everywhere (especially Android). |
|
I tangentially asked this on the Internals forum, but why put the effort into updating the Makefiles instead of charging ahead with rustbuild? |
|
@shepmaster @alexcrichton says we're not going to be ready to remove the makefiles soon, and I want to have emscripten support soon. |
|
@alexcrichton why aren't we going to be able to remove the makefiles soon? |
|
Exporting MACOSX_DEPLOYMENT_TARGET=10.7 didn't help. |
|
I figured out that the |
|
@alexcrichton does rustbuild definitely work on os x? |
|
Er, I can run cmake by hand successfully, so I must have the script messed up. |
|
OK, I think it must have been a corrupted local configuration. Seems to be working now. |
|
I am definitely building using rustbuild on OS X.
|
|
Some messages on IRC --- But yeah I was misremembering MACOSX_DEPLOYMENT_VERSION, it's just -stdlib in CFLAGS somehow |
474b1d3 to
aebdccf
Compare
|
I've built successfully on OS X and am going to send this through the bots to see what happens. @bors r+ |
|
📌 Commit aebdccf has been approved by |
|
It seems that this will break Travis, because Ubuntu package installs LLVMConfig.cmake in a place different from what compiler-rt build system expects. I am trying to figure out how to unbreak. |
Convert makefiles to build LLVM/compiler-rt with CMake This is certainly buggy, but I have successfully built on x86_64-unknown-linux-gnu and x86_64-pc-windows-gnu. I haven't built successfully on mac yet, and I've seen mysterious test failures on Linux, but I'm interested in throwing this at the bots to see what they think.
|
💔 Test failed - auto-mac-cross-ios-opt |
|
I think this is finally ready to go. If I could quantify the amount of money it took to test this in dev I'd probably be sad, so I won't do that! Need to restart buildbot to pick up some changes to the images, then I'll r+ |
|
guh and of course travis is broken... |
|
Ok, some more hacks that were applied:
One glaring hole is that |
|
Ok, parallelism should be fixed |
|
@bors: r+ |
|
📌 Commit 59db95b has been approved by |
|
⌛ Testing commit 59db95b with merge b592b3c... |
Convert makefiles to build LLVM/compiler-rt with CMake This is certainly buggy, but I have successfully built on x86_64-unknown-linux-gnu and x86_64-pc-windows-gnu. I haven't built successfully on mac yet, and I've seen mysterious test failures on Linux, but I'm interested in throwing this at the bots to see what they think.
|
💔 Test failed - auto-mac-64-opt-rustbuild |
|
@bors: retry
|
|
error may be related to #33391 |
|
💔 Test failed - auto-linux-64-x-android-t |
|
@bors: retry
On Wednesday, June 22, 2016, bors notifications@github.com wrote:
|
|
⌛ Testing commit 59db95b with merge 930eb8a... |
|
💔 Test failed - auto-linux-64-x-android-t |
|
@bors: retry Looks like it's stuck compiling stage1 libsyntax but I can't seem to reproduce it locally. Hoping that it's just contention locally... |
|
⌛ Testing commit 59db95b with merge 8c63d12... |
Convert makefiles to build LLVM/compiler-rt with CMake This is certainly buggy, but I have successfully built on x86_64-unknown-linux-gnu and x86_64-pc-windows-gnu. I haven't built successfully on mac yet, and I've seen mysterious test failures on Linux, but I'm interested in throwing this at the bots to see what they think.
|
Wow I'm shocked this got through. Thanks for fixing it @alexcrichton |
This is certainly buggy, but I have successfully built on x86_64-unknown-linux-gnu and x86_64-pc-windows-gnu. I haven't built successfully on mac yet, and I've seen mysterious test failures on Linux, but I'm interested in throwing this at the bots to see what they think.