1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

cmake fix

This commit is contained in:
Leonid Fedorov
2024-11-05 22:10:44 +00:00
parent 326c3f7421
commit b401c9194b

View File

@@ -39,6 +39,7 @@ make_openssl()
make -j1 install && \ make -j1 install && \
cd ../ && \ cd ../ && \
rm -rf /tmp/* rm -rf /tmp/*
message "Done ・ Compiling static openssl"
} }
make_lz4() make_lz4()
@@ -54,6 +55,7 @@ make_lz4()
make install && \ make install && \
cd ../ && \ cd ../ && \
rm -rf /tmp/* rm -rf /tmp/*
message "Done ・ Compiling static lz4"
} }
make_jemalloc() make_jemalloc()
@@ -69,6 +71,8 @@ make_jemalloc()
make -j32 && \ make -j32 && \
cd .. && \ cd .. && \
rm -rf /tmp/* rm -rf /tmp/*
message "Done ・ Compiling jemalloc 5.3"
} }
setup_sphinx() setup_sphinx()
@@ -80,6 +84,7 @@ setup_sphinx()
make_cmake() make_cmake()
{ {
message "Installing CMake "
if [ "$(uname -m)" == "aarch64" ]; then \ if [ "$(uname -m)" == "aarch64" ]; then \
CMAKE_SHA256="4a750db7becfa426a37f702fa87267e836dda6720f2b768e31828f4cb5e2e24b"; \ CMAKE_SHA256="4a750db7becfa426a37f702fa87267e836dda6720f2b768e31828f4cb5e2e24b"; \
else \ else \
@@ -90,8 +95,9 @@ make_cmake()
sha256sum --quiet -c cmake-sha.txt && \ sha256sum --quiet -c cmake-sha.txt && \
mkdir cmake && \ mkdir cmake && \
tar --strip-components 1 --no-same-owner --directory cmake -xf cmake.tar.gz && \ tar --strip-components 1 --no-same-owner --directory cmake -xf cmake.tar.gz && \
cp -r cmake/* /usr/local/ && \ cp -rf cmake/* /usr/ && \
rm -rf /tmp/* rm -rf /tmp/*
message "Done ・ Installing CMake "
} }