!7 Add BiSheng Autotuner support
From: @liyunfei33 Reviewed-by: @cf-zhao Signed-off-by: @cf-zhao
This commit is contained in:
commit
019e503605
@ -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: %{mlir_version}
|
Version: %{mlir_version}
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: The MLIR project is a novel approach to building reusable and extensible compiler infrastructure.
|
Summary: The MLIR project is a novel approach to building reusable and extensible compiler infrastructure.
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: https://mlir.llvm.org/
|
URL: https://mlir.llvm.org/
|
||||||
@ -115,6 +116,9 @@ Requires: python3-numpy
|
|||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with bisheng_autotuner}
|
||||||
|
-DLLVM_ENABLE_AUTOTUNER=ON \
|
||||||
|
%endif
|
||||||
%ifarch aarch64 %ix86 ppc64le x86_64
|
%ifarch aarch64 %ix86 ppc64le x86_64
|
||||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||||
%endif
|
%endif
|
||||||
@ -205,6 +209,9 @@ export PYTHONPATH=%{buildroot}/%{python3_sitearch}
|
|||||||
%{python3_sitearch}/mlir/
|
%{python3_sitearch}/mlir/
|
||||||
|
|
||||||
%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