llvm/patches.spec.inc
Konrad Kleine bee7a61730 Fix ModuleNotFoundError: No module named 'myst_parser'
This should fix this error which appears on RHEL only:

```
Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sphinx/config.py", line 326, in eval_config_file
    execfile_(filename, namespace)
  File "/usr/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 88, in execfile_
    exec(code, _globals)
  File "/builddir/build/BUILD/llvm-project-c1d5cc99c6ba8e897ea145dbb2221a155b5e3e5a/llvm/redhat-linux-build/tools/clang/docs/conf.py", line 42, in <module>
    import myst_parser
ModuleNotFoundError: No module named 'myst_parser'
```

See also https://github.com/fedora-llvm-team/llvm-snapshots/issues/492
2024-09-02 15:45:30 +02:00

28 lines
No EOL
1.1 KiB
PHP

#region CLANG patches
Patch2001: 0001-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
Patch2002: 0003-PATCH-clang-Don-t-install-static-libraries.patch
#endregion
# Workaround a bug in ORC on ppc64le.
# More info is available here: https://reviews.llvm.org/D159115#4641826
Patch2005: 0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
#region LLD patches
Patch3001: 0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch
Patch3002: 0001-Always-build-shared-libs-for-LLD.patch
#endregion
# # Drop the following patch after debugedit adds support to DWARF-5:
# # https://sourceware.org/bugzilla/show_bug.cgi?id=28728
# Source2006: 0001-Produce-DWARF4-by-default.patch
%if %{with snapshot_build}
# Temporary patch to add back -fno-openmp-implicit-rpath until we no longer
# support Fedora 38 or older, which pass -fno-openmp-implicit-rpath in
# redhat-rpm-config.
Patch9001: 0001-Restore-fopenmp-implicit-rpath-disabled-by-default.patch
%endif
#region RHEL patches
Patch9002: 0001-Remove-myst_parser-dependency-for-RHEL.patch
#endregion