Source: armnn
Version: 19.11.1-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

armnn fails to cross build from source, because it fails running tests
despite DEB_BUILD_OPTIONS=nocheck. Please consider applying the attached
patch. Alternatively, consider bumping the debhelper compat level to 13
to make debhelper skip a dh_auto_test override.

Helmut
diff --minimal -Nru armnn-19.11.1/debian/changelog 
armnn-19.11.1/debian/changelog
--- armnn-19.11.1/debian/changelog      2020-04-23 17:18:33.000000000 +0200
+++ armnn-19.11.1/debian/changelog      2020-07-18 15:10:43.000000000 +0200
@@ -1,3 +1,10 @@
+armnn (19.11.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 18 Jul 2020 15:10:43 +0200
+
 armnn (19.11.1-1) unstable; urgency=medium
 
   [ Francis Murtagh ]
diff --minimal -Nru armnn-19.11.1/debian/rules armnn-19.11.1/debian/rules
--- armnn-19.11.1/debian/rules  2020-04-23 17:18:33.000000000 +0200
+++ armnn-19.11.1/debian/rules  2020-07-18 15:10:41.000000000 +0200
@@ -22,15 +22,6 @@
 OPTS+=-DARMCOMPUTECL=1 -DARMCOMPUTE_LIBRARIES='arm_compute;arm_compute_core'
 endif
 
-#skip tests if requested - dh does this for us now?
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#RUNTESTS=yes
-#else
-#RUNTESTS=""
-#endif
-
-
-
 %:
        dh $@ --buildsystem=cmake --builddirectory=build-area
 
@@ -38,4 +29,6 @@
        dh_auto_configure -- $(OPTS) -DBUILD_TESTS=1 -DSHARED_BOOST=ON 
-DARMNNREF=1 -DBUILD_ARMNN_SERIALIZER=1
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        ./build-area/UnitTests  
--run_test=!Compute_ArmComputeCl:!MemCopyClNeon:!CreateWorkloadCl:!ClEndToEnd:!ClLayerSupport:!ClOptimizedNetwork:!ClJsonPrinter:!ClRuntime:!Fp16Support:!OpenClTimerBatchNorm:!ClMemCopy
+endif

Reply via email to