crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

musl-stack-size.patch (593B)


      1 diff --git a/llvm/lib/Support/Threading.cpp b/llvm/lib/Support/Threading.cpp
      2 index 923935bbc..26594aac8 100644
      3 --- a/llvm/lib/Support/Threading.cpp
      4 +++ b/llvm/lib/Support/Threading.cpp
      5 @@ -77,7 +77,7 @@ unsigned llvm::ThreadPoolStrategy::compute_thread_count() const {
      6  // keyword.
      7  #include "llvm/Support/thread.h"
      8  
      9 -#if defined(__APPLE__)
     10 +#if 1
     11    // Darwin's default stack size for threads except the main one is only 512KB,
     12    // which is not enough for some/many normal LLVM compilations. This implements
     13    // the same interface as std::thread but requests the same stack size as the
     14