mdbx: move RPM-related files into subdir to avoid confusion.

Change-Id: I32a9746cfa0124e359010cb2688bd08214c6516f
This commit is contained in:
Leo Yuriev
2018-07-30 14:50:42 +03:00
parent dd4da591af
commit da98692273
4 changed files with 0 additions and 89 deletions

18
packages/rpm/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