ngs icon indicating copy to clipboard operation
ngs copied to clipboard

Alternative build system

Open outpaddling opened this issue 7 years ago • 0 comments

Background:

We use the cross-platform pkgsrc package manager on CentOS for our research computing service. I have found that the original build system for NGS is very difficult to port to other systems, which would impede the import of a pkgsrc package into the repository. Packages are expected to work on multiple platforms including Linux, NetBSD, SmartOS, etc. before they can be committed.

This fork does not modify any existing files, but adds a set of simple Makefiles with the following advantages:

o Easily ported to any POSIX platform o Tested on CentOS, FreeBSD, Mac OS X, and NetBSD o Respects the environment, so additional compiler flags can be passed to make without modifying the Makefiles o Separate build and install targets o Supports staged installation using DESTDIR (used by many package managers) o Installation follows filesystem hierarchy standard

Further testing is still needed and minor changes will likely be made once we try building SRA against this installation.

I do not intend to support Windows directly with this system, but it should work under Cygwin. I would suggest maintaining a native Windows build system separately if that's needed.

outpaddling avatar Jan 05 '17 21:01 outpaddling