Missing dependencies
This commit is contained in:
parent
2651b81d93
commit
a9d1440f13
@ -22,6 +22,8 @@ Patch0: token-sequence.patch
|
|||||||
Patch1: shared.patch
|
Patch1: shared.patch
|
||||||
# Needed for llvm-googletest compatibility
|
# Needed for llvm-googletest compatibility
|
||||||
Patch2: gtest.patch
|
Patch2: gtest.patch
|
||||||
|
# Needed for documentation generation
|
||||||
|
Patch3: sphinx_markdown_tables.patch
|
||||||
|
|
||||||
# because mlir doesn't build on arm (yet)
|
# because mlir doesn't build on arm (yet)
|
||||||
ExcludeArch: armv7hl
|
ExcludeArch: armv7hl
|
||||||
@ -44,6 +46,7 @@ BuildRequires: mlir-devel = %{version}
|
|||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: python3-lit
|
BuildRequires: python3-lit
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
|
BuildRequires: python3-recommonmark
|
||||||
|
|
||||||
# For origin certification
|
# For origin certification
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
12
sphinx_markdown_tables.patch
Normal file
12
sphinx_markdown_tables.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur flang-11.0.0rc3.src.orig/docs/conf.py flang-11.0.0rc3.src/docs/conf.py
|
||||||
|
--- flang-11.0.0rc3.src.orig/docs/conf.py 2020-09-25 10:09:59.043417169 +0000
|
||||||
|
+++ flang-11.0.0rc3.src/docs/conf.py 2020-09-25 10:11:00.715930278 +0000
|
||||||
|
@@ -46,7 +46,7 @@
|
||||||
|
else:
|
||||||
|
source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
|
||||||
|
source_suffix['.md'] = 'markdown'
|
||||||
|
- extensions.append('sphinx_markdown_tables')
|
||||||
|
+ #extensions.append('sphinx_markdown_tables')
|
||||||
|
|
||||||
|
# Setup AutoStructify for inline .rst toctrees in index.md
|
||||||
|
from recommonmark.transform import AutoStructify
|
Loading…
Reference in New Issue
Block a user