This repository has been archived by the owner on Feb 5, 2019. It is now read-only.
forked from luqmana/llvm
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As of the time of this writing it's not actually used anywhere meaningfullly throughout the LLVM repo that we need, and it unfortunately uses `std::thread` which isn't available in mingw-w64 toolchains with the win32 threading model (the one that we use). Two major changes were made to achieve this: 1. The `ThreadPool.cpp` file was just entirely commented out. This isn't used anywhere in the LLVM repo nor in Rust itself. 2. The `ParallelCG.cpp` file was mostly deleted. Unfortunately it's used a few places in LLVM and is needed to link correctly, but we in Rust don't use it at all. For now it's just a stub implementation that hopefully compiles everywhere, but perhaps we can find a less invasive (aka doesn't have rebase conflicts in the future) change to apply soon. For reference, the upstream LLVM bug has been reported [1] [1]: https://llvm.org/bugs/show_bug.cgi?id=26365
- Loading branch information
1 parent
b9e8f0c
commit 69ef168
Showing
4 changed files
with
13 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#if 0 | ||
|
||