File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 31
31
sed ' s|DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test|DINSTALL_MYSQLTESTDIR=false|' -i debian/rules
32
32
33
33
# Also skip building RocksDB, Mroonga etc to save even more time and disk space
34
- sed ' s|-DDEB|-DPLUGIN_MROONGA=NO -DPLUGIN_ROCKSDB=NO - DPLUGIN_SPIDER=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_SPHINX=NO -DDEB|' -i debian/rules
34
+ sed ' s|-DDEB|-DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_SPHINX=NO -DDEB|' -i debian/rules
35
35
fi
36
36
37
37
# Convert gcc version to numberical value. Format is Mmmpp where M is Major
75
75
if [[ $GCCVERSION -lt 40800 ]] || [[ $( arch) =~ i[346]86 ]] || [[ $TRAVIS ]]
76
76
then
77
77
sed ' /Package: mariadb-plugin-rocksdb/,/^$/d' -i debian/control
78
+ sed -i ' s|-DPLUGIN_ROCKSDB=YES|-DPLUGIN_ROCKSDB=NO|' debian/rules
78
79
fi
79
80
80
81
# If libpcre2-dev is not available (before Debian Stretch and Ubuntu Xenial)
94
95
sed -i -e " /Package: libmariadbd-dev/,/^$/d" debian/control
95
96
fi
96
97
97
- # Don't package ColumnStore if it wasn't turned on to build
98
- if [[ $CMAKEFLAGS != * " COLUMNSTORE=YES" * ]]
98
+ if [[ $TRAVIS ]] || ! [[ $( arch) =~ 86 ]]
99
99
then
100
- sed -i -e " /Package: mariadb-plugin-columnstore/,/^$/d" debian/control
100
+ sed -i -e " /Package: mariadb-plugin-columnstore/,/^$/d" debian/control
101
+ sed -i ' /flex/d' debian/control
102
+ sed -i ' s|-DPLUGIN_COLUMNSTORE=YES|-DPLUGIN_COLUMNSTORE=NO|' debian/rules
101
103
fi
102
104
103
105
# Adjust changelog, add new version
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Build-Depends: bison,
9
9
dh-apparmor,
10
10
dh-exec,
11
11
dh-systemd,
12
+ flex,
12
13
gdb,
13
14
libaio-dev [linux-any],
14
15
libboost-dev,
Original file line number Diff line number Diff line change 39
39
TESTSUITE_FAIL_CMD: =exit 1
40
40
endif
41
41
42
- ifeq (32,$(DEB_HOST_ARCH_BITS ) )
43
- CMAKEFLAGS += -DWITHOUT_ROCKSDB=true
44
- endif
45
-
46
42
# Add extra flag to avoid WolfSSL code crashing the entire mariadbd on s390x. This
47
43
# can be removed once upstream has made the code s390x compatible, see
48
44
# https://jira.mariadb.org/browse/MDEV-21705 and
85
81
-DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \
86
82
-DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \
87
83
-DBUILD_CONFIG=mysql_release \
88
- -DWITHOUT_TOKUDB=true \
89
- -DWITHOUT_CASSANDRA=true \
84
+ -DPLUGIN_TOKUDB=NO \
85
+ -DPLUGIN_CASSANDRA=NO \
86
+ -DPLUGIN_COLUMNSTORE=YES \
87
+ -DPLUGIN_ROCKSDB=YES \
90
88
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \
91
89
-WITH_EMBEDDED_SERVER=OFF \
92
90
-DDEB=$(DEB_VENDOR) ..'
You can’t perform that action at this time.
0 commit comments