Newline after printing ConfigError in configure.py.
Fix error message printed on configuration exception to have a newline suffix in CUDA configuration, without this the two lines run into each other. Before: ``` Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: Inconsistent CUDA toolkit path: /usr vs /usr/libAsking for detailed CUDA configuration... ``` After: ``` Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: Inconsistent CUDA toolkit path: /usr vs /usr/lib Asking for detailed CUDA configuration... ```
This commit is contained in:
parent
cb8e952199
commit
079a6c9215
2
third_party/gpus/find_cuda_config.py
vendored
2
third_party/gpus/find_cuda_config.py
vendored
@ -645,7 +645,7 @@ def main():
|
||||
for key, value in sorted(find_cuda_config().items()):
|
||||
print("%s: %s" % (key, value))
|
||||
except ConfigError as e:
|
||||
sys.stderr.write(str(e))
|
||||
sys.stderr.write(str(e) + '\n')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user