From 4d456839f438374034bef879053869f8423ccfd6 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Tue, 20 Aug 2024 19:54:50 +0800 Subject: [PATCH] Add BiSheng Autotuner support Signed-off-by: liyunfei --- flang.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flang.spec b/flang.spec index 356f65e..17bbb89 100644 --- a/flang.spec +++ b/flang.spec @@ -1,5 +1,6 @@ %bcond_without sys_llvm %bcond_without check +%bcond_without bisheng_autotuner %global maj_ver 17 %global min_ver 0 @@ -31,7 +32,7 @@ Name: %{pkg_name} Version: %{flang_version} -Release: 1 +Release: 2 Summary: a Fortran language front-end designed for integration with LLVM License: Apache-2.0 WITH LLVM-exception @@ -103,6 +104,9 @@ cd _build -DCMAKE_PREFIX_PATH=%{install_libdir}/cmake/llvm/ \ -DLLVM_COMMON_CMAKE_UTILS=%{_datadir}/llvm/cmake \ \ +%if %{with bisheng_autotuner} + -DLLVM_ENABLE_AUTOTUNER=ON \ +%endif %if 0%{?__isa_bits} == 64 -DLLVM_LIBDIR_SUFFIX=64 %else @@ -182,6 +186,9 @@ export LD_LIBRARY_PATH=%{_builddir}/%{flang_srcdir}/_build/lib %{install_libdir}/cmake/ %changelog +* Tue Aug 20 2024 liyunfei - 17.0.6-2 +- Add BiSheng Autotuner support. + * Tue Dec 5 2023 zhoujing - 17.0.6-1 - Update to 17.0.6 -- Gitee