Fix for cmake macros

Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit 1c37b2f3620ea8015c06d802232aa9711164bfce)
This commit is contained in:
liyunfei 2024-11-12 19:09:57 +08:00 committed by openeuler-sync-bot
parent 384297be91
commit 72d73ff477

View File

@ -3,7 +3,7 @@
Name: spirv-llvm-translator
Version: 17.0.0
Release: 2
Release: 3
Summary: LLVM to SPIRV Translator
License: NCSA
@ -56,11 +56,9 @@ mv SPIRV-Headers-sdk-%{spirv_headers_version} SPIRV-Headers
%endif
-DCMAKE_INSTALL_RPATH:BOOL=";"
%ninja_build
#%cmake_build
%install
%ninja_install
#%cmake_install
%files
%doc README.md
@ -75,6 +73,9 @@ mv SPIRV-Headers-sdk-%{spirv_headers_version} SPIRV-Headers
%{_libdir}/pkgconfig/LLVMSPIRVLib.pc
%changelog
* Tue Nov 12 2024 liyunfei <liyunfei33@huawei.com> - 17.0.0-3
- Fix for cmake macros.
* Tue Aug 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.0-2
- Add BiSheng Autotuner support.