Updated some revs

This commit is contained in:
WolverinDEV 2020-03-02 20:00:38 +01:00
parent 0b502b3d65
commit 6b7dbc57ee
2 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit 5a740e1853417c12f1ded473e6fada6df9734903
Subproject commit 96bb7ff56f1ad9247e6c2cd0d14d86cc4ce59b14

View File

@ -77,13 +77,15 @@ make -j`nproc --all` && \
make install
```
## MySQL (libmaria.so)
## MySQL
```shell script
export openssl_path="$(realpath ~/openssl-prebuild/linux_amd64)" && \
apt-get install -y libncurses5-dev && \
git clone https://github.com/mysql/mysql-server.git && cd mysql-server \
mkdir build_ && cd build_ && \
cmake .. -DBUILD_CONFIG=mysql_release -DWITH_ZLIB=bundled -DDOWNLOAD_BOOST=1 -DWITH_BOOST=`pwd`/boost-library/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-lrt" -DCMAKE_INSTALL_PREFIX=`pwd`/../out/ &&
make mysqlclient -j 32
cmake .. -DBUILD_CONFIG=mysql_release -DWITH_ZLIB=bundled -DDOWNLOAD_BOOST=1 -DWITH_BOOST=`pwd`/boost-library/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-lrt" -DWITH_SSL="$openssl_path" -DCMAKE_INSTALL_PREFIX=`pwd`/../out/ &&
make -j 32 # This will fail, but the client will be builded
cmake --install . # This will fail, but the client should work
```
You may have to do this before (on error `unsupported reloc 42 against global symbol`):
https://bugs.mysql.com/bug.php?id=89391