Add BR for z3 and libxml2; fix config.guess
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
24ec007bf1
commit
0d179cfb64
|
@ -61,6 +61,8 @@ BuildRequires: ncurses-devel
|
|||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-recommonmark
|
||||
BuildRequires: multilib-rpm-config
|
||||
BuildRequires: z3-devel
|
||||
BuildRequires: libxml2-devel
|
||||
%if %{with gold}
|
||||
BuildRequires: binutils-devel
|
||||
%endif
|
||||
|
@ -151,6 +153,9 @@ LLVM's modified googletest sources.
|
|||
%prep
|
||||
%autosetup -n llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src -p2
|
||||
|
||||
# Update config.guess to detect RISC-V (riscv64)
|
||||
cp -f /usr/lib/rpm/redhat/config.guess ./cmake/config.guess
|
||||
|
||||
pathfix.py -i %{__python3} -pn \
|
||||
test/BugPoint/compile-custom.ll.py \
|
||||
tools/opt-viewer/*.py
|
||||
|
|
Loading…
Reference in New Issue