summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:42:51 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:42:51 +0000
commit7fb6cd0d8c85829ea2ef9cd03d038b54b32de6e8 (patch)
tree6b30dbed51ce7e57d93e3175a1ae3d3124344d36
parent947f3f3da34b45432ba88b0cc4e77360d83d3761 (diff)
automatic import of libocxlopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--libocxl.spec121
-rw-r--r--sources1
3 files changed, 123 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..183e0f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libocxl-1.2.1.tar.gz
diff --git a/libocxl.spec b/libocxl.spec
new file mode 100644
index 0000000..0f847e8
--- /dev/null
+++ b/libocxl.spec
@@ -0,0 +1,121 @@
+Name: libocxl
+Version: 1.2.1
+Release: 2%{?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}/%{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
+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 Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-2
+- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
+ Related: rhbz#1991688
+
+* Thu Jun 17 2021 Dan Horák <dan[at]danny.cz> - 1.2.1-1
+- updated to 1.2.1 (#1875753)
+- Resolves: #1875753
+
+* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.0-8
+- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
+
+* 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
diff --git a/sources b/sources
new file mode 100644
index 0000000..6b39fb6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+68660b775eb1ef4b6ef7e4e69096e5d5 libocxl-1.2.1.tar.gz