forked from pool/clFFT
Accepting request 536290 from science
1 OBS-URL: https://build.opensuse.org/request/show/536290 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clFFT?expand=0&rev=3
This commit is contained in:
commit
da8b37018a
19
clFFT-fix-aarm64.patch
Normal file
19
clFFT-fix-aarm64.patch
Normal file
@ -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" )
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 22 17:47:07 UTC 2017 - mardnh@gmx.de
|
||||
|
||||
- Add patch:
|
||||
* clFFT-fix-aarm64.patch (Fix build for aarch64)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 11 14:53:51 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user