Metamode

Introduction

Metamode is an incremental build system for FreeBSD, which uses bmake's meta mode and filemon(4) to create metadata files, substantially decreasing build times by only building what has changed since the last build.

Note: Enabling META_MODE also implies (enables) NO_CLEAN in the buildworld process

Setup

  1. /etc/src-env.conf:

    WITH_META_MODE=YES
  2. kldload filemon

  3. Run make cleanworld once. If objects don't have .meta files then META_MODE won't do the right thing on an incremental build. 1

  4. Follow the FreeBSD Handbook: makeworld instructions.

Caveats


CategoryHowTo

MetaMode (last edited 2021-01-03T02:04:40+0000 by KubilayKocak)