Page MenuHomeFreeBSD

flua: Always build as a bootstrap tool
ClosedPublic

Authored by ivy on Mon, Apr 6, 1:45 PM.
Tags
None
Referenced Files
F152537406: D56270.id174963.diff
Wed, Apr 15, 1:35 PM
Unknown Object (File)
Tue, Apr 14, 4:52 AM
Unknown Object (File)
Tue, Apr 14, 3:20 AM
Unknown Object (File)
Mon, Apr 13, 3:06 AM
Unknown Object (File)
Sat, Apr 11, 4:00 PM
Unknown Object (File)
Thu, Apr 9, 5:45 PM
Unknown Object (File)
Thu, Apr 9, 4:19 PM
Unknown Object (File)
Thu, Apr 9, 3:29 AM
Subscribers
None

Details

Summary

We want to use flua from the source tree (not the host) during package
build, firstly to protect us from breaking changes in lua or libucl,
and secondly to allow (in future) cross-building of packages from
Linux or macOS.

Since we don't know if the user will be building packages during the
bootstrap phase, and because flua is fairly small and generally useful,
build it as a bootstrap tool unconditionally.

MFC after: 2 weeks
Sponsored by: https://www.patreon.com/bsdivy

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Mon, Apr 6, 1:45 PM
ivy created this revision.

I'd /maybe/ consider leaving libmd behind a BOOTSTRAPPING == 0 since it's entirely a FreeBSD project, but I don't feel strongly about it -- libmd doesn't take that long to build.

This revision is now accepted and ready to land.Mon, Apr 6, 1:49 PM

I'd /maybe/ consider leaving libmd behind a BOOTSTRAPPING == 0 since it's entirely a FreeBSD project, but I don't feel strongly about it -- libmd doesn't take that long to build.

Oh wait, the flua bootstrap build probably can't be split like that today- sorry.

This revision was automatically updated to reflect the committed changes.