-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildenv
58 lines (46 loc) · 1.35 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# bump: duckdb-version /DUCKDB_VERSION="(.*)"/ https://github.com/duckdb/duckdb.git|semver:*
DUCKDB_VERSION="0.9.2"
export ZOPEN_STABLE_URL="https://github.com/duckdb/duckdb.git"
export ZOPEN_CATEGORIES="database"
export ZOPEN_STABLE_DEPS="cmake make comp_clang ninja zoslib"
export ZOPEN_STABLE_TAG="v$DUCKDB_VERSION"
export ZOPEN_DEV_URL="https://github.com/duckdb/duckdb.git"
export ZOPEN_DEV_DEPS="cmake make comp_clang ninja zoslib"
export ZOPEN_BUILD_LINE="DEV"
export ZOPEN_COMP=CLANG
export ZOPEN_CONFIGURE="cmake"
export ZOPEN_EXTRA_CONFIGURE_OPTS="-DENABLE_SANITIZER=FALSE"
# build -> release
export ZOPEN_MAKE_OPTS="GEN=ninja -j\$ZOPEN_NUM_JOBS -k"
# build -> debug
# export ZOPEN_MAKE_OPTS="GEN=ninja debug -j\$ZOPEN_NUM_JOBS -k"
export ZOPEN_CHECK="./test/unittest"
export ZOPEN_INSTALL="cmake"
export ZOPEN_INSTALL_OPTS="--install ."
# export ZOPEN_EXTRA_LDFLAGS="-v"
zopen_init()
{
# echo "Parallel job to run: $ZOPEN_NUM_JOBS"
}
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"
}
zopen_append_to_env()
{
# echo envars outside of PATH, MANPATH, LIBPATH
}
zopen_append_to_setup()
{
# echo commands that will run when installing via setup.sh
}
zopen_get_version()
{
echo "${DUCKDB_VERSION}"
}