Skip to content

Commit 3494056

Browse files
authored
Merge pull request #2941 from apple/cherry-pick-d319005a3746a7661c8c9a3302266b6ff7cf61be
lit: revert 134b103
2 parents af1b036 + 0b85957 commit 3494056

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/utils/lit/lit/util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ def usable_core_count():
119119
n = len(os.sched_getaffinity(0))
120120
except AttributeError:
121121
n = os.cpu_count() or 1
122-
123-
# On Windows, with more than 32 processes, process creation often fails with
124-
# "Too many open files". FIXME: Check if there's a better fix.
125-
if platform.system() == 'Windows':
126-
return min(n, 32)
127-
128122
return n
129123

130124

0 commit comments

Comments
 (0)