mdbx: переименование packages/rpm.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-11-07 14:19:30 +03:00
parent 3ee223514d
commit 79c65821ee
3 changed files with 0 additions and 0 deletions

18
packages/rpm.obsolete/build.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
CONFIG=$1
if [[ -z "${CONFIG}" ]]; then
CONFIG=Debug
fi
if [[ -r /opt/rh/devtoolset-6/enable ]]; then
source /opt/rh/devtoolset-6/enable
fi
#rm -f -r build || true
mkdir -p cmake-build-${CONFIG}
pushd cmake-build-${CONFIG} &> /dev/null
if [[ ! -r Makefile ]]; then
cmake .. -DCMAKE_BUILD_TYPE=${CONFIG}
fi
make -j8 || exit 1
popd &> /dev/null