projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b110ca
)
Delete a spurious semicolon.
author
Dan Gohman
<gohman@apple.com>
Sat, 24 Oct 2009 23:24:45 +0000
(23:24 +0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 24 Oct 2009 23:24:45 +0000
(23:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85018
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/Util.py
patch
|
blob
|
history
diff --git
a/utils/lit/Util.py
b/utils/lit/Util.py
index e62a8ed81dc196f5404f5613c82aca74bb1703a0..66c5e46f690a51bea04335254d0964a5e87ca281 100644
(file)
--- a/
utils/lit/Util.py
+++ b/
utils/lit/Util.py
@@
-15,7
+15,7
@@
def detectCPUs():
return int(os.popen2("sysctl -n hw.ncpu")[1].read())
# Windows:
if os.environ.has_key("NUMBER_OF_PROCESSORS"):
return int(os.popen2("sysctl -n hw.ncpu")[1].read())
# Windows:
if os.environ.has_key("NUMBER_OF_PROCESSORS"):
- ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
;
+ ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
if ncpus > 0:
return ncpus
return 1 # Default
if ncpus > 0:
return ncpus
return 1 # Default