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
23
devel/llvm/18/patches/patch-llvm_docs_conf_py
Normal file
23
devel/llvm/18/patches/patch-llvm_docs_conf_py
Normal file
|
@ -0,0 +1,23 @@
|
|||
Index: llvm/docs/conf.py
|
||||
--- llvm/docs/conf.py.orig
|
||||
+++ llvm/docs/conf.py
|
||||
@@ -26,7 +26,18 @@ sys.path.insert(0, os.path.abspath("."))
|
||||
|
||||
# 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.intersphinx", "sphinx.ext.todo"]
|
||||
+extensions = ["sphinx.ext.intersphinx", "sphinx.ext.todo"]
|
||||
+
|
||||
+# 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
|
||||
|
||||
# Automatic anchors for markdown titles
|
||||
from llvm_slug import make_slug
|
Loading…
Add table
Add a link
Reference in a new issue