mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Install libsodium from apt instead of from source.
This commit is contained in:
parent
f148d5bd0a
commit
b004736830
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user