Updated libraries and version

This commit is contained in:
wolverindev
2018-07-12 21:13:30 +01:00
parent 1e6867a003
commit 93e1429f2e
20 changed files with 99 additions and 10 deletions
+24
View File
@@ -25,3 +25,27 @@
[submodule "libraries/event"]
path = libraries/event
url = https://github.com/libevent/libevent.git
[submodule "TeaSpeak"]
path = TeaSpeak
url = http://git.mcgalaxy.de:8090/WolverinDEV/TeaSpeak.git
[submodule "libraries/spdlog"]
path = libraries/spdlog
url = http://git.mcgalaxy.de:8090/WolverinDEV/spdlog.git
[submodule "libraries/StringVariable"]
path = libraries/StringVariable
url = https://github.com/WolverinDEV/StringVariable.git
[submodule "libraries/ed25519"]
path = libraries/ed25519
url = https://github.com/WolverinDEV/ed25519.git
[submodule "libraries/breakpad"]
path = libraries/breakpad
url = https://chromium.googlesource.com/breakpad/breakpad
[submodule "mysqlconnector"]
path = mysqlconnector
url = https://github.com/mysql/mysql-connector-cpp.git
[submodule "libraries/mysqlconnector"]
path = libraries/mysqlconnector
url = https://github.com/mysql/mysql-connector-cpp.git
[submodule "libraries/boringssl"]
path = libraries/boringssl
url = https://boringssl.googlesource.com/boringssl
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
while read path_key path
do
url_key=$(echo $path_key | sed 's/\.path/.url/')
url=$(git config -f .gitmodules --get "$url_key")
git submodule add $url $path
done
Submodule libraries/boringssl added at e0afc85719
Submodule libraries/breakpad added at ecbbfbeb9d
+3
View File
@@ -0,0 +1,3 @@
mkdir -p CXXTerminal/build event/build jsoncpp/build opus/build opusfile/build Thread-Pool/build tomcrypt/build tommath/build yaml-cpp/build
+1
Submodule libraries/ed25519 added at 98bd4f3ec6
Submodule libraries/opusfile added at 189647328c
+4 -1
View File
@@ -1,4 +1,7 @@
sudo apt-get install libssl-dev
sudo apt-get install libevent-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install libevent-dev
sudo apt-get install autotools-dev
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install libmysqlclient-dev
+42
View File
@@ -1,2 +1,44 @@
Before you're doing something:
git submodule update --remote
git submodule update --remote -f --merge --recursive
Build everythink with C++ ABI = 0
(yaml-cpp needs CMakeLists.txt entry)
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
For jsoncpp:
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
NOTE: May was CXXFLAGS (without the underscore)
For yaml:
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=Release
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fPIC"
For breakpad:
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
mkdir build && cd build
../configure
make CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11"
For MySQL:
git submodule update --init
mkdir build && cd build
cmake .. -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -static-libgcc -static-libstdc++" -DWITH_JDBC=ON
make -j 12
For boringssl:
cmake .. -DBUILD_SHARED_LIBS=ON
make -j 8
Instal protobuf:
sudo apt-get install -y git autoconf automake libtool curl make g++ unzip
git clone https://github.com/google/protobuf.git
cd protobuf/
./autogen.sh
./configure
make
make check
sudo make install