mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
20 lines
408 B
Makefile
Executable File
20 lines
408 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
ifeq ($(DEB_HOST_ARCH),amd64)
|
|
export DEB_CMAKE_FLAGS = -DBUILD_AVX2=on -DBUILD_AVX512=on -DBUILD_AVX512VBMI=off -DFAT_RUNTIME=on
|
|
endif
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DBUILD_STATIC_AND_SHARED=1 \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
${DEB_CMAKE_FLAGS}
|
|
|
|
override_dh_missing:
|
|
dh_missing --fail-missing
|