Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upConvert makefiles to build LLVM/compiler-rt with CMake #34055
Conversation
rust-highfive
assigned
alexcrichton
Jun 3, 2016
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
brson
force-pushed the
brson:cmake
branch
from
453ff0c
to
1323179
Jun 3, 2016
This comment has been minimized.
This comment has been minimized.
|
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? |
brson
force-pushed the
brson:cmake
branch
2 times, most recently
from
4f7700b
to
26cdf06
Jun 3, 2016
alexcrichton
reviewed
Jun 4, 2016
This comment has been minimized.
This comment has been minimized.
|
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). |
This comment has been minimized.
This comment has been minimized.
|
I tangentially asked this on the Internals forum, but why put the effort into updating the Makefiles instead of charging ahead with rustbuild? |
This comment has been minimized.
This comment has been minimized.
|
@shepmaster @alexcrichton says we're not going to be ready to remove the makefiles soon, and I want to have emscripten support soon. |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton why aren't we going to be able to remove the makefiles soon? |
This comment has been minimized.
This comment has been minimized.
|
Exporting MACOSX_DEPLOYMENT_TARGET=10.7 didn't help. |
brson
force-pushed the
brson:cmake
branch
from
c1b1b85
to
61c792f
Jun 6, 2016
This comment has been minimized.
This comment has been minimized.
|
I figured out that the |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton does rustbuild definitely work on os x? |
This comment has been minimized.
This comment has been minimized.
|
Er, I can run cmake by hand successfully, so I must have the script messed up. |
This comment has been minimized.
This comment has been minimized.
|
OK, I think it must have been a corrupted local configuration. Seems to be working now. |
brson
force-pushed the
brson:cmake
branch
from
61c792f
to
bbcfa53
Jun 6, 2016
This comment has been minimized.
This comment has been minimized.
|
I am definitely building using rustbuild on OS X.
|
This comment has been minimized.
This comment has been minimized.
|
Some messages on IRC ---
But yeah I was misremembering MACOSX_DEPLOYMENT_VERSION, it's just -stdlib in CFLAGS somehow |
brson
force-pushed the
brson:cmake
branch
4 times, most recently
from
474b1d3
to
aebdccf
Jun 6, 2016
This comment has been minimized.
This comment has been minimized.
|
I've built successfully on OS X and am going to send this through the bots to see what happens. @bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
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. |
bors
added a commit
that referenced
this pull request
Jun 7, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
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+ |
This comment has been minimized.
This comment has been minimized.
|
guh and of course travis is broken... |
alexcrichton
force-pushed the
brson:cmake
branch
from
71be23a
to
ca66f0a
Jun 22, 2016
This comment has been minimized.
This comment has been minimized.
|
Ok, some more hacks that were applied:
One glaring hole is that |
alexcrichton
force-pushed the
brson:cmake
branch
from
ca66f0a
to
59db95b
Jun 22, 2016
This comment has been minimized.
This comment has been minimized.
|
Ok, parallelism should be fixed |
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 22, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
error may be related to #33391 |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry
On Wednesday, June 22, 2016, bors notifications@github.com wrote:
|
bors
added a commit
that referenced
this pull request
Jun 23, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@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... |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 24, 2016
This comment has been minimized.
This comment has been minimized.
bors
merged commit 59db95b
into
rust-lang:master
Jun 24, 2016
petrochenkov
referenced this pull request
Jun 26, 2016
Closed
./configure fails on Windows/MSYS2 #34489
This comment has been minimized.
This comment has been minimized.
|
Wow I'm shocked this got through. Thanks for fixing it @alexcrichton |
brson commentedJun 3, 2016
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.