[med-svn] [Git][med-team/libdeflate][master] d/rules: update location of benchmark program

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Jan 3 17:18:14 GMT 2023



Michael R. Crusoe pushed to branch master at Debian Med / libdeflate


Commits:
0c8c6c83 by Michael R. Crusoe at 2023-01-03T18:18:00+01:00
d/rules: update location of benchmark program

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -11,6 +11,7 @@ libdeflate (1.15-1) UNRELEASED; urgency=medium
 
   [ Michael R. Crusoe ]
   * d/rules: build the tests
+  * d/rules: update location of benchmark program
 
  -- Andreas Tille <tille at debian.org>  Tue, 03 Jan 2023 16:21:52 +0100
 


=====================================
debian/rules
=====================================
@@ -23,8 +23,9 @@ ifeq (,$(filter cross,$(DEB_BUILD_PROFILES)))
 		CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)"\
 		V=1 PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp\
 		all
-	if [ -x ./benchmark ] ; then for level in $(shell seq 1 12); do \
-		./benchmark -$${level} ./lib/deflate_compress.c > /dev/null; \
+	if [ -x ./obj-*/programs/benchmark ] ; then for level in $(shell seq 1 12); do \
+		echo Benchmarking level $${level} ; \
+		./obj-*/programs/benchmark -$${level} ./lib/deflate_compress.c > /dev/null; \
 	done; fi
 endif
 	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(PROFILING_FLAG)" \



View it on GitLab: https://salsa.debian.org/med-team/libdeflate/-/commit/0c8c6c8360be670d9366e96cb9f01ecc3eeaaf7e

-- 
View it on GitLab: https://salsa.debian.org/med-team/libdeflate/-/commit/0c8c6c8360be670d9366e96cb9f01ecc3eeaaf7e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230103/601762a5/attachment.htm>


More information about the debian-med-commit mailing list