2023-07-06 18:59:29 +02:00
|
|
|
#! /usr/bin/make -f
|
|
|
|
|
|
|
|
## See debhelper(7) (uncomment to enable).
|
|
|
|
## Output every command that modifies files on the build system.
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
|
2024-07-26 20:53:19 +02:00
|
|
|
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
|
2023-07-06 18:59:29 +02:00
|
|
|
|
2024-07-26 20:53:19 +02:00
|
|
|
override_dh_prep:
|
|
|
|
# amd64 build prep
|
|
|
|
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
|
|
|
|
export RUSTFLAGS = "-C target-cpu=x86-64-v3 -Clinker-plugin-lto -Copt-level=3"
|
|
|
|
endif
|
2023-07-06 18:59:29 +02:00
|
|
|
|
|
|
|
## This here will start the build:
|
|
|
|
%:
|
|
|
|
dh $@
|