Skip to content

Commit

Permalink
Revert "Check that the LLVM runtimes checkout is new enough"
Browse files Browse the repository at this point in the history
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 2d4d5d0.
  • Loading branch information
jrtc27 committed Feb 15, 2024
1 parent 3945123 commit 307050e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pycheribuild/projects/cross/libcxx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 307050e

Please sign in to comment.