Accepting request 1129757 from home:badshah400:Staging
A linear algebra library for GPU-based calculations. OBS-URL: https://build.opensuse.org/request/show/1129757 OBS-URL: https://build.opensuse.org/package/show/science/bandicoot?expand=0&rev=1
This commit is contained in:
commit
7fdb5dde8c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
bandicoot-1.11.1.tar.xz
Normal file
3
bandicoot-1.11.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab3b178ab8d675b7c88f293a96c37d3ee59c43893a2a2004b349066247372757
|
||||
size 472824
|
4
bandicoot.changes
Normal file
4
bandicoot.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 10:05:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Initial package.
|
88
bandicoot.spec
Normal file
88
bandicoot.spec
Normal file
@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package bandicoot
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define sover 1
|
||||
%define shlib lib%{name}%{sover}
|
||||
Name: bandicoot
|
||||
Version: 1.11.1
|
||||
Release: 0
|
||||
Summary: C++ library for GPU accelerated linear algebra
|
||||
License: Apache-2.0
|
||||
URL: https://coot.sourceforge.io/
|
||||
Source: https://sourceforge.net/projects/coot/files/%{name}-%{version}.tar.xz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libopenblas_openmp-devel
|
||||
BuildRequires: ocl-icd-devel
|
||||
BuildRequires: opencl-cpp-headers
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(clBLAS)
|
||||
|
||||
%description
|
||||
Bandicoot is a GPU linear algebra library (matrix maths) for the C++ language,
|
||||
aiming towards a good balance between speed and ease of use. It provides
|
||||
high-level syntax and functionality deliberately similar to Matlab.
|
||||
|
||||
%package -n %{shlib}
|
||||
Summary: Shared library for %{name}
|
||||
|
||||
%description -n %{shlib}
|
||||
Bandicoot is a GPU linear algebra library (matrix maths) for the C++ language,
|
||||
aiming towards a good balance between speed and ease of use. It provides
|
||||
high-level syntax and functionality deliberately similar to Matlab.
|
||||
|
||||
This package provides the shared library for %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: Headers and source for developing against %{name}
|
||||
Requires: %{shlib} = %{version}
|
||||
|
||||
%description devel
|
||||
Bandicoot is a GPU linear algebra library (matrix maths) for the C++ language,
|
||||
aiming towards a good balance between speed and ease of use. It provides
|
||||
high-level syntax and functionality deliberately similar to Matlab.
|
||||
|
||||
This package provides headers and sources for developing against %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%cmake -DOPENBLAS_PROVIDES_LAPACK:BOOL=true
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post -n %{shlib} -p /sbin/ldconfig
|
||||
%postun -n %{shlib} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{shlib}
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{_datadir}/Bandicoot/
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/%{name}_bits/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user