Skip to content

Commit

Permalink
Install libsodium from apt instead of from source.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Mar 22, 2020
1 parent f148d5b commit b004736
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions .travis/cmake-linux
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b004736

Please sign in to comment.