-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildenv
31 lines (29 loc) · 1018 Bytes
/
buildenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Update bump details accordingly. Use bump check to confirm.
# bump: redis-version /REDIS_VERSION="(.*)"/ https://github.com/redis/redis.git|semver:*
# REDIS_VERSION="V.R.M" # Specify a stable release
# export ZOPEN_STABLE_TAG="v${REDIS_VERSION}"
export ZOPEN_STABLE_URL="https://github.com/redis/redis.git"
export ZOPEN_STABLE_DEPS="make openssl which pkgconfig check_python"
export ZOPEN_BUILD_LINE="STABLE"
export ZOPEN_CATEGORIES="database"
export ZOPEN_CONFIGURE="skip"
export ZOPEN_CHECK_OPTS="test"
export ZOPEN_INSTALL_OPTS="install INSTALL_TOP=\${ZOPEN_INSTALL_DIR}"
export ZOPEN_COMP="CLANG"
zopen_check_results()
{
dir="$1"
pfx="$2"
chk="$1/$2_check.log"
# Echo the following information to gauge build health
echo "actualFailures:0"
echo "totalTests:1"
echo "expectedFailures:0"
echo "expectedTotalTests:1"
}
zopen_get_version()
{
# Modify to echo the version of your tool/library
# Rather than hardcoding the version, obtain the version by running the tool/library
echo "1.0.0"
}