File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ if [[ -d storage/columnstore/columnstore/debian ]]; then
22
22
cp -v storage/columnstore/columnstore/debian/mariadb-plugin-columnstore.* debian/
23
23
echo >> debian/control
24
24
cat storage/columnstore/columnstore/debian/control >> debian/control
25
- # Don't build ColumnStore as part of the native build, only build it when triggered
26
- # by autobake-deb.sh
27
- sed ' s|#CMAKEFLAGS += -DPLUGIN_COLUMNSTORE=YES|CMAKEFLAGS += -DPLUGIN_COLUMNSTORE=YES| ' -i debian/rules
25
+ # ColumnStore is explcitly disabled in the native build, so allow it now
26
+ # when build it when triggered by autobake-deb.sh
27
+ sed ' / -DPLUGIN_COLUMNSTORE=NO/d ' -i debian/rules
28
28
fi
29
29
30
30
# General CI optimizations to keep build output smaller
36
36
37
37
# MCOL-4149: ColumnStore builds are so slow and big that they must be skipped on
38
38
# both Travis-CI and Gitlab-CI
39
- sed ' s|-DPLUGIN_COLUMNSTORE=YES| -DPLUGIN_COLUMNSTORE=NO|' -i debian/rules
39
+ sed ' s|$(CMAKEFLAGS)|$(CMAKEFLAGS) -DPLUGIN_COLUMNSTORE=NO|' -i debian/rules
40
40
sed " /Package: mariadb-plugin-columnstore/,/^$/d" -i debian/control
41
41
fi
42
42
Original file line number Diff line number Diff line change 51
51
# ColumnStore only attempts to build on a few platforms as dictated by CMake checks
52
52
# Also note in debian/control the CS-only build deps marked '[amd64]'
53
53
ifeq ($(DEB_HOST_ARCH ) ,$(filter $(DEB_HOST_ARCH ) ,amd64) )
54
- # Don't build ColumnStore as part of the native build, only build it when triggered
55
- # by autobake-deb.sh. Saves build time and disk space.
56
- # CMAKEFLAGS += -DPLUGIN_COLUMNSTORE=YES
54
+ CMAKEFLAGS += -DPLUGIN_COLUMNSTORE=YES
57
55
endif
58
56
59
57
# Add extra flag to avoid WolfSSL code crashing the entire mariadbd on s390x. This
@@ -87,6 +85,8 @@ ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
87
85
dh_auto_build --builddirectory=builddir-native -- import_executables
88
86
endif
89
87
88
+ # Don't build ColumnStore as part of the native build, only build it when
89
+ # triggered by autobake-deb.sh. Saves build time and disk space.
90
90
mkdir -p $(BUILDDIR) && cd $(BUILDDIR) && \
91
91
sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin"} \
92
92
CC=${CC} \
@@ -101,6 +101,7 @@ endif
101
101
-DPLUGIN_TOKUDB=NO \
102
102
-DPLUGIN_CASSANDRA=NO \
103
103
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \
104
+ -DPLUGIN_COLUMNSTORE=NO \
104
105
-DDEB=$(DEB_VENDOR) ..'
105
106
106
107
# This is needed, otherwise 'make test' will run before binaries have been built
You can’t perform that action at this time.
0 commit comments