Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
tix-metabuild — build packages from portsSYNOPSIS
tix-metabuild | [--build=triplet] [--cache-package] [--collection=collection] [--destination=directory] [--distclean] [--end=step] [--exec-prefix=prefix] [--generation=level] [--host=triplet] [--hosts=triplets] [--make=path] [--makeflags=makeflags] [--metadata] [--mirror=url] [--mirror-directory=directory] [--packages=packages] [--prefix=prefix] [--randomize] [--release-directory=directory] [--repository=directory] [--start=step] [--sysroot=directory] [--sysroots=directory] [--tar=path] [--target=triplet] [--tmp=directory] ports |
DESCRIPTION
tix-metabuild builds each port in the ports directory and creates a repository with the binary packages. Each port is in its own subdirectory named after it, containing the port(5) The --packages option can be used to select which packages to build. tix-metabuild determines the build order using tix-list-packages(8), and then builds and installs the packages in order using tix-port(8), forwarding all the appropriate options. tix-metabuild is usually invoked through development(7) for the official ports.- --build=triplet
- The platform triplet for the machine the port is built on. (Default: Automatically detected.)
- --cache-package
- Skip the build if the binary package already exists and is the right version.
- --collection=collection
- Install the binary package into this collection created with tix-collection(8). (Default: --sysroot plus --prefix)
- --destination=directory
- The binary package is placed inside this directory.
- --distclean
- Clean the port for distribution. Remove the extraction and all the metadata files. If DEVELOPMENT is true in the port(5), then emit a warning, and do nothing to avoid deleting any in-progress work.
- --end=step
-
Stop the build after this step:
- start
- The start step before anything has happened.
- download
- Download the source code.
- extract
- Extract the source code and apply patches.
- tix-build-start
- The start step in tix-build(8).
- clean, pre-clean
- Clean the source directory before the build.
- configure
- Configure the port.
- build
- Build the port.
- install
- Install the port into the DESTDIR.
- post-install
- Run the post-installation script.
- post-clean
- Clean the source code after the port.
- package
- Create the binary package.
- tix-build-end
- The end step in tix-build(8).
- strip
- Strip the executables in the binary package.
- diff
- Regenerate the patches if in development.
- tix-install
- Install the binary package.
- end
- The end step after everything has happened. (Default)
- --exec-prefix=prefix
- The prefix where architecture dependent files are installed. (Default: --prefix)
- --generation=generation
- Create a binary package in the format of this tix generation level. (Default: 3)
- --host=triplet
- The platform triplet for the machine the port will run on. (Default: --build)
- --hosts=triplets
- Build binary packages for each --host triplet in the space-separated triplets list. The --sysroots option is useful for cross-compilation.
- --make=path
- Which make(1) to use. (Default: MAKE if set and otherwise make(1))
- --makeflags=makeflags
- Override the MAKEFLAGS variable inherited by make.
- --metadata
- After building the packages, run the tix-repository(8) metadata command to generate the tix repository metadata from the binary packages.
- --mirror=url
- First attempt to download the upstream releases from the port's source code mirror at url before attempting the upstream site. The files are copied from the filesystem if the url has no schema.
- --mirror-directory=directory
- Place the downloaded upstream releases in this directory in the layout that can be used as a mirror for the --mirror option. (Default: port.mirror)
- --packages=packages
- Build these packages as evaluated by tix-list-packages(8). The defaullt is ‘all!!’.
- --prefix=prefix
- Build the port into this prefix. (Default: The empty prefix designating the root directory)
- --randomize
- Build the ports in a random order while still respecting the build dependencies.
- --release-directory=release
- Place the binary package inside the $release/repository/$host directory, if the --destination and --repository options are not set.
- --repository=repository
- Place the binary package inside the $repository/$host directory, if the --destination option is not set.
- --start=step
- Start the build at this step (see --end). (Default: start)
- --sysroot=directory
- The system root to use while building and installing the port. The toolchain is wrapped to transparently use this sysroot during the build.
- --sysroots=directory
- In combination with --hosts, use system roots named after the triplets in the directory for cross-compilation.
- --tar=path
- Which tar(1) to use during the build. (Default: tar(1))
- --target=triplet
- The port's outputs targets this platform triplet. (Default: --host)
- --tmp=directory
- Place temporary files in this directory. (Default: TMPDIR if set otherwise /tmp)