From ea0ee1262f8e4fada63750962d2daaa2fc9d886d Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 10 Nov 2024 23:40:52 +0800 Subject: [PATCH] adopt to new cmake macro --- openmp.spec | 15 ++++++++------- openmp.yaml | 4 ++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 openmp.yaml diff --git a/openmp.spec b/openmp.spec index 10a9949..fbc70e5 100644 --- a/openmp.spec +++ b/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 - 17.0.6-5 +- adopt to new cmake macro + * Tue Aug 20 2024 liyunfei - 17.0.6-4 - Add BiSheng Autotuner support. diff --git a/openmp.yaml b/openmp.yaml new file mode 100644 index 0000000..c7c50f6 --- /dev/null +++ b/openmp.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: llvm/llvm-project +tag_prefix: ^llvmorg- +separator: .