From c54c085ebf139287db37744c12464338dd7aa8dd Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:41:51 +0000 Subject: [PATCH] Revert changes to https://github.com/compiler-research/CppInterOp/pull/372 --- .readthedocs.yaml | 10 +++++----- docs/conf.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index bbd2096fe..f51372140 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,12 +5,12 @@ sphinx: builder: html build: - os: "ubuntu-24.04" + os: "ubuntu-22.04" tools: python: "3.11" apt_packages: - - clang-18 + - clang-13 - cmake - - libclang-18-dev - - llvm-18-dev - - llvm-18-tools \ No newline at end of file + - libclang-13-dev + - llvm-13-dev + - llvm-13-tools \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 215c714f5..78ced181f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,8 +50,8 @@ html_extra_path = [CPPINTEROP_ROOT + '/build/docs/'] import subprocess -command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-18/lib/cmake/clang \ - -DLLVM_DIR=/usr/lib/llvm-18/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON \ +command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-13/build/lib/cmake/clang\ + -DLLVM_DIR=/usr/lib/llvm-13/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\ -DCPPINTEROP_INCLUDE_DOCS=ON'.format(CPPINTEROP_ROOT) subprocess.call(command, shell=True) subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) \ No newline at end of file