Accepting request 511187 from hardware:sdr
OBS-URL: https://build.opensuse.org/request/show/511187 OBS-URL: https://build.opensuse.org/package/show/science/clFFT?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
b74a2a5f6b
commit
1cf3a54bdb
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 18 11:25:15 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Split shared libraries
|
||||||
|
- Do not build on unsupported (32-bit) architectures
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 13 21:09:37 UTC 2017 - mardnh@gmx.de
|
Thu Jul 13 21:09:37 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
66
clFFT.spec
66
clFFT.spec
@@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package clFFT
|
# spec file for package clFFT
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +18,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define sover 2
|
%define sover 2
|
||||||
%define libname lib%{name}%{sover}
|
%define libclfft lib%{name}%{sover}
|
||||||
|
%define libtimer libStatTimer%{sover}
|
||||||
Name: clFFT
|
Name: clFFT
|
||||||
Version: 2.12.2
|
Version: 2.12.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -31,12 +33,12 @@ Source1: clFFT-client.1
|
|||||||
Patch0: fix-client-no-symlink.patch
|
Patch0: fix-client-no-symlink.patch
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
#BuildRequires: doxygen
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: opencl-headers
|
BuildRequires: opencl-headers
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(OpenCL)
|
BuildRequires: pkgconfig(OpenCL)
|
||||||
BuildRequires: pkgconfig(fftw3)
|
BuildRequires: pkgconfig(fftw3)
|
||||||
|
ExcludeArch: %{ix86} %{arm}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The clFFT library is an open source OpenCL library implementation of discrete
|
The clFFT library is an open source OpenCL library implementation of discrete
|
||||||
@@ -55,17 +57,18 @@ Fast Fourier Transforms, which:
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libclfft
|
Summary: Development files for libclfft
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libclfft} = %{version}
|
||||||
|
Requires: %{libtimer} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libraries and header files for developing applications that want to
|
Libraries and header files for developing applications that want to
|
||||||
make use of libclFFT.
|
make use of libclFFT.
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libclfft}
|
||||||
Summary: Library for libclfft
|
Summary: Library for libclfft
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libclfft}
|
||||||
The clFFT library is an open source OpenCL library implementation of discrete
|
The clFFT library is an open source OpenCL library implementation of discrete
|
||||||
Fast Fourier Transforms, which:
|
Fast Fourier Transforms, which:
|
||||||
* Provides a fast and accurate platform for calculating discrete FFTs.
|
* Provides a fast and accurate platform for calculating discrete FFTs.
|
||||||
@@ -79,7 +82,27 @@ Fast Fourier Transforms, which:
|
|||||||
* Supports dimension lengths that can be any mix of powers of 2, 3, and 5.
|
* Supports dimension lengths that can be any mix of powers of 2, 3, and 5.
|
||||||
* Supports single and double precision floating point formats.
|
* Supports single and double precision floating point formats.
|
||||||
|
|
||||||
This subpackage provides the shared library.
|
This subpackage provides shared library clFFT library
|
||||||
|
|
||||||
|
%package -n %{libtimer}
|
||||||
|
Summary: Library for libclfft
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libtimer}
|
||||||
|
The clFFT library is an open source OpenCL library implementation of discrete
|
||||||
|
Fast Fourier Transforms, which:
|
||||||
|
* Provides a fast and accurate platform for calculating discrete FFTs.
|
||||||
|
* Works on CPU or GPU backends.
|
||||||
|
* Supports in-place or out-of-place transforms.
|
||||||
|
* Supports 1D, 2D, and 3D transforms with a batch size that can be greater
|
||||||
|
than 1.
|
||||||
|
* Supports planar (real and complex components in separate arrays) and
|
||||||
|
interleaved (real and complex components as a pair contiguous in memory)
|
||||||
|
formats.
|
||||||
|
* Supports dimension lengths that can be any mix of powers of 2, 3, and 5.
|
||||||
|
* Supports single and double precision floating point formats.
|
||||||
|
|
||||||
|
This subpackage provides shared libStatTimer library
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@@ -88,32 +111,37 @@ This subpackage provides the shared library.
|
|||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
%cmake \
|
%cmake \
|
||||||
-DBoost_USE_STATIC_LIBS=OFF \
|
-DBoost_USE_STATIC_LIBS=OFF \
|
||||||
-DBUILD_CLIENT=ON \
|
-DBUILD_CLIENT=ON \
|
||||||
-DBUILD_EXAMPLES=OFF \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DBUILD_LOADLIBRARIES=ON \
|
-DBUILD_LOADLIBRARIES=ON \
|
||||||
-DBUILD_RUNTIME=ON \
|
-DBUILD_RUNTIME=ON \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DBUILD_TEST=OFF
|
-DBUILD_TEST=OFF
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd src
|
cd src
|
||||||
%cmake_install
|
%cmake_install
|
||||||
install -d -m0755 %{buildroot}%{_mandir}/man1/
|
install -Dpm0644 %{SOURCE1} \
|
||||||
install -m0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/
|
%{buildroot}%{_mandir}/man1/clFFT-client.1
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libclfft} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%post -n %{libtimer} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libclfft} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libtimer} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/clFFT-client
|
%{_bindir}/clFFT-client
|
||||||
%{_mandir}/man1/clFFT-client.1%{ext_man}
|
%{_mandir}/man1/clFFT-client.1%{ext_man}
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libclfft}
|
||||||
%doc CHANGELOG LICENSE NOTICE ReleaseNotes.txt
|
%doc CHANGELOG LICENSE NOTICE ReleaseNotes.txt
|
||||||
%{_libdir}/libclFFT.so.%{sover}*
|
%{_libdir}/libclFFT.so.%{sover}*
|
||||||
%{_libdir}/libStatTimer.so.*
|
|
||||||
|
%files -n %{libtimer}
|
||||||
|
%doc CHANGELOG LICENSE NOTICE ReleaseNotes.txt
|
||||||
|
%{_libdir}/libStatTimer.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libclFFT.so
|
%{_libdir}/libclFFT.so
|
||||||
|
Reference in New Issue
Block a user