Skip to content

Commit ae0df07

Browse files
committed
fix "ninja html"
readthedocs forces us to clang-14, so we need to fix that in place in clang config
1 parent 3580c0b commit ae0df07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@
7171
elif sys.platform == 'windows':
7272
lib_search_dirs = []
7373
else:
74+
# we are nailed to clang-14 by readthedocs, so we must look in llvm-14
75+
# for libclang.so
7476
lib_search_dirs = [
7577
'/usr/lib',
7678
'/usr/local/lib',
77-
] + glob('/usr/lib/llvm-*/lib')
79+
] + glob('/usr/lib/llvm-14/lib')
7880
for lib_dir in lib_search_dirs:
7981
clang_config.set_library_path(lib_dir)

0 commit comments

Comments
 (0)