From 238aae5921b3a4311fb062f1621c0fb6b30def58 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Tue, 20 Aug 2024 19:33:11 +0800 Subject: [PATCH] Add BiSheng Autotuner support Signed-off-by: liyunfei (cherry picked from commit c56927a0ec18bb14e65bd8a8e7c482bf06735ca1) --- spirv-llvm-translator.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/spirv-llvm-translator.spec b/spirv-llvm-translator.spec index a302f7f..ebfc655 100644 --- a/spirv-llvm-translator.spec +++ b/spirv-llvm-translator.spec @@ -1,8 +1,9 @@ %global spirv_headers_version 1.3.261.1 +%bcond_without bisheng_autotuner Name: spirv-llvm-translator Version: 17.0.0 -Release: 1 +Release: 2 Summary: LLVM to SPIRV Translator License: NCSA @@ -50,6 +51,9 @@ mv SPIRV-Headers-sdk-%{spirv_headers_version} SPIRV-Headers -DLLVM_BUILD_TOOLS=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=%{_builddir}/SPIRV-Headers \ +%if %{with bisheng_autotuner} + -DLLVM_ENABLE_AUTOTUNER=ON \ +%endif -DCMAKE_INSTALL_RPATH:BOOL=";" %ninja_build #%cmake_build @@ -71,6 +75,9 @@ mv SPIRV-Headers-sdk-%{spirv_headers_version} SPIRV-Headers %{_libdir}/pkgconfig/LLVMSPIRVLib.pc %changelog +* Tue Aug 20 2024 liyunfei - 17.0.0-2 +- Add BiSheng Autotuner support. + * Tue Dec 5 2023 zhoujing - 17.0.0-1 - Update to 17.0.0