13 Star 45 Fork 20

Gitee 极速下载 / TimescaleDB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/timescale/timescaledb/
克隆/下载
bootstrap 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Alexander Kuzmenkov 提交于 2021-11-15 14:10 . Add shellcheck to CI
#!/usr/bin/env bash
# This bootstrap scripts set up the build environment for TimescaleDB
# Any flags will be passed on to CMake, e.g.,
# ./bootstrap -DCMAKE_BUILD_TYPE="Debug"
## Check to make cmake is installed
if ! command -v cmake >/dev/null 2>&1; then
echo "cmake is required to build TimescaleDB. Please install via your system's preferred method."
exit 1
fi
BUILD_DIR=${BUILD_DIR:-./build}
BUILD_FORCE_REMOVE=${BUILD_FORCE_REMOVE:-false}
SRC_DIR=$(dirname $0)
if [[ ! ${SRC_DIR} == /* ]]; then
SRC_DIR=$(pwd)/${SRC_DIR}
fi
if [ ${BUILD_FORCE_REMOVE} == "true" ]; then
rm -fr ${BUILD_DIR}
elif [ -d ${BUILD_DIR} ]; then
echo "Build system already initialized in ${BUILD_DIR}"
read -r -n 1 -p "Do you want to remove it (this is IMMEDIATE and PERMANENT), y/n? " choice
echo ""
if [ $choice == "y" ]; then
rm -fr ${BUILD_DIR}
else
exit
fi
fi
set -e
set -u
mkdir -p ${BUILD_DIR} && \
cd ${BUILD_DIR} && \
cmake ${SRC_DIR} "$@"
echo "TimescaleDB build system initialized in ${BUILD_DIR}. To compile, do:"
echo -e "\033[1mcd ${BUILD_DIR} && make\033[0m"
C
1
https://gitee.com/mirrors/TimescaleDB.git
git@gitee.com:mirrors/TimescaleDB.git
mirrors
TimescaleDB
TimescaleDB
main

搜索帮助