diff --git a/third_party/gpus/cuda_configure.bzl b/third_party/gpus/cuda_configure.bzl index bdaaa4ab250..a4eccc4d235 100644 --- a/third_party/gpus/cuda_configure.bzl +++ b/third_party/gpus/cuda_configure.bzl @@ -49,6 +49,7 @@ load( "is_windows", "raw_exec", "read_dir", + "realpath", "which", ) @@ -360,8 +361,8 @@ def _cuda_include_path(repository_ctx, cuda_config): ) inc_entries = [] if target_dir != "": - inc_entries.append(target_dir) - inc_entries.append(cuda_config.cuda_toolkit_path + "/include") + inc_entries.append(realpath(repository_ctx, target_dir)) + inc_entries.append(realpath(repository_ctx, cuda_config.cuda_toolkit_path + "/include")) return inc_entries def enable_cuda(repository_ctx): diff --git a/third_party/gpus/find_cuda_config.py b/third_party/gpus/find_cuda_config.py index 39f2c21d3fb..e2ab42abf67 100644 --- a/third_party/gpus/find_cuda_config.py +++ b/third_party/gpus/find_cuda_config.py @@ -437,7 +437,7 @@ def _get_legacy_path(env_name, default=[]): def _normalize_path(path): """Returns normalized path, with forward slashes on Windows.""" - path = os.path.normpath(path) + path = os.path.realpath(path) if _is_windows(): path = path.replace("\\", "/") return path diff --git a/third_party/gpus/find_cuda_config.py.gz.base64 b/third_party/gpus/find_cuda_config.py.gz.base64 index 418acdfd5ac..ee5ddc22044 100644 --- a/third_party/gpus/find_cuda_config.py.gz.base64 +++ b/third_party/gpus/find_cuda_config.py.gz.base64 @@ -1 +1 @@ -eJzNXHtz47iR/5+fAseJy6RHpu291FZOF++V157JKvHZU7Zm9lK2o0AkLHFNkQofkpVUvvt1NwASBCm/JlsZVa1HAtFAd+PXLxDYd+w0W27yeDYv2XeHR//FxnPBxiItsvxjkq3ZSVXOs7wI2EmSsCvsVrArUYh8JaLAeee8Y+dxCN1FxKo0Ejkrgf5kyUP4Rz0ZsC8iL+IsZd8Fh8zDDq565Pr/DSNssoot+IalWcmqQsAQccHu40Qw8RiKZcnilIXZYpnEPA0FW8flnKZRgwAb7M9qiGxacujNof8Sft2b/RgviWH8zMtyOTw4WK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nXi9R//lOtKu6t0QrPWoHE8c5uMnTtjbuvslPKDdFC1WkbgWr3uC+tmgr5tp87ayOFu2jvwd+Y+jma2YUQbZFlBEujZJ97NkYxo6rPfM+/ocMCO6qzvHfuxs62ltpzWvFBXWuR2U338DDeejNc7+mqExWujhP4dqV5Emlf4akzaCm/y/J6dcJMLe7+qbzUUUNJ0C1Kgcq+hYgcwtxtnetBi73D0m2JzD3Gr3D07XAaD9kZHLR3Vjj3CUT23XbZOvOwRzap3eyQzL0s+I5i5x9HwZhW9tVQ6peqTrE63tkvXG/p7JOxJVnuktO9zPiOpXQe3+e3JXUlqtO6Hgb7SQqPGpVjUQQu08gCcRfJajks5Jt0+aLXSWyaj6CPX83CHSrKi8MpMmdWNNBnrFhxqOhqjLuaIObEZ4DmkShgHartxUXNdM0FX+T13pxjKPX3mNSP5/fUVuiC1d4+BT/4vAAL831sIryhzT6jaGx9CpCjx+IPjYLCnDGQyoauGkwlKMpm4OJIUyvl/z0/IjA== \ No newline at end of file diff --git a/third_party/remote_config/common.bzl b/third_party/remote_config/common.bzl index 5a78a8320b9..2d627e26cb8 100644 --- a/third_party/remote_config/common.bzl +++ b/third_party/remote_config/common.bzl @@ -265,7 +265,7 @@ def realpath(repository_ctx, path, bash_bin = None): if bash_bin == None: bash_bin = get_bash_bin(repository_ctx) - return execute(repository_ctx, [bash_bin, "-c", "realpath %s" % path]).stdout.strip() + return execute(repository_ctx, [bash_bin, "-c", "realpath \"%s\"" % path]).stdout.strip() def err_out(result): """Returns stderr if set, else stdout.