Skip to content

Commit

Permalink
chore(ci): switch to submodule source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Nov 21, 2021
1 parent 4c231a9 commit bcf37bc
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions script/dependency.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#!/usr/bin/env bash
# version on submodule must match
# update summodule if you change this
version=0.9.1
echo "$(nproc) thread to build"
curl -O https://capnproto.org/capnproto-c++-${version}.tar.gz
tar zxf capnproto-c++-${version}.tar.gz
cd capnproto-c++-${version}

# build from submodule source, keep same version
echo "$(nproc) threads to build"
cd app/src/main/jni/capnproto/c++
autoreconf -i
./configure
make -j$(nproc)
sudo make install

0 comments on commit bcf37bc

Please sign in to comment.