From db33d7e16335b5036e517c51c6c1a8fa94eba810 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 28 Mar 2018 06:00:35 +0000 Subject: [PATCH] Enable libomptarget plugins --- libomp.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/libomp.spec b/libomp.spec index 33cb839..9d2dda3 100644 --- a/libomp.spec +++ b/libomp.spec @@ -1,6 +1,13 @@ +%ifarch ppc64le +%global libomp_arch ppc64 +%else +%global libomp_arch %{_arch} +%endif + + Name: libomp Version: 6.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OpenMP runtime for clang License: NCSA @@ -14,6 +21,7 @@ BuildRequires: elfutils-libelf-devel BuildRequires: perl BuildRequires: perl-Data-Dumper BuildRequires: perl-Encode +BuildRequires: libffi-devel Requires: elfutils-libelf%{?isa} @@ -56,6 +64,9 @@ cd _build %files %{_libdir}/libomp.so %{_libdir}/libomptarget.so +%ifnarch %{arm} %{ix86} +%{_libdir}/libomptarget.rtl.%{libomp_arch}.so +%endif %files devel %{_libdir}/clang/%{version}/include/omp.h @@ -64,6 +75,9 @@ cd _build %endif %changelog +* Wed Mar 28 2018 Tom Stellard - 6.0.0-2 +- Enable libomptarget plugins + * Fri Mar 09 2018 Tom Stellard - 6.0.0-1 - 6.0.0 Release