Changes between Initial Version and Version 1 of BuildSystemTheory


Ignore:
Timestamp:
2010-11-27T23:12:48Z (14 years ago)
Author:
gdt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildSystemTheory

    v1 v1  
     1= Build Types and Goals =
     2
     3== Novice User ==
     4
     5In this build type, a user downloads the tahoe source and everything is as automatic as possible.   Internet access is assumed, and there is nothing wrong with using it.
     6
     7== Developer ==
     8
     9In this build type, someone would like to make changes to tahoe, and gets source from darcs/git or from a tarball.   TODO
     10
     11== Packaging System ==
     12
     13In this build type, the build user is a packager of rpms/debs or pkgsrc.  Rather than convenience, the concern is a stable and repeatable build that produces exactly the same output bits regardless of which prereqs were already installed.  Using the network is not acceptable.
     14
     15Within a packaging system, there are typically build phases, loosely derived from how autoconf works.
     16
     17 * fetch: obtain the "distfiles" (tarballs published by e.g. the tahoe project)
     18 * patch: apply OS-local/pkgsrc-local changes (goal is to drive these to zero)
     19 * configure: search for dependencies and configure paths
     20 * build: compile sources to object form, run nroff to make man pages, etc.
     21 * install: place bits either in the running system or in a destdir, suitable for running
     22 * package: create a binary package from the installed bits