Page MenuHomeFreeBSD

flua: Always build as a bootstrap tool
ClosedPublic

Authored by ivy on Mon, Apr 6, 1:45 PM.
Tags
None
Referenced Files
F153364517: D56270.id.diff
Mon, Apr 20, 5:48 PM
Unknown Object (File)
Sun, Apr 19, 3:34 PM
Unknown Object (File)
Sun, Apr 19, 7:35 AM
Unknown Object (File)
Sat, Apr 18, 11:44 PM
Unknown Object (File)
Sat, Apr 18, 9:47 PM
Unknown Object (File)
Sat, Apr 18, 5:53 PM
Unknown Object (File)
Sat, Apr 18, 2:09 PM
Unknown Object (File)
Sat, Apr 18, 11:39 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 71986
Build 68869: arc lint + arc unit

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.