refactor: Use cmp instead of msgpack-c for events packing.

This library is better in every way.
This commit is contained in:
iphydf
2022-03-24 18:16:45 +00:00
parent 6749974470
commit ee154da4a9
73 changed files with 1335 additions and 811 deletions
-16
View File
@@ -51,22 +51,6 @@ autoreconf -fi
make -j"$(nproc)" install
cd ..
# Build msgpack
if [ ! -d msgpack-c ]; then
git clone --branch=c-4.0.0 https://github.com/msgpack/msgpack-c.git
fi
rm -rf msgpack-c/build
mkdir -p msgpack-c/build
cd msgpack-c/build
cmake .. \
-DMSGPACK_BUILD_EXAMPLES=OFF \
-DCMAKE_TOOLCHAIN_FILE="$NDK/build/cmake/android.toolchain.cmake" \
-DANDROID_ABI="$ABI" \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_PREFIX_PATH="$PREFIX"
cmake --build . --target install
cd ../..
# Build c-toxcore
rm -rf _build
mkdir -p _build
-1
View File
@@ -11,7 +11,6 @@ brew install \
libconfig \
libsodium \
libvpx \
msgpack \
opus
. ".github/scripts/flags-clang.sh"
-1
View File
@@ -6,7 +6,6 @@ NPROC=$(nproc)
sudo apt-get install -y --no-install-recommends \
libgtest-dev \
libmsgpack-dev \
libopus-dev \
libsodium-dev \
libvpx-dev \
-1
View File
@@ -4,7 +4,6 @@ set -eu
sudo apt-get install -y --no-install-recommends \
libconfig-dev \
libmsgpack-dev \
libopus-dev \
libsodium-dev \
libvpx-dev \