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}
|
||||
Version: %{openmp_version}
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: OpenMP runtime for clang
|
||||
|
||||
License: Apache License 2.0
|
||||
URL: http://openmp.llvm.org
|
||||
License: Apache-2.0
|
||||
URL: https://openmp.llvm.org
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{openmp_version}/%{openmp_srcdir}.tar.xz
|
||||
|
||||
BuildRequires: gcc gcc-c++
|
||||
@ -109,14 +109,12 @@ OpenMP header files.
|
||||
%endif
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||
|
||||
%ninja_build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%ninja_install
|
||||
%cmake_install
|
||||
rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%license LICENSE.TXT
|
||||
%{install_libdir}/libomp.so
|
||||
@ -152,6 +150,9 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
||||
%{install_libdir}/libomptarget.so
|
||||
|
||||
%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
|
||||
- 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