From a64930636462bf24118ca7266f699ce2b696e821 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 10 Apr 2025 07:26:30 +0800 Subject: clang branch updated --- repos/archive/llvm/musl-stack-size.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 repos/archive/llvm/musl-stack-size.patch (limited to 'repos/archive/llvm/musl-stack-size.patch') diff --git a/repos/archive/llvm/musl-stack-size.patch b/repos/archive/llvm/musl-stack-size.patch new file mode 100644 index 00000000..b3f2189d --- /dev/null +++ b/repos/archive/llvm/musl-stack-size.patch @@ -0,0 +1,14 @@ +diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp +index 923935bbc..26594aac8 100644 +--- a/llvm/lib/Support/Threading.cpp ++++ b/llvm/lib/Support/Threading.cpp +@@ -77,7 +77,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const { + // keyword. + #include "llvm/Support/thread.h" + +-#if defined(__APPLE__) ++#if 1 + // Darwin's default stack size for threads except the main one is only 512KB, + // which is not enough for some/many normal LLVM compilations. This implements + // the same interface as std::thread but requests the same stack size as the + -- cgit v1.2.3