building world and kernel without ebuilding ("bootstrap"?) clang?

Lev Serebryakov lev at FreeBSD.org
Mon Apr 8 13:29:57 UTC 2013


Hello, Freebsd-hackers.

  I need to rebuild world and kernel often for experiments with
 NanoBSD, and I want to use clang.

  But clang bootstrap is drastically slow. And second clang build is
 not any faster.
  Whole "buildworld" with lots of parts, like gcc toolchain, games,
 examples, etc., switched off, takes about 90 (!) minutes in my case.
  And I don't need "in world" clang too, as it will not be installed
 on target device.

   My build host is very closely related to sources which I build --
 both are amd64 CURRENT, build host is not as fresh as sources for
 NanoBSD, but clang is always the same (I rebuild host on every clang
 change).

   Is it possible to build NanoBSD faster? Use system compiler, and
  don't build bootstrap compiler at all?

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-hackers mailing list