Enable libomptarget plugins
This commit is contained in:
parent
24964bf44e
commit
db33d7e163
16
libomp.spec
16
libomp.spec
@ -1,6 +1,13 @@
|
|||||||
|
%ifarch ppc64le
|
||||||
|
%global libomp_arch ppc64
|
||||||
|
%else
|
||||||
|
%global libomp_arch %{_arch}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
Name: libomp
|
Name: libomp
|
||||||
Version: 6.0.0
|
Version: 6.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -14,6 +21,7 @@ BuildRequires: elfutils-libelf-devel
|
|||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-Data-Dumper
|
BuildRequires: perl-Data-Dumper
|
||||||
BuildRequires: perl-Encode
|
BuildRequires: perl-Encode
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
|
||||||
Requires: elfutils-libelf%{?isa}
|
Requires: elfutils-libelf%{?isa}
|
||||||
|
|
||||||
@ -56,6 +64,9 @@ cd _build
|
|||||||
%files
|
%files
|
||||||
%{_libdir}/libomp.so
|
%{_libdir}/libomp.so
|
||||||
%{_libdir}/libomptarget.so
|
%{_libdir}/libomptarget.so
|
||||||
|
%ifnarch %{arm} %{ix86}
|
||||||
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/clang/%{version}/include/omp.h
|
%{_libdir}/clang/%{version}/include/omp.h
|
||||||
@ -64,6 +75,9 @@ cd _build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
|
||||||
|
- Enable libomptarget plugins
|
||||||
|
|
||||||
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
|
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
|
||||||
- 6.0.0 Release
|
- 6.0.0 Release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user