%endif
Name: lldb-experimental
Version: 13.0.0
-Release: 0.20210609snap0%{?dist}
+Release: 0.20210609snap3%{?dist}
Summary: Next generation high-performance debugger - experimental trunk snapshot
License: NCSA
URL: http://lldb.llvm.org/
BuildRequires: clang git libedit-devel libatomic libxml2-devel zlib-devel valgrind-devel libpfm-devel
# https://src.fedoraproject.org/rpms/epydoc
#BuildRequires: epydoc
-%if ! 0%{?rhel:1} || 0%{?rhel} > 8
-BuildRequires: ocaml-findlib ocaml-ctypes
+%if 0%{?rhel} > 8 || 0%{?fedora} >= 34
+BuildRequires: ocaml-findlib ocaml-ctypes ocaml-ocamldoc
%endif
%if 0%{?rhel:1} && 0%{?rhel} <= 7
#+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
git merge jankratochvil/dwz
%endif
%if %{use_jankratochvil_uniqaddr}
-git merge jankratochvil/layout3
+git merge jankratochvil/layout5
%endif
%if %{use_jankratochvil_rust}
# '-c merge.renames=false' is F-29+.
-DLLDB_DISABLE_LIBEDIT=OFF \
-DLLDB_DISABLE_PYTHON=OFF \
-DLLVM_ENABLE_ASSERTIONS=ON \
+ $(: https://download.copr.fedorainfracloud.org/results/jankratochvil/lldb/fedora-34-x86_64/02246836-lldb-experimental/builder-live.log.gz ) \
+ $(: https://www.reddit.com/r/linuxquestions/comments/fg5dk4/install_clang_from_source/ ) \
+ -DLLVM_BUILD_DOCS=OFF \
#
%cmake_build