mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 20:05:10 +00:00
* 'debian-ubuntu-build-fixes-v2' of https://github.com/syuu1228/scylla:
dist/debian: build only scylla, iotune
dist/debian: switch to boost-1.65
dist/debian: switch to gcc-7.3
(cherry picked from commit bb4b1f0e91)
30 lines
841 B
Makefile
Executable File
30 lines
841 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export PYBUILD_DISABLE=1
|
|
|
|
override_dh_auto_configure:
|
|
./configure.py --with=scylla --with=iotune --enable-dpdk --mode=release --static-thrift --static-boost --static-yaml-cpp --compiler=@@COMPILER@@ --cflags="-I/opt/scylladb/include -L/opt/scylladb/lib/x86-linux-gnu/" --ldflags="-Wl,-rpath=/opt/scylladb/lib"
|
|
|
|
override_dh_auto_build:
|
|
PATH="/opt/scylladb/bin:$$PATH" ninja
|
|
|
|
override_dh_auto_clean:
|
|
rm -rf build/release seastar/build
|
|
rm -rf Cql.tokens
|
|
rm -rf build.ninja seastar/build.ninja
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start @@DH_INSTALLINIT@@
|
|
@@INSTALL_HK_DAILY_INIT@@
|
|
@@INSTALL_HK_RESTART_INIT@@
|
|
@@INSTALL_FSTRIM@@
|
|
@@INSTALL_NODE_EXPORTER@@
|
|
|
|
override_dh_installcron:
|
|
dh_installcron
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=scylla-server-dbg
|
|
%:
|
|
dh $@ --with-python3 --buildsystem=pybuild
|