1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00

point to openssl location

This commit is contained in:
Leonid Fedorov
2024-08-09 02:43:24 +04:00
parent 17153fd8f0
commit a619fa7061

View File

@@ -37,7 +37,6 @@ make_openssl()
./config CFLAGS="-fPIC -O3" --prefix=/usr/local && \
make -j`nproc` && \
make -j1 install && \
ln -sfv /usr/local/lib64/lib*.so.1.1 /usr/lib64/ && \
cd ../ && \
rm -rf /tmp/*
}
@@ -93,6 +92,8 @@ elif [[ ${ID} == "rocky" ]]; then
dnf install -y -q --allowerasing automake cmake curl dnf gcc git jemalloc-devel jq mono-devel patch perl python3-devel unzip
make_openssl
OPENSSL_FLAGS=' -DOPENSSL_ROOT_DIR=/usr/local/openssl/ '
else
echo "Unsupported distribution. This script only supports Rocky[8|9], Ubuntu [20.04|22.04|24.04] Debian[11|12]"
fi
@@ -124,6 +125,7 @@ cmake -DWITH_PYTHON=ON \
-DWITH_ROCKSDB_EXPERIMENTAL=OFF \
-DWITH_AWS_BACKUP=ON \
${PACKAGES_SUFFIX} \
${OPENSSL_FLAGS} \
../foundationdb-${FDB_VERSION}
message "Compiling sources"