[med-svn] [Git][med-team/pbcopper][master] 2 commits: Fix simde build for ppc64el
Andreas Tille
gitlab at salsa.debian.org
Tue May 26 12:26:38 BST 2020
Andreas Tille pushed to branch master at Debian Med / pbcopper
Commits:
825d691b by Andreas Tille at 2020-05-26T12:54:12+02:00
Fix simde build for ppc64el
- - - - -
5deb6adb by Andreas Tille at 2020-05-26T13:24:11+02:00
Enable building shared and static lib
- - - - -
5 changed files:
- debian/changelog
- debian/patches/series
- + debian/patches/simde-ppc64el.patch
- debian/patches/simde → debian/patches/simde.patch
- + debian/patches/static+shared_lib.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -5,8 +5,10 @@ pbcopper (1.6.0+dfsg-2) UNRELEASED; urgency=medium
* d-shlibs requires explicitly Section: libs
* Restrict architectures to 64bit
Closes: #960219
+ * Fix simde build for ppc64el (thanks to Michael Hudson-Doyle for the patch)
+ Closes: #961581
- -- Andreas Tille <tille at debian.org> Sun, 10 May 2020 21:51:35 +0200
+ -- Andreas Tille <tille at debian.org> Tue, 26 May 2020 12:54:54 +0200
pbcopper (1.6.0+dfsg-1) unstable; urgency=medium
=====================================
debian/patches/series
=====================================
@@ -1,4 +1,6 @@
# git-version.patch
skip_test_relying_on_clock.patch
meson.patch
-simde
+simde.patch
+simde-ppc64el.patch
+static+shared_lib.patch
=====================================
debian/patches/simde-ppc64el.patch
=====================================
@@ -0,0 +1,29 @@
+From: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
+Date: Tue, 26 May 2020 22:00:48 +1200
+Bug-Debian: https://bugs.debian.org/961581
+Description: Fix simde build for ppc64el
+
+--- a/src/align/cssw/ssw.c
++++ b/src/align/cssw/ssw.c
+@@ -35,6 +35,9 @@
+ *
+ */
+
++#ifdef __powerpc64__
++#define SIMDE_NO_NATIVE
++#endif
+ #define SIMDE_ENABLE_NATIVE_ALIASES
+ #include "simde/x86/sse2.h"
+ #include <stdint.h>
+--- a/src/align/cssw/ssw.h
++++ b/src/align/cssw/ssw.h
+@@ -11,6 +11,9 @@
+ #ifndef SSW_H
+ #define SSW_H
+
++#ifdef __powerpc64__
++#define SIMDE_NO_NATIVE
++#endif
+ #define SIMDE_ENABLE_NATIVE_ALIASES
+ #include "simde/x86/sse2.h"
+ #include <stdint.h>
=====================================
debian/patches/simde → debian/patches/simde.patch
=====================================
=====================================
debian/patches/static+shared_lib.patch
=====================================
@@ -0,0 +1,14 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 26 May 2020 12:54:54 +0200
+Description: Enable building shared and static lib
+
+--- a/meson.build
++++ b/meson.build
+@@ -8,6 +8,7 @@ project(
+ 'cpp_std=c++14',
+ 'c_std=c11',
+ 'b_ndebug=if-release'],
++ default_options : ['default_library=both'],
+ license : 'BSD-3',
+ meson_version : '>= 0.46.0')
+
View it on GitLab: https://salsa.debian.org/med-team/pbcopper/-/compare/f94f358aa6553d3ba3256ac35d9e970ba58f09a3...5deb6adbf416e4805cb417ee8a8d41835b8d986c
--
View it on GitLab: https://salsa.debian.org/med-team/pbcopper/-/compare/f94f358aa6553d3ba3256ac35d9e970ba58f09a3...5deb6adbf416e4805cb417ee8a8d41835b8d986c
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/20200526/929a190e/attachment-0001.html>
More information about the debian-med-commit
mailing list