Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c2b12c55
Commit
c2b12c55
authored
Jun 03, 2020
by
Sergei Golubchik
Committed by
Oleksandr Byelkin
Jun 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build deb packages for columnstore
parent
09e8c77c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
debian/autobake-deb.sh
debian/autobake-deb.sh
+6
-4
debian/control
debian/control
+1
-0
debian/rules
debian/rules
+4
-6
No files found.
debian/autobake-deb.sh
View file @
c2b12c55
...
...
@@ -31,7 +31,7 @@ then
sed
's|DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test|DINSTALL_MYSQLTESTDIR=false|'
-i
debian/rules
# Also skip building RocksDB, Mroonga etc to save even more time and disk space
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
sed
's|-DDEB|-DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_SPHINX=NO -DDEB|'
-i
debian/rules
fi
# Convert gcc version to numberical value. Format is Mmmpp where M is Major
...
...
@@ -75,6 +75,7 @@ fi
if
[[
$GCCVERSION
-lt
40800
]]
||
[[
$(
arch
)
=
~ i[346]86
]]
||
[[
$TRAVIS
]]
then
sed
'/Package: mariadb-plugin-rocksdb/,/^$/d'
-i
debian/control
sed
-i
's|-DPLUGIN_ROCKSDB=YES|-DPLUGIN_ROCKSDB=NO|'
debian/rules
fi
# If libpcre2-dev is not available (before Debian Stretch and Ubuntu Xenial)
...
...
@@ -94,10 +95,11 @@ then
sed
-i
-e
"/Package: libmariadbd-dev/,/^
$/
d"
debian/control
fi
# Don't package ColumnStore if it wasn't turned on to build
if
[[
$CMAKEFLAGS
!=
*
"COLUMNSTORE=YES"
*
]]
if
[[
$TRAVIS
]]
||
!
[[
$(
arch
)
=
~ 86
]]
then
sed
-i
-e
"/Package: mariadb-plugin-columnstore/,/^
$/
d"
debian/control
sed
-i
-e
"/Package: mariadb-plugin-columnstore/,/^
$/
d"
debian/control
sed
-i
'/flex/d'
debian/control
sed
-i
's|-DPLUGIN_COLUMNSTORE=YES|-DPLUGIN_COLUMNSTORE=NO|'
debian/rules
fi
# Adjust changelog, add new version
...
...
debian/control
View file @
c2b12c55
...
...
@@ -9,6 +9,7 @@ Build-Depends: bison,
dh
-
apparmor
,
dh
-
exec
,
dh
-
systemd
,
flex
,
gdb
,
libaio
-
dev
[
linux
-
any
],
libboost
-
dev
,
...
...
debian/rules
View file @
c2b12c55
...
...
@@ -39,10 +39,6 @@ else
TESTSUITE_FAIL_CMD:=exit 1
endif
ifeq (32,$(DEB_HOST_ARCH_BITS))
CMAKEFLAGS += -DWITHOUT_ROCKSDB=true
endif
# Add extra flag to avoid WolfSSL code crashing the entire mariadbd on s390x. This
# can be removed once upstream has made the code s390x compatible, see
# https://jira.mariadb.org/browse/MDEV-21705 and
...
...
@@ -85,8 +81,10 @@ endif
-DSYSTEM_TYPE="debian-$(DEB_HOST_GNU_SYSTEM)" \
-DCMAKE_SYSTEM_PROCESSOR=$(DEB_HOST_ARCH) \
-DBUILD_CONFIG=mysql_release \
-DWITHOUT_TOKUDB=true \
-DWITHOUT_CASSANDRA=true \
-DPLUGIN_TOKUDB=NO \
-DPLUGIN_CASSANDRA=NO \
-DPLUGIN_COLUMNSTORE=YES \
-DPLUGIN_ROCKSDB=YES \
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \
-WITH_EMBEDDED_SERVER=OFF \
-DDEB=$(DEB_VENDOR) ..'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment