Skip to content

Commit

Permalink
Fix linux build (#1473)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #1473

Differential Revision: D61224976
  • Loading branch information
Matt Blagden authored and facebook-github-bot committed Aug 14, 2024
1 parent 880b164 commit 25e72b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: android-hermes
path: output
linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: |-
Expand Down
2 changes: 1 addition & 1 deletion external/llvh/utils/lit/lit/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def main_with_tmp(builtinParameters):
parser.error('No inputs specified')

if opts.numThreads is None:
opts.numThreads = lit.util.detectCPUs()
opts.numThreads = 1
elif opts.numThreads <= 0:
parser.error("Option '--threads' or '-j' requires positive integer")

Expand Down

0 comments on commit 25e72b6

Please sign in to comment.