Some script updates

This commit is contained in:
WolverinDEV 2018-08-08 19:51:41 +00:00
parent 5f3c088aec
commit b54894f438
18 changed files with 30 additions and 9 deletions

@ -1 +1 @@
Subproject commit 6628b86d0c9f4b4ca275237d5c3ba6ff55e720ce
Subproject commit b8d071276ac0be01ff93f30a347c1f5371f04d78

8
build_teaspeak.sh Executable file
View File

@ -0,0 +1,8 @@
cd TeaSpeak
if [ -d build ]; then
rm -r build
fi
mkdir build && cd build
cmake .. -DCMAKE_CXX_FLAGS="-I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/" -DDISABLE_CUSTOM_OUTPUT=ON
cmake --build `pwd` --target TeaSpeakServer -- -j 6

@ -1 +1 @@
Subproject commit 43c97648631c22d2ac9439944c7214175eda7605
Subproject commit f8b8024caacbef279cd8951a14afe8fd464cc32a

View File

@ -2,3 +2,4 @@ cd boringssl/build/
sudo apt-get install golang-go
cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE="Release"
make -j 12
#sudo make install

View File

@ -3,4 +3,4 @@ git clone https://chromium.googlesource.com/linux-syscall-support src/third_part
cd build
../configure
make CXXFLAGS="-std=c++11"
#sudo make install
sudo make install

View File

@ -3,4 +3,4 @@ cd CXXTerminal/libraries/
cd ../build/
cmake ..
make -j 12
cd ../../
sudo make install

View File

@ -2,5 +2,6 @@ cd DataPipes/
sudo apt-get install libnice-dev
./build_usrsctp.sh
cd build
cmake .. -DBUILD_TESTS=OFF
cmake .. -DCMAKE_CXX_FLAGS="-I../../boringssl/include/ -DUSE_BORINGSSL -static-libgcc -static-libstdc++" -DBUILD_TESTS=OFF
make -j 12
sudo make install

View File

@ -1,3 +1,4 @@
cd ed25519/build/
cmake ..
make -j 12
sudo make install

View File

@ -1,3 +1,4 @@
cd event/build/
cmake .. -DCMAKE_C_FLAGS="-fPIC"
make -j 12
sudo make install

View File

@ -1,4 +1,4 @@
cd jsoncpp/build
cmake ..
make -j 12 CXX_FLAGS="-std=c++11 -fPIC"
sudo make install

View File

@ -1,3 +1,4 @@
cd mysqlconnector/build
cmake .. -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++" -DWITH_JDBC=ON
make -j 12
sudo make install

View File

@ -3,3 +3,4 @@ cd opus
cd build
../configure
make
sudo make install

View File

@ -3,3 +3,6 @@ cd protobuf
cd build
../configure
make
make check
sudo make install
sudo ldconfig

View File

@ -1,3 +1,4 @@
cd spdlog/build/
cmake ..
make -j 12
sudo make install

View File

@ -1,3 +1,4 @@
cd StringVariable/build/
cmake ..
make -j 12
sudo make install

View File

@ -1,3 +1,4 @@
cd Thread-Pool/build/
cmake ..
make -j 12
sudo make install

View File

@ -1,5 +1,6 @@
cd tommath/build
cmake ..
make -j 12
sudo make install
cd ../../tomcrypt/
chmod +x create_build.sh && ./create_build.sh

View File

@ -1,4 +1,4 @@
cd yaml-cpp/build/
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"
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
make -j 12 CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fPIC"
sudo make install