Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

6 changed files with 149 additions and 70 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/1.1.0.tar.gz
/1.*.tar.gz
/libocxl-*.tar.gz

View File

@ -1 +0,0 @@
88b7c45599022bcfb0f427ef0053c6031efa8431 SOURCES/1.1.0.tar.gz

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# libocxl
The libocxl package;
access library which allows to implement a user-space
driver for an OpenCAPI accelerator.

View File

@ -1,68 +0,0 @@
Name: libocxl
Version: 1.1.0
Release: 1%{?dist}
Summary: Allows to implement a user-space driver for an OpenCAPI accelerator
License: ASL 2.0
URL: https://github.com/OpenCAPI/libocxl
Source0: https://github.com/OpenCAPI/libocxl/archive/%{version}.tar.gz
ExclusiveArch: ppc64le
BuildRequires: gcc
BuildRequires: doxygen
%description
Access library which allows to implement a user-space
driver for an OpenCAPI accelerator.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Recommends: %{name}-docs
%package docs
Summary: Documentation files for %{name}
BuildArch: noarch
%description devel
The *-devel package contains header file and man pages for
developing applications that use %{name}.
%description docs
The *-docs package contains doxygen pages for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
LDFLAGS="%{build_ldflags}" CFLAGS="%{build_cflags}" make %{?_smp_mflags} V=1
%install
%make_install PREFIX=%{_prefix}
%files
%license COPYING
%doc README.md
%{_libdir}/libocxl.so.*
%files devel
%{_includedir}/*
%{_libdir}/libocxl.so
%{_mandir}/man3/*
%files docs
%{_pkgdocdir}
%changelog
* Mon Oct 08 2018 Dan Horák <dhorak@redhat.com> 1.1.0-1
- updated to 1.1.0
- Resolves: #1624645
* Thu Jun 07 2018 Dan Horák <dan[at]danny.cz> - 1.0.0-1
- updated to 1.0.0 final
* Tue Apr 10 2018 michel normand <normand@linux.vnet.ibm.com> 1.0.0-0.1
- new package and spec file of libocxl from upstream
url: https://github.com/OpenCAPI/libocxl

141
libocxl.spec Normal file
View File

@ -0,0 +1,141 @@
Name: libocxl
Version: 1.2.1
Release: 9%{?dist}
Summary: Allows to implement a user-space driver for an OpenCAPI accelerator
License: Apache-2.0
URL: https://github.com/OpenCAPI/libocxl
Source0: https://github.com/OpenCAPI/libocxl/archive/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: ppc64le
BuildRequires: gcc
BuildRequires: doxygen
BuildRequires: make
BuildRequires: perl(English)
# for tests
BuildRequires: fuse-devel
%description
Access library which allows to implement a user-space
driver for an OpenCAPI accelerator.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Recommends: %{name}-docs
%package docs
Summary: Documentation files for %{name}
BuildArch: noarch
%description devel
The *-devel package contains header file and man pages for
developing applications that use %{name}.
%description docs
The *-docs package contains doxygen pages for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
%set_build_flags
%make_build
%install
%make_install PREFIX=%{_prefix}
%check
%undefine _auto_set_build_flags
make testobj/unittests V=1
%files
%license COPYING
%doc README.md
%{_libdir}/libocxl.so.*
%files devel
%{_includedir}/*
%{_libdir}/libocxl.so
%{_mandir}/man3/*
%files docs
%{_pkgdocdir}
%changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.1-9
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 16 2021 Dan Horák <dan[at]danny.cz> - 1.2.1-1
- updated to 1.2.1
* Tue May 11 2021 Timm Bäder <tbaeder@redhat.com> - 1.1.0-8
- Use %%make_build macro
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 25 2020 Michel Normand <normand@linux.vnet.ibm.com> 1.1.0-5
- Add remove_2_backslashes_in_shell_call.patch
Add remove_eng_inc_in_version_pl.patch
to avoid f33 build failure
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Aug 31 2018 michel normand <normand@linux.vnet.ibm.com> 1.1.0-1
- updated to 1.1.0
Requires Linux headers >= 4.18 to compile
Add support for POWER9 wake_host_thread/wait
(requires a compiler with GNU extensions for inline assembler)
Generate warnings on ignored return values
Use opaque structs rather than void pointers for ocxl handles
(this should be transparent to callers)
Verified GCC 4-8 & Clang 3.6.2-6.0.1 produce correct machine code
for OpenCAPI, and whitelisted them
Verify & enforce that we compile with strict ANSI C (2011)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 07 2018 Dan Horák <dan[at]danny.cz> - 1.0.0-1
- updated to 1.0.0 final
* Tue Apr 10 2018 michel normand <normand@linux.vnet.ibm.com> 1.0.0-0.1
- new package and spec file of libocxl from upstream
url: https://github.com/OpenCAPI/libocxl

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libocxl-1.2.1.tar.gz) = 07f1fa173b8a866b076b13b8b0fde4d9a72444e9a2694d71f5866144f163a2ba01a2b07aefa6b960a07950e6768e4c1c747cceeb47e6a27a5dcfa48b9c156f56