diff --git a/libclc.spec b/libclc.spec index 88c020a6315ba5b5a0f2e72f7fd78d302f5ff7bd..21d850bec2513c6f11dc66a5d8b3266c7999f37e 100644 --- a/libclc.spec +++ b/libclc.spec @@ -1,5 +1,6 @@ %bcond_without check %bcond_without sys_llvm +%bcond_without bisheng_autotuner %global maj_ver 17 %global min_ver 0 @@ -25,7 +26,7 @@ Name: %{pkg_name} Version: %{clc_version} -Release: 2 +Release: 3 Summary: An implementation of the library requirements of the OpenCL C License: Apache-2.0 WITH LLVM-exception OR BSD OR MIT URL: https://libclc.llvm.org @@ -85,7 +86,11 @@ developing applications that use libclc. %build export CFLAGS="%{build_cflags} -D__extern_always_inline=inline" %set_build_flags -%cmake -DCMAKE_INSTALL_DATADIR:PATH=%{install_libdir} +%cmake \ +%if %{with bisheng_autotuner} + -DLLVM_ENABLE_AUTOTUNER=ON \ +%endif + -DCMAKE_INSTALL_DATADIR:PATH=%{install_libdir} %make_build @@ -113,6 +118,9 @@ make test || true %{install_includedir}/clc %changelog +* Tue Aug 20 2024 liyunfei - 17.0.6-3 +- Add BiSheng Autotuner support. + * Thu Mar 14 2024 yinxiulin - 17.0.6-2 - Add ppc64le support