#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ -Scmake+ninja -Dcmake override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_INCLUDEDIR=include \ -Deigen_SOURCE_PATH=/usr/include/eigen3 \ -Donnxruntime_BUILD_BENCHMARKS=ON \ -Donnxruntime_BUILD_SHARED_LIB=ON \ -Donnxruntime_BUILD_UNIT_TESTS=ON \ -Donnxruntime_DISABLE_ABSEIL=ON \ -Donnxruntime_ENABLE_CPUINFO=ON \ -Donnxruntime_ENABLE_PYTHON=OFF \ -Donnxruntime_ONNX_PROTO_DATA_DIR=/usr/lib/python3/dist-packages \ -Donnxruntime_ONNX_TEST_DATA_DIR=/usr/share/libonnx-testdata/data \ -Donnxruntime_USE_FULL_PROTOBUF=ON \ -Donnxruntime_USE_PREINSTALLED_EIGEN=ON \ -Donnxruntime_USE_XNNPACK=ON \ $(NULL) override_dh_auto_test: # Do NOT run tests, they depend on *.onnx dataset with unclear license # See https://github.com/microsoft/onnxruntime/issues/8963