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