Since we switched scylla-boost163 which isn't provided by distribution repo, we need to link them statically. Fixes #2946 Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <1510229553-29801-1-git-send-email-syuu@scylladb.com>
28 lines
970 B
Makefile
Executable File
28 lines
970 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
override_dh_auto_configure:
|
|
./configure.py --enable-dpdk --mode=release --static-stdc++ --static-thrift --static-boost --compiler=@@COMPILER@@ --cflags="-I/opt/scylladb/include -L/opt/scylladb/lib" --ldflags="-L/opt/scylladb/lib/x86_64-linux-gnu/"
|
|
|
|
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@@
|
|
dh_installinit --no-start --name scylla-housekeeping-daily @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name scylla-housekeeping-restart @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name scylla-fstrim @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name node-exporter @@DH_INSTALLINIT@@
|
|
|
|
override_dh_installcron:
|
|
dh_installcron
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=scylla-server-dbg
|
|
%:
|
|
dh $@ --with-python3 --buildsystem=pybuild
|