# Part of ROCM Stack, see rocm-llvm for build order # rocm-cmake # rocm-llvm # rocm-runtime # rocm-core # rocminfo # rocm-amd-opencl #Build Time of this package ~ 0 minutes 11 seconds # bitcode has no debuginfo %global debug_package %{nil} %global rocm_release 6.4 %global rocm_patch 3 %global rocm_version %{rocm_release}.%{rocm_patch} #Not used #global install_prefix %{_libdir}/rocm-%{rocm_release} Name: rocm-cmake Version: %{rocm_version} Release: %mkrel 1 Summary: ROCm CMake Modules License: MIT Group: Development/Other URL: https://github.com/ROCm/rocm-cmake Source0: %{url}/archive/rocm-%{version}.tar.gz#/%{name}-rocm-%{version}.tar.gz BuildRequires: cmake >= 3.6 %description ROCM CMake modules for common build tasks needed by the ROCm software stack. #Posible multi branch support %package -n rocm%{rocm_release}-cmake Summary: ROCm CMake Modules Requires: cmake %description -n rocm%{rocm_release}-cmake ROCM CMake modules for common build tasks needed by the ROCm software stack. %prep %autosetup -p1 -n %{name}-rocm-%{version} %build %cmake %cmake_build %install %cmake_install rm -f %{buildroot}%{_prefix}/share/doc/rocm-cmake/LICENSE %files -n rocm%{rocm_release}-cmake %dir %{_datadir}/rocm %dir %{_datadir}/rocmcmakebuildtools %doc CHANGELOG.md %license LICENSE %{_datadir}/rocm/* %{_datadir}/rocmcmakebuildtools/*