Add BiSheng Autotuner support
Signed-off-by: liyunfei <liyunfei33@huawei.com>
This commit is contained in:
parent
105bd4ff11
commit
342ab565d0
@ -1,6 +1,7 @@
|
|||||||
%bcond_without sys_llvm
|
%bcond_without sys_llvm
|
||||||
%bcond_with check
|
%bcond_with check
|
||||||
%bcond_without toolchain_clang
|
%bcond_without toolchain_clang
|
||||||
|
%bcond_without bisheng_autotuner
|
||||||
|
|
||||||
%if %{with toolchain_clang}
|
%if %{with toolchain_clang}
|
||||||
%global toolchain clang
|
%global toolchain clang
|
||||||
@ -37,7 +38,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{openmp_version}
|
Version: %{openmp_version}
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
@ -102,6 +103,9 @@ OpenMP header files.
|
|||||||
%if "%{toolchain}" == "clang"
|
%if "%{toolchain}" == "clang"
|
||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
|
%endif
|
||||||
|
%if %{with bisheng_autotuner}
|
||||||
|
-DLLVM_ENABLE_AUTOTUNER=ON \
|
||||||
%endif
|
%endif
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||||
|
|
||||||
@ -148,6 +152,9 @@ rm -rf %{buildroot}%{install_libdir}/libarcher_static.a
|
|||||||
%{install_libdir}/libomptarget.so
|
%{install_libdir}/libomptarget.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-3
|
||||||
|
- Add BiSheng Autotuner support.
|
||||||
|
|
||||||
* Fri Jul 5 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-2
|
* Fri Jul 5 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-2
|
||||||
- Add toolchain_clang build support
|
- Add toolchain_clang build support
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user