Compare commits
39 Commits
rawhide
...
main-riscv
Author | SHA1 | Date | |
---|---|---|---|
aaed3eea70 | |||
|
39de68ca87 | ||
|
127d0d3209 | ||
|
2be64e252a | ||
ce2033a12a | |||
5ce3a9d63c | |||
|
9c235395d4 | ||
|
1fcac89e9f | ||
|
a9e2c953f7 | ||
|
041f821601 | ||
|
8f056699c8 | ||
|
336f3f4b85 | ||
|
b9ca94560d | ||
|
ad15cca3b2 | ||
|
9581483688 | ||
|
bf95f20e21 | ||
ea711d0cbc | |||
|
070a9c18a9 | ||
12c79e34b3 | |||
f7b2aa5fbc | |||
|
075db526e7 | ||
|
c5e3e571c1 | ||
|
ee22a23839 | ||
|
7cfd6fed80 | ||
|
d42e16cfa3 | ||
|
bb343d77a1 | ||
|
c559ecca0c | ||
|
81da7e4538 | ||
|
c29cb30511 | ||
|
4e305961cd | ||
|
91dfa8f84a | ||
|
2f463babee | ||
|
8c3e353313 | ||
|
a286411376 | ||
|
b0e0d8b005 | ||
|
561c1d2554 | ||
|
c47cf621db | ||
|
cf6760974f | ||
638b6cb226 |
17
.copr/Makefile
Normal file
17
.copr/Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
|
||||||
|
# See for the --setopt option in the enabling of copr repo see:
|
||||||
|
# https://pagure.io/copr/copr/issue/184
|
||||||
|
|
||||||
|
COPR_USERNAME=$(shell rpm --eval %copr_username)
|
||||||
|
COPR_PROJECT=$(shell rpm --eval %copr_projectname)
|
||||||
|
|
||||||
|
.PHONY: srpm
|
||||||
|
srpm:
|
||||||
|
dnf install -y dnf-plugins-core fedora-packager
|
||||||
|
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d $(COPR_USERNAME)/$(COPR_PROJECT)
|
||||||
|
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
|
||||||
|
rpmbuild \
|
||||||
|
--define "_srcrpmdir $(outdir)" \
|
||||||
|
--define "_sourcedir $(shell pwd)" \
|
||||||
|
--define "_disable_source_fetch 0" \
|
||||||
|
-bs $(spec)
|
233
libomp.spec
233
libomp.spec
@ -1,16 +1,32 @@
|
|||||||
|
%bcond_with snapshot_build
|
||||||
|
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
# Unlock LLVM Snapshot LUA functions
|
||||||
|
%{llvm_sb}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global maj_ver 18
|
||||||
|
%global min_ver 1
|
||||||
|
%global libomp_version %{maj_ver}.%{min_ver}.8
|
||||||
|
#global rc_ver 4
|
||||||
|
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
%global so_suffix %{maj_ver}.%{min_ver}
|
||||||
|
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
%undefine rc_ver
|
||||||
|
%global maj_ver %{llvm_snapshot_version_major}
|
||||||
|
%global libomp_version %{llvm_snapshot_version}
|
||||||
|
%global so_suffix %{maj_ver}.%{min_ver}%{llvm_snapshot_version_suffix}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
%global toolchain clang
|
%global toolchain clang
|
||||||
|
|
||||||
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
|
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
|
||||||
%undefine _include_frame_pointers
|
%undefine _include_frame_pointers
|
||||||
|
|
||||||
%global maj_ver 16
|
|
||||||
%global libomp_version %{maj_ver}.0.1
|
|
||||||
#global rc_ver 4
|
|
||||||
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
%global cmake_srcdir cmake-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
|
|
||||||
|
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
%global libomp_arch ppc64
|
%global libomp_arch ppc64
|
||||||
%else
|
%else
|
||||||
@ -18,21 +34,22 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: libomp
|
Name: libomp
|
||||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||||
Release: 3%{?dist}
|
Release: 2.0.riscv64%{?dist}
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
URL: http://openmp.llvm.org
|
URL: http://openmp.llvm.org
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
Source0: %{llvm_snapshot_source_prefix}openmp-%{llvm_snapshot_yyyymmdd}.src.tar.xz
|
||||||
|
%{llvm_snapshot_extra_source_tags}
|
||||||
|
%else
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
||||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
|
||||||
Source2: release-keys.asc
|
Source2: release-keys.asc
|
||||||
Source3: run-lit-tests
|
%endif
|
||||||
Source4: lit.fedora.cfg.py
|
|
||||||
Source5: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
|
|
||||||
Source6: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
|
|
||||||
|
|
||||||
BuildRequires: clang
|
BuildRequires: clang >= %{maj_ver}
|
||||||
# For clang-offload-packager
|
# For clang-offload-packager
|
||||||
BuildRequires: clang-tools-extra
|
BuildRequires: clang-tools-extra
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -48,12 +65,10 @@ BuildRequires: gnupg2
|
|||||||
|
|
||||||
# libomptarget needs the llvm cmake files
|
# libomptarget needs the llvm cmake files
|
||||||
BuildRequires: llvm-devel
|
BuildRequires: llvm-devel
|
||||||
|
BuildRequires: llvm-cmake-utils
|
||||||
|
|
||||||
Requires: elfutils-libelf%{?isa}
|
Requires: elfutils-libelf%{?isa}
|
||||||
|
|
||||||
# libomp does not support s390x.
|
|
||||||
ExcludeArch: s390x
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenMP runtime for clang.
|
OpenMP runtime for clang.
|
||||||
|
|
||||||
@ -65,41 +80,27 @@ Requires: clang-resource-filesystem%{?isa} = %{version}
|
|||||||
%description devel
|
%description devel
|
||||||
OpenMP header files.
|
OpenMP header files.
|
||||||
|
|
||||||
%package test
|
|
||||||
Summary: OpenMP regression tests
|
|
||||||
Requires: %{name}%{?isa} = %{version}-%{release}
|
|
||||||
Requires: %{name}-devel%{?isa} = %{version}-%{release}
|
|
||||||
Requires: clang
|
|
||||||
Requires: llvm
|
|
||||||
Requires: python3-lit
|
|
||||||
|
|
||||||
%description test
|
|
||||||
OpenMP regression tests
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%if %{without snapshot_build}
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE6}' --data='%{SOURCE5}'
|
%endif
|
||||||
%setup -T -q -b 5 -n %{cmake_srcdir}
|
|
||||||
# TODO: It would be more elegant to set -DLLVM_COMMON_CMAKE_UTILS=%{_builddir}/%{cmake_srcdir},
|
|
||||||
# but this is not a CACHED variable, so we can't actually set it externally :(
|
|
||||||
cd ..
|
|
||||||
mv %{cmake_srcdir} cmake
|
|
||||||
%autosetup -n %{libomp_srcdir} -p2
|
%autosetup -n %{libomp_srcdir} -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
|
||||||
%cmake -GNinja \
|
%cmake -GNinja \
|
||||||
-DLIBOMP_INSTALL_ALIASES=OFF \
|
-DLIBOMP_INSTALL_ALIASES=OFF \
|
||||||
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
|
-DCMAKE_MODULE_PATH=%{_datadir}/llvm/cmake/Modules \
|
||||||
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/clang/%{maj_ver}/include \
|
-DCMAKE_INSTALL_INCLUDEDIR=%{_prefix}/lib/clang/%{maj_ver}/include \
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
-DOPENMP_LIBDIR_SUFFIX=64 \
|
-DOPENMP_LIBDIR_SUFFIX=64 \
|
||||||
%else
|
%else
|
||||||
-DOPENMP_LIBDIR_SUFFIX= \
|
-DOPENMP_LIBDIR_SUFFIX= \
|
||||||
%endif
|
%endif
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
%if %{with snapshot_build}
|
||||||
-DLIBOMP_HAVE_VERSION_SCRIPT_FLAG:BOOL=ON
|
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
|
||||||
|
%endif
|
||||||
|
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -107,30 +108,6 @@ mv %{cmake_srcdir} cmake
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
# Test package setup
|
|
||||||
%global libomp_srcdir %{_datadir}/libomp/src/
|
|
||||||
%global libomp_testdir %{libomp_srcdir}/runtime/test/
|
|
||||||
%global lit_cfg %{libomp_testdir}/%{_arch}.site.cfg.py
|
|
||||||
%global lit_fedora_cfg %{_datadir}/libomp/lit.fedora.cfg.py
|
|
||||||
|
|
||||||
install -d %{buildroot}%{libomp_srcdir}/runtime
|
|
||||||
cp -R runtime/test %{buildroot}%{libomp_srcdir}/runtime
|
|
||||||
cp -R runtime/src %{buildroot}%{libomp_srcdir}/runtime
|
|
||||||
|
|
||||||
# Generate lit config files. Strip off the last line that initiates the
|
|
||||||
# test run, so we can customize the configuration.
|
|
||||||
head -n -1 %{_vpath_builddir}/runtime/test/lit.site.cfg >> %{buildroot}%{lit_cfg}
|
|
||||||
|
|
||||||
# Install custom fedora config file
|
|
||||||
cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg}
|
|
||||||
|
|
||||||
# Patch lit config files to load custom fedora config
|
|
||||||
echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> %{buildroot}%{lit_cfg}
|
|
||||||
|
|
||||||
# Install test script
|
|
||||||
install -d %{buildroot}%{_libexecdir}/tests/libomp
|
|
||||||
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/libomp
|
|
||||||
|
|
||||||
# Remove static libraries with equivalent shared libraries
|
# Remove static libraries with equivalent shared libraries
|
||||||
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||||
|
|
||||||
@ -146,42 +123,134 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|||||||
%endif
|
%endif
|
||||||
%ifnarch %{ix86} %{arm}
|
%ifnarch %{ix86} %{arm}
|
||||||
# libomptarget is not supported on 32-bit systems.
|
# libomptarget is not supported on 32-bit systems.
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver}
|
# s390x does not support the offloading plugins.
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so.%{maj_ver}
|
%ifnarch s390x riscv64
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so.%{maj_ver}
|
%{_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix}
|
||||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so.%{maj_ver}
|
%{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver}
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so.%{maj_ver}
|
%endif
|
||||||
%{_libdir}/libomptarget.so.%{maj_ver}
|
%{_libdir}/libomptarget.so.%{so_suffix}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/clang/%{maj_ver}/include/omp.h
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp.h
|
||||||
%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompx.h
|
||||||
%ifnarch %{arm}
|
%ifnarch %{arm}
|
||||||
%{_libdir}/clang/%{maj_ver}/include/omp-tools.h
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h
|
||||||
%{_libdir}/clang/%{maj_ver}/include/ompt.h
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt.h
|
||||||
%{_libdir}/clang/%{maj_ver}/include/ompt-multiplex.h
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt-multiplex.h
|
||||||
%endif
|
%endif
|
||||||
|
%{_libdir}/cmake/openmp/
|
||||||
%ifnarch %{ix86} %{arm}
|
%ifnarch %{ix86} %{arm}
|
||||||
# libomptarget is not supported on 32-bit systems.
|
# libomptarget is not supported on 32-bit systems.
|
||||||
|
# s390x does not support the offloading plugins.
|
||||||
|
%ifnarch s390x riscv64
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so
|
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so
|
%{_libdir}/libomptarget.rtl.cuda.so
|
||||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so
|
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so
|
%endif
|
||||||
%{_libdir}/libomptarget.devicertl.a
|
%{_libdir}/libomptarget.devicertl.a
|
||||||
%{_libdir}/libomptarget-amdgpu-*.bc
|
%{_libdir}/libomptarget-amdgpu-*.bc
|
||||||
%{_libdir}/libomptarget-nvptx-*.bc
|
%{_libdir}/libomptarget-nvptx-*.bc
|
||||||
%{_libdir}/libomptarget.so
|
%{_libdir}/libomptarget.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files test
|
|
||||||
%{_datadir}/libomp
|
|
||||||
%{_libexecdir}/tests/libomp/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 23 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.8-2.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 12 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 18.1.8-1
|
||||||
|
- 18.1.8 Release
|
||||||
|
|
||||||
|
* Thu Jun 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.7-1
|
||||||
|
- 18.1.7 Release
|
||||||
|
|
||||||
|
* Wed May 29 2024 Tom Stellard <tstellar@redhat.com> - 18.1.6-2
|
||||||
|
- Add directory ownership for cmake directory
|
||||||
|
|
||||||
|
* Mon May 20 2024 Tom Stellard <tstellar@redhat.com> - 18.1.6-1
|
||||||
|
- 18.1.6 Release
|
||||||
|
|
||||||
|
* Fri May 03 2024 Tom Stellard <tstellar@redhat.com> - 18.1.4-1
|
||||||
|
- 18.1.4 Release
|
||||||
|
|
||||||
|
* Wed Apr 17 2024 Tom Stellard <tstellar@redhat.com> - 18.1.3-1
|
||||||
|
- 18.1.3 Release
|
||||||
|
|
||||||
|
* Fri Mar 22 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-1
|
||||||
|
- 18.1.2 Release
|
||||||
|
|
||||||
|
* Wed Mar 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
||||||
|
- 18.1.1 Release
|
||||||
|
|
||||||
|
* Thu Feb 29 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
|
||||||
|
- 18.1.0-rc4 Release
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
%{?llvm_snapshot_changelog_entry}
|
||||||
|
|
||||||
|
* Wed Nov 29 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.6-1
|
||||||
|
- Update to LLVM 17.0.6
|
||||||
|
|
||||||
|
* Wed Nov 01 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.4-1
|
||||||
|
- Update to LLVM 17.0.4
|
||||||
|
|
||||||
|
* Wed Oct 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.3-1
|
||||||
|
- Update to LLVM 17.0.3
|
||||||
|
|
||||||
|
* Thu Oct 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.2-1
|
||||||
|
- Update to LLVM 17.0.2
|
||||||
|
|
||||||
|
* Mon Sep 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.1-1
|
||||||
|
- Update to LLVM 17.0.1
|
||||||
|
|
||||||
|
* Mon Sep 11 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc4-1
|
||||||
|
- Update to LLVM 17.0.0 RC4
|
||||||
|
|
||||||
|
* Fri Aug 25 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc3-1
|
||||||
|
- Update to LLVM 17.0.0 RC3
|
||||||
|
|
||||||
|
* Wed Aug 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc2-1
|
||||||
|
- Update to LLVM 17.0.0 RC2
|
||||||
|
|
||||||
|
* Wed Aug 02 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0~rc1-1
|
||||||
|
- Update to LLVM 17.0.0 RC1
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
|
||||||
|
- Update to LLVM 16.0.6
|
||||||
|
|
||||||
|
* Wed Jun 28 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-4
|
||||||
|
- Specify the required clang version at build time
|
||||||
|
|
||||||
|
* Sat Jun 17 2023 Tom Stellard <tstellar@redhat.com> - 16.0.5-3
|
||||||
|
- Remove libomp-test package
|
||||||
|
|
||||||
|
* Thu Jun 15 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-2
|
||||||
|
- Use llvm-cmake-utils package
|
||||||
|
|
||||||
|
* Tue Jun 06 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
|
||||||
|
- Update to LLVM 16.0.5
|
||||||
|
|
||||||
|
* Fri May 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.4-1
|
||||||
|
- Update to LLVM 16.0.4
|
||||||
|
|
||||||
|
* Wed May 10 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.3-1
|
||||||
|
- Update to LLVM 16.0.3
|
||||||
|
|
||||||
|
* Thu Apr 27 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.2-1
|
||||||
|
- Update to LLVM 16.0.2
|
||||||
|
|
||||||
* Wed Apr 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-3
|
* Wed Apr 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-3
|
||||||
- Bump the release. Fix rhbz#2187642.
|
- Bump the release. Fix rhbz#2187642.
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
import tempfile
|
|
||||||
|
|
||||||
compiler = '%(libomp_compiler)s' % lit_config.params
|
|
||||||
config.test_filecheck = '%(bindir)s/FileCheck' % lit_config.params
|
|
||||||
config.omp_header_directory = '%(includedir)s' % lit_config.params
|
|
||||||
config.libomp_obj_root = tempfile.mkdtemp()
|
|
||||||
config.library_dir = '%(libdir)s' % lit_config.params
|
|
||||||
test_root = '%(libomp_test_root)s' % lit_config.params
|
|
||||||
|
|
||||||
# Lit will default to the compiler used to build openmp, which is gcc, but we
|
|
||||||
# want to run the tests using clang.
|
|
||||||
config.test_compiler_features = ['clang']
|
|
||||||
config.test_c_compiler = 'clang'
|
|
||||||
config.test_cxx_compiler = 'clang++'
|
|
||||||
lit_config.load_config(config, '%(libomp_test_root)s/lit.cfg' % lit_config.params)
|
|
@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "usage: `basename $0` [OPTIONS]"
|
|
||||||
echo " --threads NUM The number of threads to use for running tests."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
threads_arg=''
|
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
|
||||||
case $1 in
|
|
||||||
--threads)
|
|
||||||
shift
|
|
||||||
threads_arg="--threads $1"
|
|
||||||
;;
|
|
||||||
--multilib-arch)
|
|
||||||
shift
|
|
||||||
ARCH=$1
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
echo "unknown option: $1"
|
|
||||||
echo ""
|
|
||||||
usage
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
|
||||||
ARCH=`rpm --eval '%_arch'`
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $ARCH in
|
|
||||||
arm)
|
|
||||||
;&
|
|
||||||
i686)
|
|
||||||
LIB_DIR="/usr/lib/"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
LIB_DIR="/usr/lib64/"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
BIN_DIR="/usr/bin/"
|
|
||||||
INCLUDE_DIR="/usr/include/"
|
|
||||||
|
|
||||||
lit $threads_arg -v \
|
|
||||||
--config-prefix $ARCH \
|
|
||||||
-Dlibomp_compiler=clang \
|
|
||||||
-Dbindir=$BIN_DIR \
|
|
||||||
-Dlibdir=$LIB_DIR \
|
|
||||||
-Dincludedir=$INCLUDE_DIR \
|
|
||||||
-Dlibomp_test_root=/usr/share/libomp/src/runtime/test \
|
|
||||||
/usr/share/libomp/src/runtime/test
|
|
6
sources
6
sources
@ -1,4 +1,2 @@
|
|||||||
SHA512 (cmake-16.0.1.src.tar.xz) = 7a0f01a82660a953e06b1df267918542205ac46f151d284dca74255c36fe5ccd995266638a85ce502a81cdd5e76ff3311e5f8488e09d0abbf22ee07cec186f5f
|
SHA512 (openmp-18.1.8.src.tar.xz) = 7c2ca736524fb741112be247ac6be39cfe1dc92381c5e2997d97044ab9705c224ae5eabcf43b59cdec9a715a14227c6fb02cb2d1829ebc47b82d3af6e4d197d3
|
||||||
SHA512 (cmake-16.0.1.src.tar.xz.sig) = 8d49050e9b04df253a5bb2fa3b27796f204d085610432826bef6bb6cab876990d67e7fd5267fc89fadf21d88da73c535c82ae6ea0e1c867f7cd5efac244b0fa2
|
SHA512 (openmp-18.1.8.src.tar.xz.sig) = a7f4d5a1e439de1b6387605fd9ef36ec19ed4303555678328c7bdadf44e84592d90ee2c06858de0bb7d78e1e79195c3fa78157dd277e875ed4ece4f35ab5be15
|
||||||
SHA512 (openmp-16.0.1.src.tar.xz) = 9c22ce1c7a2d12d266d5ce88d610d5bbbbf1da9ce9ad27be10f875ad238c5353b8cac7a64a84b7b0477387f3f60577eff49cde8b4521ab66509c9cd3d90c881f
|
|
||||||
SHA512 (openmp-16.0.1.src.tar.xz.sig) = b625b5a9394109bbb46763997914b0ba8bfe80b702c8685e7ffcec19126732a8cce7b959507682bacd6c5db3d4f6b6974cc9ba9daab68504058badd5fb1e305d
|
|
||||||
|
Loading…
Reference in New Issue
Block a user