Merge branch 'ldconfig-fix' of github.com:domschl/tensorflow into ldconfig-fix
This commit is contained in:
commit
ef59a95a48
2
third_party/gpus/find_cuda_config.py
vendored
2
third_party/gpus/find_cuda_config.py
vendored
@ -143,7 +143,7 @@ def _get_ld_config_paths():
|
||||
for line in output.splitlines():
|
||||
try:
|
||||
match = pattern.match(line.decode("ascii"))
|
||||
except:
|
||||
except UnicodeDecodeError:
|
||||
match = False
|
||||
if match:
|
||||
result.add(os.path.dirname(match.group(1)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user