As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
27
devel/llvm/18/patches/patch-flang_docs_conf_py
Normal file
27
devel/llvm/18/patches/patch-flang_docs_conf_py
Normal file
|
@ -0,0 +1,27 @@
|
|||
Index: flang/docs/conf.py
|
||||
--- flang/docs/conf.py.orig
|
||||
+++ flang/docs/conf.py
|
||||
@@ -22,12 +22,22 @@ from datetime import date
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = [
|
||||
- "myst_parser",
|
||||
"sphinx.ext.todo",
|
||||
"sphinx.ext.mathjax",
|
||||
"sphinx.ext.intersphinx",
|
||||
"sphinx.ext.autodoc",
|
||||
]
|
||||
+
|
||||
+# When building man pages, we do not use the markdown pages,
|
||||
+# So, we can continue without the myst_parser dependencies.
|
||||
+# Doing so reduces dependencies of some packaged llvm distributions.
|
||||
+try:
|
||||
+ import myst_parser
|
||||
+
|
||||
+ extensions.append("myst_parser")
|
||||
+except ImportError:
|
||||
+ if not tags.has("builder-man"):
|
||||
+ raise
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ["_templates"]
|
Loading…
Add table
Add a link
Reference in a new issue