diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
commit | 3f619478f796eddbba6e39502fe941b285dd97b1 (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /libmariadb/benchmark/build.sh | |
parent | Initial commit. (diff) | |
download | mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | libmariadb/benchmark/build.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libmariadb/benchmark/build.sh b/libmariadb/benchmark/build.sh new file mode 100755 index 00000000..f9a520fb --- /dev/null +++ b/libmariadb/benchmark/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -ex + +mkdir bld +cd bld +sudo cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local +sudo cmake --build . --config Release --target install +sudo apt-get -f -y install linux-tools-common linux-gcp linux-tools-$(uname -r) + +echo $LD_LIBRARY_PATH +export LD_LIBRARY_PATH=/usr/local/lib + +sudo install /usr/local/lib/mariadb/libmariadb.so /usr/lib +sudo install -d /usr/lib/mariadb +sudo install -d /usr/lib/mariadb/plugin + + +sudo apt install libmysqlclient-dev |