Disable dwz with ROCm
Work around a problem with running out of memory and thrashing the build machine. Eanble opencv for Fedora Signed-off-by: Tom Rix <trix@redhat.com>
This commit is contained in:
parent
89597ed77c
commit
f28581bb0c
1 changed files with 9 additions and 0 deletions
|
|
@ -50,13 +50,22 @@
|
|||
%bcond_without tensorpipe
|
||||
|
||||
# For testing openvs
|
||||
%if 0%{?fedora}
|
||||
%bcond_without opencv
|
||||
%else
|
||||
%bcond_with opencv
|
||||
%endif
|
||||
|
||||
# For testing cuda
|
||||
%ifarch x86_64
|
||||
%bcond_with cuda
|
||||
%endif
|
||||
|
||||
# Disable dwz with rocm because memory can be exhausted
|
||||
%if %{with rocm}
|
||||
%define _find_debuginfo_dwz_opts %{nil}
|
||||
%endif
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
%if %{with gitcommit}
|
||||
Version: %{pypi_version}^git%{date0}.%{shortcommit0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue