updated jenkins file
This commit is contained in:
+1
-1
Submodule libraries/CXXTerminal updated: bb9ae471a4...13d2119a83
+1
-1
Submodule libraries/DataPipes updated: f8b8024caa...43c9764863
+1
-1
Submodule libraries/boringssl updated: e27793940e...e7b78770ec
+1
-1
Submodule libraries/breakpad updated: 7b98edabb6...948ce04ed7
+2
-1
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p \
|
||||
boringssl/build \
|
||||
@@ -18,7 +19,7 @@ mkdir -p \
|
||||
yaml-cpp/build \
|
||||
protobuf/build
|
||||
|
||||
function exec_script() {
|
||||
function exec_script {
|
||||
echo "Executing ${1}"
|
||||
./${1}
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
+1
-1
Submodule libraries/event updated: ee12c516cf...c3a6fe75e1
+1
-1
Submodule libraries/protobuf updated: 3389bd965b...3d62db3ecd
@@ -1,7 +1,5 @@
|
||||
sudo apt-get install libssl-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
|
||||
sudo apt-get install autogen autotools-dev dh-autoreconf
|
||||
|
||||
@@ -28,9 +28,11 @@ git clone https://chromium.googlesource.com/linux-syscall-support src/third_part
|
||||
make CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11"
|
||||
|
||||
For MySQL:
|
||||
ATTENTION: Its important to use the latest mysql version (5.7)
|
||||
You may have to ling <...>_r.a
|
||||
git submodule update --init
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=1 -static-libgcc -static-libstdc++" -DWITH_JDBC=ON
|
||||
cmake .. -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++" -DWITH_JDBC=ON
|
||||
make -j 12
|
||||
|
||||
For boringssl:
|
||||
|
||||
Reference in New Issue
Block a user