disable roctracer for everyone

Signed-off-by: Tom Rix <Tom.Rix@amd.com>
This commit is contained in:
2025-05-06 18:10:42 -07:00
parent bca26f4b0f
commit d5e8b43f2c

View File

@@ -91,7 +91,7 @@
Name: %{rocblas_name}
Version: %{rocm_version}
Release: 5%{?dist}
Release: 6%{?dist}
Summary: BLAS implementation for ROCm
Url: https://github.com/ROCmSoftwarePlatform/%{upstreamname}
License: MIT AND BSD-3-Clause
@@ -109,10 +109,6 @@ BuildRequires: rocm-compilersupport-macros
BuildRequires: rocm-hip-devel
BuildRequires: rocm-runtime-devel
BuildRequires: rocm-rpm-macros
# roctracer functionality has been patched out of rhel builds
%if ! 0%{?rhel}
BuildRequires: roctracer-devel
%endif
%if %{with tensile}
@@ -279,9 +275,7 @@ fi
-DTensile_VERBOSE=%{tensile_verbose} \
-DBUILD_WITH_TENSILE=%{build_tensile} \
-DTensile_DIR=${TP}/cmake \
%if 0%{?rhel}
-DDISABLE_ROCTRACER=ON \
%endif
-DBUILD_WITH_PIP=OFF
%cmake_build
@@ -333,6 +327,9 @@ export LD_LIBRARY_PATH=%{_vpath_builddir}/library/src:$LD_LIBRARY_PATH
%endif
%changelog
* Tue May 6 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.0-6
- disable roctracer for everyone
* Tue Apr 29 2025 Tim Flink <tflink@fedoraproject.org> - 6.4.0-5
- add patch for option to disable roctracer logging
- disable roctracer logging for rhel builds