Install libsodium from apt instead of from source.

This commit is contained in:
iphydf 2020-03-22 02:07:56 +00:00
parent f148d5bd0a
commit b004736830
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 1 additions and 10 deletions

View File

@ -19,6 +19,7 @@ jobs:
packages:
- libconfig-dev # For tox-bootstrapd.
- libopus-dev # For toxav.
- libsodium-dev # For toxcore.
- libgtest-dev # For unit tests.
- libvpx-dev # For toxav.
- ninja-build

View File

@ -42,16 +42,6 @@ travis_install() {
make -C "$CACHEDIR/astyle/build/gcc" clean
make -C "$CACHEDIR/astyle/build/gcc" "-j$NPROC"
}
# Install libsodium (not in ubuntu-precise).
[ -f "$CACHEDIR/lib/libsodium.a" ] || {
git clone --depth=1 --branch=stable https://github.com/jedisct1/libsodium ../libsodium
cd ../libsodium # pushd
./autogen.sh
./configure --prefix="$CACHEDIR"
make install "-j$NPROC"
cd - # popd
}
}
run_static_analysis() {