parent
cf1d563356
commit
f027f05828
|
@ -0,0 +1,41 @@
|
||||||
|
From 73d3b4047d757ef35850e2cef38285b96be82f0f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
|
Date: Tue, 23 May 2023 12:17:29 +0200
|
||||||
|
Subject: [PATCH] [Driver] Give devtoolset path precedence over InstalledDir
|
||||||
|
|
||||||
|
This is a followup to the change from c5fe10f365247c3dd9416b7ec8bad73a60b5946e.
|
||||||
|
While that commit correctly adds the bindir from devtoolset to the
|
||||||
|
path, the driver dir / install dir still comes first. This means
|
||||||
|
we'll still end up picking /usr/bin/ld rather than the one from
|
||||||
|
devtoolset.
|
||||||
|
|
||||||
|
Unfortunately, I don't see any way to test this. In the environment
|
||||||
|
the tests are run, this would only result in a behavior difference
|
||||||
|
if there is an ld binary present in the LLVM build directory, which
|
||||||
|
isn't the case.
|
||||||
|
|
||||||
|
Differential Revision: https://reviews.llvm.org/D151203
|
||||||
|
---
|
||||||
|
clang/lib/Driver/ToolChains/Linux.cpp | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
|
||||||
|
index 853ff99d9fe5..aecabb46d4b9 100644
|
||||||
|
--- a/clang/lib/Driver/ToolChains/Linux.cpp
|
||||||
|
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
|
||||||
|
@@ -244,9 +244,9 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
|
||||||
|
// With devtoolset on RHEL, we want to add a bin directory that is relative
|
||||||
|
// to the detected gcc install, because if we are using devtoolset gcc then
|
||||||
|
// we want to use other tools from devtoolset (e.g. ld) instead of the
|
||||||
|
- // standard system tools.
|
||||||
|
- PPaths.push_back(Twine(GCCInstallation.getParentLibPath() +
|
||||||
|
- "/../bin").str());
|
||||||
|
+ // standard system tools. This should take precedence over InstalledDir.
|
||||||
|
+ PPaths.insert(PPaths.begin(),
|
||||||
|
+ Twine(GCCInstallation.getParentLibPath() + "/../bin").str());
|
||||||
|
|
||||||
|
if (Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb)
|
||||||
|
ExtraOpts.push_back("-X");
|
||||||
|
--
|
||||||
|
2.40.1
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
From 49f827b09db549de62dcaf8b90b3fcb3e08c0ee5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Serge Guelton <sguelton@redhat.com>
|
||||||
|
Date: Mon, 6 Mar 2023 12:37:48 +0100
|
||||||
|
Subject: [PATCH] Make -funwind-tables the default on all archs
|
||||||
|
|
||||||
|
---
|
||||||
|
clang/lib/Driver/ToolChains/Gnu.cpp | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
|
index 24fbdcffc07b..8fed46b49515 100644
|
||||||
|
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
|
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
|
||||||
|
@@ -2904,6 +2904,10 @@ Generic_GCC::getDefaultUnwindTableLevel(const ArgList &Args) const {
|
||||||
|
case llvm::Triple::riscv64:
|
||||||
|
case llvm::Triple::x86:
|
||||||
|
case llvm::Triple::x86_64:
|
||||||
|
+ // Enable -funwind-tables on all architectures supported by Fedora:
|
||||||
|
+ // rhbz#1655546
|
||||||
|
+ case llvm::Triple::systemz:
|
||||||
|
+ case llvm::Triple::arm:
|
||||||
|
return UnwindTableLevel::Asynchronous;
|
||||||
|
default:
|
||||||
|
return UnwindTableLevel::None;
|
||||||
|
--
|
||||||
|
2.39.1
|
||||||
|
|
|
@ -0,0 +1,126 @@
|
||||||
|
From 8ce0e2a14ba0743c06b543c0503203a56c905e8c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Konrad Kleine <kkleine@redhat.com>
|
||||||
|
Date: Tue, 4 Jun 2024 14:11:23 +0200
|
||||||
|
Subject: Produce DWARF4 by default
|
||||||
|
|
||||||
|
---
|
||||||
|
clang/lib/Driver/ToolChain.cpp | 4 +---
|
||||||
|
clang/test/CodeGen/dwarf-version.c | 8 ++++----
|
||||||
|
clang/test/Driver/as-options.s | 4 ++--
|
||||||
|
clang/test/Driver/cl-options.c | 2 +-
|
||||||
|
clang/test/Driver/clang-g-opts.c | 2 +-
|
||||||
|
clang/test/Driver/ve-toolchain.c | 2 +-
|
||||||
|
clang/test/Driver/ve-toolchain.cpp | 2 +-
|
||||||
|
7 files changed, 11 insertions(+), 13 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp
|
||||||
|
index 388030592b48..6542895cf857 100644
|
||||||
|
--- a/clang/lib/Driver/ToolChain.cpp
|
||||||
|
+++ b/clang/lib/Driver/ToolChain.cpp
|
||||||
|
@@ -428,9 +428,7 @@ ToolChain::getDefaultUnwindTableLevel(const ArgList &Args) const {
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned ToolChain::GetDefaultDwarfVersion() const {
|
||||||
|
- // TODO: Remove the RISC-V special case when R_RISCV_SET_ULEB128 linker
|
||||||
|
- // support becomes more widely available.
|
||||||
|
- return getTriple().isRISCV() ? 4 : 5;
|
||||||
|
+ return 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
Tool *ToolChain::getClang() const {
|
||||||
|
diff --git a/clang/test/CodeGen/dwarf-version.c b/clang/test/CodeGen/dwarf-version.c
|
||||||
|
index e63316ace69c..3d68b06c58ff 100644
|
||||||
|
--- a/clang/test/CodeGen/dwarf-version.c
|
||||||
|
+++ b/clang/test/CodeGen/dwarf-version.c
|
||||||
|
@@ -2,10 +2,10 @@
|
||||||
|
// RUN: %clang -target x86_64-linux-gnu -gdwarf-3 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER3
|
||||||
|
// RUN: %clang -target x86_64-linux-gnu -gdwarf-4 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
||||||
|
// RUN: %clang -target x86_64-linux-gnu -gdwarf-5 -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
||||||
|
-// RUN: %clang -target x86_64-linux-gnu -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
||||||
|
-// RUN: %clang -target x86_64-linux-gnu -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
||||||
|
-// RUN: %clang --target=i386-pc-solaris -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
||||||
|
-// RUN: %clang --target=i386-pc-solaris -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER5
|
||||||
|
+// RUN: %clang -target x86_64-linux-gnu -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
||||||
|
+// RUN: %clang -target x86_64-linux-gnu -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
||||||
|
+// RUN: %clang --target=i386-pc-solaris -g -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
||||||
|
+// RUN: %clang --target=i386-pc-solaris -gdwarf -S -emit-llvm -o - %s | FileCheck %s --check-prefix=VER4
|
||||||
|
|
||||||
|
// The -isysroot is used as a hack to avoid LIT messing with the SDKROOT
|
||||||
|
// environment variable which indirecty overrides the version in the target
|
||||||
|
diff --git a/clang/test/Driver/as-options.s b/clang/test/Driver/as-options.s
|
||||||
|
index 73d002c7ef7e..71d55f7fd537 100644
|
||||||
|
--- a/clang/test/Driver/as-options.s
|
||||||
|
+++ b/clang/test/Driver/as-options.s
|
||||||
|
@@ -122,7 +122,7 @@
|
||||||
|
// RUN: FileCheck --check-prefix=DEBUG %s
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -g0 -g %s -### 2>&1 | \
|
||||||
|
// RUN: FileCheck --check-prefix=DEBUG %s
|
||||||
|
-// DEBUG: "-g" "-gdwarf-5"
|
||||||
|
+// DEBUG: "-g" "-gdwarf-4"
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -g -g0 %s -### 2>&1 | \
|
||||||
|
// RUN: FileCheck --check-prefix=NODEBUG %s
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-5 -g0 %s -### 2>&1 | \
|
||||||
|
@@ -141,7 +141,7 @@
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-2 %s -### 2>&1 | \
|
||||||
|
// RUN: FileCheck --check-prefix=GDWARF2 %s
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf %s -### 2>&1 | \
|
||||||
|
-// RUN: FileCheck --check-prefix=GDWARF5 %s
|
||||||
|
+// RUN: FileCheck --check-prefix=GDWARF4 %s
|
||||||
|
|
||||||
|
// RUN: %clang --target=aarch64-linux-gnu -fno-integrated-as -gdwarf-5 %s -### 2>&1 | \
|
||||||
|
// RUN: FileCheck --check-prefix=GDWARF5 %s
|
||||||
|
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
|
||||||
|
index 5b6dfe308a76..4da65272a1b0 100644
|
||||||
|
--- a/clang/test/Driver/cl-options.c
|
||||||
|
+++ b/clang/test/Driver/cl-options.c
|
||||||
|
@@ -571,7 +571,7 @@
|
||||||
|
// RUN: %clang_cl -gdwarf /Z7 /c -### -- %s 2>&1 | FileCheck -check-prefix=Z7_gdwarf %s
|
||||||
|
// Z7_gdwarf-NOT: "-gcodeview"
|
||||||
|
// Z7_gdwarf: "-debug-info-kind=constructor"
|
||||||
|
-// Z7_gdwarf: "-dwarf-version=
|
||||||
|
+// Z7_gdwarf: "-dwarf-version=4
|
||||||
|
|
||||||
|
// RUN: %clang_cl /ZH:MD5 /c -### -- %s 2>&1 | FileCheck -check-prefix=ZH_MD5 %s
|
||||||
|
// ZH_MD5: "-gsrc-hash=md5"
|
||||||
|
diff --git a/clang/test/Driver/clang-g-opts.c b/clang/test/Driver/clang-g-opts.c
|
||||||
|
index b73602a155b0..b0cf64674253 100644
|
||||||
|
--- a/clang/test/Driver/clang-g-opts.c
|
||||||
|
+++ b/clang/test/Driver/clang-g-opts.c
|
||||||
|
@@ -36,7 +36,7 @@
|
||||||
|
|
||||||
|
// CHECK-WITHOUT-G-NOT: -debug-info-kind
|
||||||
|
// CHECK-WITH-G: "-debug-info-kind=constructor"
|
||||||
|
-// CHECK-WITH-G: "-dwarf-version=5"
|
||||||
|
+// CHECK-WITH-G: "-dwarf-version=4"
|
||||||
|
// CHECK-WITH-G-DWARF4: "-dwarf-version=4"
|
||||||
|
// CHECK-WITH-G-DWARF2: "-dwarf-version=2"
|
||||||
|
|
||||||
|
diff --git a/clang/test/Driver/ve-toolchain.c b/clang/test/Driver/ve-toolchain.c
|
||||||
|
index 078341eb1202..6ccbef6a0c36 100644
|
||||||
|
--- a/clang/test/Driver/ve-toolchain.c
|
||||||
|
+++ b/clang/test/Driver/ve-toolchain.c
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
/// Checking dwarf-version
|
||||||
|
|
||||||
|
// RUN: %clang -### -g --target=ve %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
||||||
|
-// DWARF_VER: "-dwarf-version=5"
|
||||||
|
+// DWARF_VER: "-dwarf-version=4"
|
||||||
|
|
||||||
|
///-----------------------------------------------------------------------------
|
||||||
|
/// Checking include-path
|
||||||
|
diff --git a/clang/test/Driver/ve-toolchain.cpp b/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
index cd48dd792f85..f77781d4c6fa 100644
|
||||||
|
--- a/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
+++ b/clang/test/Driver/ve-toolchain.cpp
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|
// RUN: %clangxx -### -g --target=ve-unknown-linux-gnu \
|
||||||
|
// RUN: %s 2>&1 | FileCheck -check-prefix=DWARF_VER %s
|
||||||
|
-// DWARF_VER: "-dwarf-version=5"
|
||||||
|
+// DWARF_VER: "-dwarf-version=4"
|
||||||
|
|
||||||
|
///-----------------------------------------------------------------------------
|
||||||
|
/// Checking include-path
|
||||||
|
--
|
||||||
|
2.45.1
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
From a2449cee8c995b56f1892502aab3dfad3d6f3ca1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
|
||||||
|
Date: Fri, 8 Sep 2023 11:45:34 -0300
|
||||||
|
Subject: [PATCH] Workaround a bug in ORC on ppc64le
|
||||||
|
|
||||||
|
The Jit code appears to be returning the wrong printf symbol on ppc64le
|
||||||
|
after the transition of the default long double to IEEE 128-bit floating
|
||||||
|
point.
|
||||||
|
---
|
||||||
|
clang/unittests/Interpreter/InterpreterTest.cpp | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
|
||||||
|
index abb8e6377aab..7b6697ebc6ed 100644
|
||||||
|
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
|
||||||
|
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
|
||||||
|
@@ -243,7 +243,9 @@ TEST(IncrementalProcessing, FindMangledNameSymbol) {
|
||||||
|
EXPECT_FALSE(!Addr);
|
||||||
|
|
||||||
|
// FIXME: Re-enable when we investigate the way we handle dllimports on Win.
|
||||||
|
-#ifndef _WIN32
|
||||||
|
+ // FIXME: The printf symbol returned from the Jit may not be correct on
|
||||||
|
+ // ppc64le when the default long double is IEEE 128-bit fp.
|
||||||
|
+#if !defined _WIN32 && !(defined __PPC64__ && defined __LITTLE_ENDIAN__)
|
||||||
|
EXPECT_EQ((uintptr_t)&printf, Addr->getValue());
|
||||||
|
#endif // _WIN32
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
|
@ -0,0 +1,85 @@
|
||||||
|
From 22d62b32cd3be5fb0ae10723b35a781e0f862b71 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Tue, 24 Jan 2023 22:46:25 +0000
|
||||||
|
Subject: [PATCH] clang-tools-extra: Make test dependency on LLVMHello optional
|
||||||
|
|
||||||
|
This fixes clang + clang-tools-extra standalone build after
|
||||||
|
36892727e4f19a60778e371d78f8fb09d8122c85.
|
||||||
|
---
|
||||||
|
clang-tools-extra/test/CMakeLists.txt | 10 +++++++++-
|
||||||
|
clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp | 2 +-
|
||||||
|
clang-tools-extra/test/lit.cfg.py | 3 +++
|
||||||
|
clang-tools-extra/test/lit.site.cfg.py.in | 1 +
|
||||||
|
4 files changed, 14 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
index f4c529ee8af2..1cfb4dd529aa 100644
|
||||||
|
--- a/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
+++ b/clang-tools-extra/test/CMakeLists.txt
|
||||||
|
@@ -7,10 +7,15 @@
|
||||||
|
set(CLANG_TOOLS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||||
|
set(CLANG_TOOLS_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/..")
|
||||||
|
|
||||||
|
+if (TARGET LLVMHello)
|
||||||
|
+ set (LLVM_HAS_LLVM_HELLO 1)
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
llvm_canonicalize_cmake_booleans(
|
||||||
|
CLANG_TIDY_ENABLE_STATIC_ANALYZER
|
||||||
|
CLANG_PLUGIN_SUPPORT
|
||||||
|
LLVM_INSTALL_TOOLCHAIN_ONLY
|
||||||
|
+ LLVM_HAS_LLVM_HELLO
|
||||||
|
)
|
||||||
|
|
||||||
|
configure_lit_site_cfg(
|
||||||
|
@@ -86,7 +91,10 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(TARGET CTTestTidyModule)
|
||||||
|
- list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule LLVMHello)
|
||||||
|
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
|
||||||
|
+ if (TARGET LLVMHello)
|
||||||
|
+ list(APPEND CLANG_TOOLS_TEST_DEPS CTTestTidyModule)
|
||||||
|
+ endif()
|
||||||
|
target_include_directories(CTTestTidyModule PUBLIC BEFORE "${CLANG_TOOLS_SOURCE_DIR}")
|
||||||
|
if(CLANG_PLUGIN_SUPPORT AND (WIN32 OR CYGWIN))
|
||||||
|
set(LLVM_LINK_COMPONENTS
|
||||||
|
diff --git a/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp b/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
index c66a94f458cf..b4e7a5d691e5 100644
|
||||||
|
--- a/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
+++ b/clang-tools-extra/test/clang-tidy/CTTestTidyModule.cpp
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-// REQUIRES: plugins
|
||||||
|
+// REQUIRES: plugins, llvm-hello
|
||||||
|
// RUN: clang-tidy -checks='-*,mytest*' --list-checks -load %llvmshlibdir/CTTestTidyModule%pluginext -load %llvmshlibdir/LLVMHello%pluginext | FileCheck --check-prefix=CHECK-LIST %s
|
||||||
|
// CHECK-LIST: Enabled checks:
|
||||||
|
// CHECK-LIST-NEXT: mytest1
|
||||||
|
diff --git a/clang-tools-extra/test/lit.cfg.py b/clang-tools-extra/test/lit.cfg.py
|
||||||
|
index 9f64fd3d2ffa..1b258a00ddf9 100644
|
||||||
|
--- a/clang-tools-extra/test/lit.cfg.py
|
||||||
|
+++ b/clang-tools-extra/test/lit.cfg.py
|
||||||
|
@@ -75,6 +75,9 @@ config.substitutions.append(("%clang_tidy_headers", clang_tidy_headers))
|
||||||
|
if config.has_plugins and config.llvm_plugin_ext:
|
||||||
|
config.available_features.add("plugins")
|
||||||
|
|
||||||
|
+if config.has_llvm_hello:
|
||||||
|
+ config.available_features.add("llvm-hello")
|
||||||
|
+
|
||||||
|
# It is not realistically possible to account for all options that could
|
||||||
|
# possibly be present in system and user configuration files, so disable
|
||||||
|
# default configs for the test runs.
|
||||||
|
diff --git a/clang-tools-extra/test/lit.site.cfg.py.in b/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
index 4eb830a1baf1..6e5559348454 100644
|
||||||
|
--- a/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
+++ b/clang-tools-extra/test/lit.site.cfg.py.in
|
||||||
|
@@ -11,6 +11,7 @@ config.target_triple = "@LLVM_TARGET_TRIPLE@"
|
||||||
|
config.host_triple = "@LLVM_HOST_TRIPLE@"
|
||||||
|
config.clang_tidy_staticanalyzer = @CLANG_TIDY_ENABLE_STATIC_ANALYZER@
|
||||||
|
config.has_plugins = @CLANG_PLUGIN_SUPPORT@ & ~@LLVM_INSTALL_TOOLCHAIN_ONLY@
|
||||||
|
+config.has_llvm_hello = @LLVM_HAS_LLVM_HELLO@
|
||||||
|
# Support substitution of the tools and libs dirs with user parameters. This is
|
||||||
|
# used when we can't determine the tool dir at configuration time.
|
||||||
|
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
|
||||||
|
--
|
||||||
|
2.40.1
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
From 988dd3f3363d8ab4ee53f61e0eb5afc6646c9d4f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nikita Popov <npopov@redhat.com>
|
||||||
|
Date: Tue, 26 Sep 2023 13:06:29 +0200
|
||||||
|
Subject: [PATCH] disable myst parser
|
||||||
|
|
||||||
|
---
|
||||||
|
clang/docs/conf.py | 3 ---
|
||||||
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
|
||||||
|
index ca310026f53e..dfb74273b5b2 100644
|
||||||
|
--- a/clang/docs/conf.py
|
||||||
|
+++ b/clang/docs/conf.py
|
||||||
|
@@ -35,9 +35,6 @@ templates_path = ["_templates"]
|
||||||
|
|
||||||
|
import sphinx
|
||||||
|
|
||||||
|
-if sphinx.version_info >= (3, 0):
|
||||||
|
- extensions.append("myst_parser")
|
||||||
|
-
|
||||||
|
# The encoding of source files.
|
||||||
|
# source_encoding = 'utf-8-sig'
|
||||||
|
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
Loading…
Reference in New Issue