Refactor the build system for Linux and Mac OS X #632
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request changes the build process for Linux and Mac OS X. It no longer co-mingles the build of
libjs1
with the build of Event Store. Instead, when building Event Store, we assume a pre-built version oflibjs1.[so|dylib]
is available insrc/libs/x64/<current distro/version>
.The current distro and version is detected using a modified version of a script by Boundary (Apache license, see
scripts/build-js1/detect-system.sh
). It can also be overridden as the final parameter to the build script.Pre-build versions of
libjs1
are included for:Changes are as follows:
libjs1
built for Amazon Linux 2015.03libjs1
on different Linux distroslibjs1
build script for MacOS Xwerror
flag setting frombuild.sh
- this is now handled by the build scripts forlibjs1
onlylibs/x64/ubuntu-trusty
->ubuntu-14.04
libs/x64/mac
->osx-10.10
The README is updated with the latest build instructions, as well as directing to the new documentation path.