mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
use capnproto 0.7.0 in build scripts
This commit is contained in:
parent
132d40e6a3
commit
fe57d63623
@ -10,7 +10,7 @@ See [the website](http://laminar.ohwg.net) and the [documentation](http://lamina
|
|||||||
|
|
||||||
## Building from source
|
## Building from source
|
||||||
|
|
||||||
First install development packages for `capnproto (git)`, `rapidjson`, `sqlite` and `boost-filesystem` from your distribution's repository or other source. Then:
|
First install development packages for `capnproto (0.7.0)`, `rapidjson`, `sqlite` and `boost-filesystem` from your distribution's repository or other source. Then:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/ohwgiles/laminar.git
|
git clone https://github.com/ohwgiles/laminar.git
|
||||||
|
@ -19,17 +19,17 @@ export PATH=/opt/rh/devtoolset-7/root/usr/bin:\$PATH
|
|||||||
mkdir /build
|
mkdir /build
|
||||||
cd /build
|
cd /build
|
||||||
|
|
||||||
wget -O capnproto.tar.gz https://github.com/capnproto/capnproto/archive/df67f26862c011c6efb31a28fb0d2a2ca1b94ac8.tar.gz
|
wget -O capnproto.tar.gz https://github.com/capnproto/capnproto/archive/v0.7.0.tar.gz
|
||||||
wget -O rapidjson.tar.gz https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz
|
wget -O rapidjson.tar.gz https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz
|
||||||
md5sum -c <<EOF
|
md5sum -c <<EOF
|
||||||
80c28dc26842b84dcbe8d930a97c70cf capnproto.tar.gz
|
a9de5f042f4cf05515c2d7dfc7f5df21 capnproto.tar.gz
|
||||||
badd12c511e081fec6c89c43a7027bce rapidjson.tar.gz
|
badd12c511e081fec6c89c43a7027bce rapidjson.tar.gz
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
tar xzf capnproto.tar.gz
|
tar xzf capnproto.tar.gz
|
||||||
tar xzf rapidjson.tar.gz
|
tar xzf rapidjson.tar.gz
|
||||||
|
|
||||||
cd /build/capnproto-06a7136708955d91f8ddc1fa3d54e620eacba13e/c++/
|
cd /build/capnproto-0.7.0/c++/
|
||||||
cmake3 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
cmake3 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
|
@ -17,17 +17,17 @@ docker run --rm -i -v $SOURCE_DIR:/laminar:ro -v $OUTPUT_DIR:/output $DOCKER_TAG
|
|||||||
mkdir /build
|
mkdir /build
|
||||||
cd /build
|
cd /build
|
||||||
|
|
||||||
wget -O capnproto.tar.gz https://github.com/capnproto/capnproto/archive/df67f26862c011c6efb31a28fb0d2a2ca1b94ac8.tar.gz
|
wget -O capnproto.tar.gz https://github.com/capnproto/capnproto/archive/v0.7.0.tar.gz
|
||||||
wget -O rapidjson.tar.gz https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz
|
wget -O rapidjson.tar.gz https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz
|
||||||
md5sum -c <<EOF
|
md5sum -c <<EOF
|
||||||
80c28dc26842b84dcbe8d930a97c70cf capnproto.tar.gz
|
a9de5f042f4cf05515c2d7dfc7f5df21 capnproto.tar.gz
|
||||||
badd12c511e081fec6c89c43a7027bce rapidjson.tar.gz
|
badd12c511e081fec6c89c43a7027bce rapidjson.tar.gz
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
tar xzf capnproto.tar.gz
|
tar xzf capnproto.tar.gz
|
||||||
tar xzf rapidjson.tar.gz
|
tar xzf rapidjson.tar.gz
|
||||||
|
|
||||||
cd /build/capnproto-06a7136708955d91f8ddc1fa3d54e620eacba13e/c++/
|
cd /build/capnproto-0.7.0/c++/
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
|
Loading…
Reference in New Issue
Block a user