[MacPorts] #69198: rust-bootstrap needs a lot of disk space to build
MacPorts
noreply at macports.org
Fri Jan 26 18:11:30 UTC 2024
#69198: rust-bootstrap needs a lot of disk space to build
-----------------------------+---------------------------------
Reporter: ryandesign | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.0
Resolution: | Keywords:
Port: rust-bootstrap |
-----------------------------+---------------------------------
Comment (by ryandesign):
Replying to [comment:1 MarcusCalhoun-Lopez]:
> It is built ''three'' different times, once for x86_64 and twice for
i686 (since Rust considers this cross-compilation).
Why twice for i386?
> * Attempt to clean the directories after every architecture build. At
least there would only be two builds of LLVM to deal with.
This is the kind of thing I was talking about.
> * Try to create a separate LLVM port specifically for Rust. I do not
know if this would make things easier or harder (more steps but more
control over the LLVM build).
If rust is building its own private copy of llvm every time, yes, putting
it in another port or subport could make a lot of sense. Maybe there are
times when you are making a change to the port that only affects the
private llvm, or only rust, so you could revbump just that subport and not
have to rebuild the other part.
And, why can't they use our existing llvm ports like everyone else?
--
Ticket URL: <https://trac.macports.org/ticket/69198#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list