From 307050eba4d01ae3c306083b9d351e9c6a1e95e6 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Thu, 15 Feb 2024 00:22:04 +0000 Subject: [PATCH] Revert "Check that the LLVM runtimes checkout is new enough" As discussed in the parent commit, this just doesn't work in practice and breaks real cases (including the default shallow checkout). Instead just let the build fail if your LLVM checkout is too old. This reverts commit 2d4d5d00727e58970ceef40e49c56519ed5b963c. --- pycheribuild/projects/cross/libcxx.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pycheribuild/projects/cross/libcxx.py b/pycheribuild/projects/cross/libcxx.py index 040d5a135..cbdb71e81 100644 --- a/pycheribuild/projects/cross/libcxx.py +++ b/pycheribuild/projects/cross/libcxx.py @@ -600,8 +600,6 @@ def configure(self, **kwargs) -> None: self.add_cmake_options(LIBCXX_ENABLE_ASSERTIONS=True) # Need to export the symbols from debug.cpp to allow linking code that defines _LIBCPP_DEBUG=1 self.add_cmake_options(LIBCXX_ENABLE_BACKWARDS_COMPATIBILITY_DEBUG_MODE_SYMBOLS=True) - if not GitRepository.contains_commit(self, "f4fdc4f4d9f6903808541645d383be2ee759f400", src_dir=self.source_dir): - self.fatal(f"LLVM revision in {self.source_dir} is too old for this target, please update.") super().configure(**kwargs) def compile(self, **kwargs):