diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-05-24 12:22:12 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-05-24 12:22:12 +0800 |
| commit | 46ca440e9d6cc606d9c3233021e32d24b25172cf (patch) | |
| tree | eeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/llvm/musl-stack-size.patch | |
| parent | 8c2e7bb570c11a51fdcecf7302af4058757d862c (diff) | |
| download | alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip | |
added repos
Diffstat (limited to 'repos/extra/llvm/musl-stack-size.patch')
| -rw-r--r-- | repos/extra/llvm/musl-stack-size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/repos/extra/llvm/musl-stack-size.patch b/repos/extra/llvm/musl-stack-size.patch new file mode 100644 index 00000000..b3f2189d --- /dev/null +++ b/repos/extra/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 + |