Disable fbgemm with rocm

With building python-torchvision, there is this link error.
trix@fedora:~/fedora/python-torchvision$ c++filt _ZN2at4cuda4blas9int8_gemmEbblllPKalS3_lPil
at::cuda::blas::int8_gemm(bool, bool, long, long, long, signed char const*, long, signed char const*, long,\
 int*, long)

So  disable fbgemm with rocm is enabled.
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
This commit is contained in:
Tom Rix 2024-08-07 11:13:43 -07:00
commit c5c84ab4b2

View file

@ -69,14 +69,14 @@
%bcond_with pocketfft
%endif
%if 0%{?fedora} > 40
%ifarch x86_64
%bcond_without fbgemm
%if %{with rocm}
%bcond_with fbgemm
%else
%bcond_without fbgemm
%endif
%else
%bcond_with fbgemm
%endif
%else
%bcond_with fbgemm
%bcond_with fbgemm
%endif
# For testing cuda