#8951: rustc will apparently be needed for firefox-53.
-------------------------+-------------------
 Reporter:  ken@…        |      Owner:  ken@…
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  8.1
Component:  BOOK         |    Version:  SVN
 Severity:  normal       |   Keywords:
-------------------------+-------------------
 LOL, muggins created a ticket for changing the LLVM build, but forgot to
 create one for rustc.

 [https://www.rust-lang.org/en-US/other-installers.html#source] - at the
 very bottom of the page, the first link is for Stable and labelled
 '.tar.gz'. When I tried that a few days ago I got rustc-1.15.1.

 Although configure still permits the
 {{{
 --disable-rustbuild
 }}}
 switch (fedora use that), it reports
 {{{
 WARNING: the makefile-based build system is deprecated in favor of
 rustbuild

 It is recommended you avoid passing --disable-rustbuild to get your
 build working as the makefiles will be deleted on 2017-02-02.
 }}}

 So I suppose best not to do that.

 Lots of configure options, and rustbuild downloads a binary from rust and
 uses that to bootstrap the build. For the moment I'm using the shipped
 LLVM.

 I particularly wish to note two things:

 First, the build defaults to silence (nothing until it completes or
 fails), but
 {{{
 VERBOSE=1 make
 }}}
 provides output.

 Second, it uses all cores, so trying to do timing with only 4 cores on a
 well-endowed machine is probably not going to be possible. And adding
 MAKEFLAGS such as
 {{{
 -j2 -O
 }}}
 either after 'make' or as
 {{{
 MAKEFLAGS='-j2 -O'
 }}}
 in front of make is both ineffective (still uses all 4 cores on my i3) AND
 silences the build!

 AFAICS, the cargo crates which this will enable are packages of metadata
 to ensure a repeatable compile, so I _think_ this is still ultimately from
 source.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/8951>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to