This repository has been archived by the owner on Apr 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/llvm-lit: Generate "llvm-lit.py" rather than "llvm-lit" on Win3…
…2 hosts to let llvm-lit.py --use-processes work. llvm-lit needs suffix.py for multiprocess to find a main module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196328 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
if (WIN32 AND NOT CYGWIN) | ||
# llvm-lit needs suffix.py for multiprocess to find a main module. | ||
set(suffix .py) | ||
endif () | ||
|
||
configure_file( | ||
llvm-lit.in | ||
${LLVM_TOOLS_BINARY_DIR}/llvm-lit | ||
${LLVM_TOOLS_BINARY_DIR}/llvm-lit${suffix} | ||
) |
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