Packaging improvements
This gathers a couple of changes related to packaging.
First of all it makes it possible for the tests
folder to be configurable independently: the rationale is to be able to either test the build "in-tree", or an arbitrary install folder.
Then I introduced a "build" step which creates two packages:
- a shared build of parcoach (the preferred way to use it, it relies on the fact that the LLVM shared lib is installed)
- a static build or parcoach (~100MB, but no dependency on LLVM, just relatively standard libraries) As well as two tests for these packages.
Finally I introduced a -parcoach-version
option (I can't really use -version
since it's already registered by opt
).