mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
Even after 25bc18b commited, we still see the build error similar to #3036 on
some environment, but not on dh_auto_install, it on dh_auto_test (see #3039).
So we need to disable entire pybuild actions, not just dh_auto_install.
Fixes #3039
Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <1512185097-23828-1-git-send-email-syuu@scylladb.com>
30 lines
986 B
Makefile
Executable File
30 lines
986 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export PYBUILD_DISABLE=1
|
|
|
|
override_dh_auto_configure:
|
|
./configure.py --enable-dpdk --mode=release --static-thrift --static-boost --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@@
|
|
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
|