Consider bundling LLVM with MozillaBuild

RESOLVED WONTFIX

Status

mozilla.org
MozillaBuild
RESOLVED WONTFIX
3 years ago
a year ago

People

(Reporter: gkw, Unassigned)

Tracking

Details

(Reporter)

Description

3 years ago
In bug 1238251 bundling LLVM with MozillaBuild was discussed, so this bug was spun off.

LLVM 3.7.1 builds are here: http://llvm.org/releases/download.html#3.7.1
LLVM 3.8.0 is not yet out.

Nathan, what's next?
Flags: needinfo?(nfroyd)
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #0)
> In bug 1238251 bundling LLVM with MozillaBuild was discussed, so this bug
> was spun off.
> 
> LLVM 3.7.1 builds are here: http://llvm.org/releases/download.html#3.7.1
> LLVM 3.8.0 is not yet out.
> 
> Nathan, what's next?

Asking somebody who's actually maintaining MozillaBuild? =D

It's not clear to me why LLVM merits special consideration here.  We don't bundle mingw32-gcc with MozillaBuild, for instance, nor do we bundle MSVC.  Can you elaborate what you think is the rationale for adding these tools (which, AFAICT, would only be used by folks doing specialized fuzzing work rather than general Mozilla development)?
Flags: needinfo?(nfroyd)
(Reporter)

Comment 2

3 years ago
(In reply to Nathan Froyd [:froydnj] from comment #1)
> It's not clear to me why LLVM merits special consideration here.

I don't think I care either way. I care more for the detection logic in bug 1238251. It was suggested in bug 1238251 comment 9 by you to file a new bug for the bundling discussion, so here it is.

We can close it if it is not needed.
My interest in LLVM mostly centers around Rust support, since that's something we will eventually need to include in MozillaBuild. If we could manage to kill two birds with one stone, that'd be nice, though :)

Also, assuming clang-cl is a toolchain we eventually intend to consider officially supported (I'm not sure it's there yet?), does one need to download LLVM separately for that or would it come along for the ride when they installed clang?
(Reporter)

Comment 4

3 years ago
(In reply to Ryan VanderMeulen [:RyanVM] from comment #3)
> Also, assuming clang-cl is a toolchain we eventually intend to consider
> officially supported (I'm not sure it's there yet?), does one need to
> download LLVM separately for that or would it come along for the ride when
> they installed clang?

clang-cl and clang are located in "C:\Program Files (x86)\LLVM\bin" (32-bit default LLVM install location).
Rust support is handled via ./mach bootstrap. And I'm willing to say with a high level of confidence that clang-cl isn't something MozillaBuild needs to support in its lifetime.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.