From 2e460c8cfe9cf2f0dbd5914af357361af48759a61fce32c94de0518df5cd4491 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 23 Oct 2017 14:21:51 +0000 Subject: [PATCH 1/2] Accepting request 535813 from home:mnhauke:branches:science - Fix build for aarch64 OBS-URL: https://build.opensuse.org/request/show/535813 OBS-URL: https://build.opensuse.org/package/show/science/clFFT?expand=0&rev=8 --- clFFT-fix-aarm64.patch | 19 +++++++++++++++++++ clFFT.changes | 5 +++++ clFFT.spec | 4 ++++ 3 files changed, 28 insertions(+) create mode 100644 clFFT-fix-aarm64.patch diff --git a/clFFT-fix-aarm64.patch b/clFFT-fix-aarm64.patch new file mode 100644 index 0000000..c55f4b8 --- /dev/null +++ b/clFFT-fix-aarm64.patch @@ -0,0 +1,19 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index ee2600b..db053a2 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -219,14 +219,6 @@ elseif( CMAKE_COMPILER_IS_GNUCXX ) + add_definitions( "/D_DEBUG" ) + endif( ) + +- if( BUILD64 ) +- set( CMAKE_CXX_FLAGS "-m64 ${CMAKE_CXX_FLAGS}" ) +- set( CMAKE_C_FLAGS "-m64 ${CMAKE_C_FLAGS}" ) +- else( ) +- set( CMAKE_CXX_FLAGS "-m32 ${CMAKE_CXX_FLAGS}" ) +- set( CMAKE_C_FLAGS "-m32 ${CMAKE_C_FLAGS}" ) +- endif( ) +- + if( CODE_COVERAGE ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage" ) + set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage" ) diff --git a/clFFT.changes b/clFFT.changes index 03c3edf..f59e67f 100644 --- a/clFFT.changes +++ b/clFFT.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 22 17:47:07 UTC 2017 - mardnh@gmx.de + +- Fix build for aarch64 + ------------------------------------------------------------------- Wed Oct 11 14:53:51 UTC 2017 - mpluskal@suse.com diff --git a/clFFT.spec b/clFFT.spec index 7d2e511..abb0f12 100644 --- a/clFFT.spec +++ b/clFFT.spec @@ -31,6 +31,7 @@ Url: https://github.com/clMathLibraries/clFFT Source: https://github.com/clMathLibraries/clFFT/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: clFFT-client.1 Patch0: fix-client-no-symlink.patch +Patch1: clFFT-fix-aarm64.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: opencl-headers @@ -108,6 +109,9 @@ This subpackage provides shared libStatTimer library %prep %setup -q %patch0 -p1 +%ifarch aarch64 +%patch1 -p1 +%endif %build cd src From 92db965213e2570f73f35964361355084ea7f6b1c2feee9eab8d9ba89736fd95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 24 Oct 2017 11:27:52 +0000 Subject: [PATCH 2/2] Accepting request 536209 from home:mnhauke:sdr-devel Make Factory check script happy OBS-URL: https://build.opensuse.org/request/show/536209 OBS-URL: https://build.opensuse.org/package/show/science/clFFT?expand=0&rev=9 --- clFFT.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clFFT.changes b/clFFT.changes index f59e67f..ef65de8 100644 --- a/clFFT.changes +++ b/clFFT.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- Sun Oct 22 17:47:07 UTC 2017 - mardnh@gmx.de -- Fix build for aarch64 +- Add patch: + * clFFT-fix-aarm64.patch (Fix build for aarch64) ------------------------------------------------------------------- Wed Oct 11 14:53:51 UTC 2017 - mpluskal@suse.com