Skip to content

Instantly share code, notes, and snippets.

@dmacvicar
Created September 21, 2009 22:40
Show Gist options
  • Save dmacvicar/190616 to your computer and use it in GitHub Desktop.
Save dmacvicar/190616 to your computer and use it in GitHub Desktop.
- llvm needs to be found and used if installed in /usr, /usr/local or configurable prefix.
(for example, if installed using packages, llvm binaries will be in /usr/bin and headers in /usr/include)
this is valid for all external libraries.
- make install needs to support DESTDIR. If prefix is set to /opt/rubinius at configure/build time, and make install is called with DESTDIR=/some/root, it should end installed in /some/root/opt/rubinius, this is used by packaging tools to find out which files belong to the package
- snapshots needs to be tagged with a sequencial release number. Even better if foo-x.x.tar.bz2 tarballs are offered from such milestones. That makes easier to build packages (no need to update a git checkout, and makes the package upgradeable)
- need to honor CFLAGS and CXXFLAGS passed from the environment. Distribution pass some standard platform compile flags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment