Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a37284fd
Commit
a37284fd
authored
May 06, 2018
by
Davis King
Browse files
Flush to stdout so that print messages appear where you would expect relative
to output from the subprocesses.
parent
c5f5692a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
setup.py
setup.py
+2
-0
No files found.
setup.py
View file @
a37284fd
...
...
@@ -161,8 +161,10 @@ class CMakeBuild(build_ext):
print
(
"Building extension for Python {}"
.
format
(
sys
.
version
.
split
(
'
\n
'
,
1
)[
0
]))
print
(
"Invoking CMake setup: '{}'"
.
format
(
' '
.
join
(
cmake_setup
)))
sys
.
stdout
.
flush
()
subprocess
.
check_call
(
cmake_setup
,
cwd
=
build_folder
)
print
(
"Invoking CMake build: '{}'"
.
format
(
' '
.
join
(
cmake_build
)))
sys
.
stdout
.
flush
()
subprocess
.
check_call
(
cmake_build
,
cwd
=
build_folder
)
def
num_available_cpu_cores
(
ram_per_build_process_in_gb
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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