adopt to new cmake macro
This commit is contained in:
parent
4346107d10
commit
ea0ee1262f
15
openmp.spec
15
openmp.spec
@ -38,11 +38,11 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{openmp_version}
|
Version: %{openmp_version}
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: Apache License 2.0
|
License: Apache-2.0
|
||||||
URL: http://openmp.llvm.org
|
URL: https://openmp.llvm.org
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{openmp_version}/%{openmp_srcdir}.tar.xz
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{openmp_version}/%{openmp_srcdir}.tar.xz
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++
|
BuildRequires: gcc gcc-c++
|
||||||
@ -109,14 +109,12 @@ OpenMP header files.
|
|||||||
%endif
|
%endif
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||||
|
|
||||||
%ninja_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ninja_install
|
%cmake_install
|
||||||
rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
||||||
|
|
||||||
%check
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.TXT
|
%license LICENSE.TXT
|
||||||
%{install_libdir}/libomp.so
|
%{install_libdir}/libomp.so
|
||||||
@ -152,6 +150,9 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
|||||||
%{install_libdir}/libomptarget.so
|
%{install_libdir}/libomptarget.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 10 2024 Funda Wang <fundawang@yeah.net> - 17.0.6-5
|
||||||
|
- adopt to new cmake macro
|
||||||
|
|
||||||
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-4
|
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-4
|
||||||
- Add BiSheng Autotuner support.
|
- Add BiSheng Autotuner support.
|
||||||
|
|
||||||
|
|||||||
4
openmp.yaml
Normal file
4
openmp.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: llvm/llvm-project
|
||||||
|
tag_prefix: ^llvmorg-
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user