[Likwid-commit] [likwid] 01/02: Adding patch for 32 bit builds

Christoph Martin chrism at debian.org
Tue Nov 22 09:20:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

chrism pushed a commit to branch master
in repository likwid.

commit 5f3e503566b0d0b95b194abaf263f928c67349ed
Author: Thomas.Roehl <Thomas.Roehl at googlemail.com>
Date:   Mon Nov 21 13:14:08 2016 +0100

    Adding patch for 32 bit builds
---
 debian/patches/15-32bit-regtypemask.patch | 17 +++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/15-32bit-regtypemask.patch b/debian/patches/15-32bit-regtypemask.patch
new file mode 100644
index 0000000..1223df0
--- /dev/null
+++ b/debian/patches/15-32bit-regtypemask.patch
@@ -0,0 +1,17 @@
+Description: Fixing missing bracket in RegisterTypeMask macro for 32 bit systems
+Author: Thomas Roehl <thomas.roehl at fau.de>
+Last-Update: 2016-11-21
+
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+diff -Nur likwid-4.1.2.orig/src/includes/registers_types.h likwid-4.1.2/src/includes/registers_types.h
+--- likwid-4.1.2.orig/src/includes/registers_types.h	2016-08-08 13:54:06.000000000 +0200
++++ likwid-4.1.2/src/includes/registers_types.h	2016-11-21 11:30:52.766849000 +0100
+@@ -184,7 +184,7 @@
+ #ifdef __x86_64
+ #define REG_TYPE_MASK(type) (type < NUM_UNITS ? (((__uint128_t)1ULL)<<type) : (((__uint128_t)0ULL)<<64|0ULL))
+ #else
+-#define REG_TYPE_MASK(type) (type < NUM_UNITS ? (1ULL<<type) : (0x0ULL)
++#define REG_TYPE_MASK(type) (type < NUM_UNITS ? (1ULL<<type) : (0x0ULL))
+ #endif
+ 
+ typedef struct {
diff --git a/debian/patches/series b/debian/patches/series
index 50a346c..0b70ded 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 #07-bstrlib.patch
 #08-no-stream.patch
 10-debianize.patch
+15-32bit-regtypemask.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/likwid/likwid.git



More information about the Likwid-commit mailing list