Add BiSheng Autotuner support
Signed-off-by: liyunfei <liyunfei33@huawei.com>
This commit is contained in:
parent
3a34d3806b
commit
6aa107f094
@ -1,6 +1,7 @@
|
|||||||
%bcond_without sys_llvm
|
%bcond_without sys_llvm
|
||||||
%bcond_without check
|
%bcond_without 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
|
||||||
@ -32,7 +33,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{crt_version}
|
Version: %{crt_version}
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: LLVM "compiler-rt" runtime libraries
|
Summary: LLVM "compiler-rt" runtime libraries
|
||||||
|
|
||||||
License: NCSA or MIT
|
License: NCSA or MIT
|
||||||
@ -95,6 +96,9 @@ cd _build
|
|||||||
%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
|
||||||
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on?
|
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on?
|
||||||
|
|
||||||
@ -121,6 +125,9 @@ cd _build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-5
|
||||||
|
- Add BiSheng Autotuner support.
|
||||||
|
|
||||||
* Fri Jul 5 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-4
|
* Fri Jul 5 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-4
|
||||||
- Add toolchain_clang build support
|
- Add toolchain_clang build support
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user