Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
15f7bc38
Commit
15f7bc38
authored
Mar 21, 2010
by
Ian Lynagh
Browse files
Allow specifying $threads directly when validating
parent
c9959e41
Changes
1
Hide whitespace changes
Inline
Side-by-side
validate
View file @
15f7bc38
...
...
@@ -45,10 +45,14 @@ do
shift
done
if
[
"
$CPUS
"
=
""
]
;
then
threads
=
2
if
[
"
$THREADS
"
=
""
]
;
then
if
[
"
$CPUS
"
=
""
]
;
then
threads
=
2
else
threads
=
$((
$CPUS
+
1
))
# `expr $CPUS + 1`
fi
else
threads
=
$((
$CPUS
+
1
))
# `expr $CPUS + 1`
threads
=
"
$THREADS
"
fi
if
[
$testsuite_only
-eq
0
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment