Compare commits

..

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

4 changed files with 124 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/v1.7.tar.gz

1
.libcxl.metadata Normal file
View File

@ -0,0 +1 @@
687cc46bdf068b5d398463c167160b2c1a5e13d7 SOURCES/v1.7.tar.gz

122
SPECS/libcxl.spec Normal file
View File

@ -0,0 +1,122 @@
%global soversion 1
Name: libcxl
Version: 1.7
Release: 1%{?dist}
Summary: Coherent accelerator interface
License: ASL 2.0
URL: https://github.com/ibm-capi/libcxl
Source0: https://github.com/ibm-capi/libcxl/archive/v%{version}.tar.gz
ExclusiveArch: %{power64}
BuildRequires: gcc
%description
The coherent accelerator interface is designed to allow the coherent
connection of accelerators (FPGAs and other devices) to a POWER system.
Coherent in this context means that the accelerator and CPUs can both access
system memory directly and with the same effective addresses. IBM refers to
this as the Coherent Accelerator Processor Interface (CAPI). In the Linux
world it is referred to by the name CXL to avoid confusion with the ISDN
CAPI subsystem.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains header file and man pages for
developing applications that use %{name}.
%prep
%setup -q
%build
LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make %{?_smp_mflags} V=1
mkdir -p build/man3
cp -p man3/*.3 build/man3
%install
make DESTDIR=%{buildroot} prefix=/usr install
mkdir -p $RPM_BUILD_ROOT%{_mandir}
cp -a build/man3 $RPM_BUILD_ROOT%{_mandir}/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%doc README.md
%{_libdir}/libcxl.so.*
%files devel
%{_includedir}/*
%{_mandir}/man3/*
%{_libdir}/libcxl.so
%changelog
* Fri May 18 2018 Sinny Kumari <skumari@redhat.com> - 1.7-1
- Resolves RH#1524655
- Rebase to v1.7
- Remove libcxl_sysmacros.patch, available in this rebase version
* Thu Mar 08 2018 Than Ngo <than@redhat.com> - 1.5-4
- fixed bz#1552648 - libcxl: Incomplete Fedora build flags injection
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jun 8 2017 Michel Normand <normand@linux.vnet.ibm.com> 1.5-0
- Update v1.5
* libcxl: Check afu link when read from PSA mmio return all FFs
* Makefile: add -Werror
* Use _DEFAULT_SOURCE rather than _BSD_SOURCE
* Fix sparse warnings
* Added #include <asm/types.h>
* Man pages: document flags CXL_MMIO_{BIG,HOST,LITTLE}_ENDIAN
* Makefile: do not fail if target symlink already exists.
* Man pages: clarify mmio read/write alignment constraints.
* Create LIBSONAME link
* sysfs: Fix a boundary condition check for OUT_OF_RANGE macro
- remove libcxl_create_soname_link.patch part of above update.
- add libcxl_sysmacros.patch to avoid warning at build time
* Fri Jun 10 2016 Than Ngo <than@redhat.com> - 1.4-5
- cleanup specfile
- upload the tarball
* Thu Jun 2 2016 michel normand <normand@linux.vnet.ibm.com> 1.4-4
- Update v1.4
* New API function cxl_get_psl_timebase_synced.
* Simplify implementation of OUT_OF_RANGE macro
* libcxl add install target
* use LDFLAGS from the env
* libcxl set default soname and interface version
* Add extern "C" to libcxl.h for compatibility with C++ projects
* typo error in 3 man pages
* Add SONAME support in Makefile
- remove embeded patches:
libcxl_typo_correction_man_pages.patch
libcxl_add_soname_in_Makefile.patch
- new libcxl_create_soname_link.patch
* Thu Mar 17 2016 michel normand <normand@linux.vnet.ibm.com> 1.3-4
- do cp -p of man page in build section, and add empty lines below.
- this is the initial version before git commit.
* Fri Mar 11 2016 michel normand <normand@linux.vnet.ibm.com> 1.3-3
- add libcxl.so in devel package
* Thu Mar 03 2016 michel normand <normand@linux.vnet.ibm.com> 1.3-2
- do not use releease in VERS_LIB
* Fri Jan 29 2016 michel normand <normand@linux.vnet.ibm.com> 1.3-1
- new package and spec file of libcxl from upstream
url: https://github.com/ibm-capi/libcxl

View File

@ -1 +0,0 @@
libcxl package is retired on c9s for CS-743