mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Remove extra level of quoting in cuda toolchain
This isn't necessary and in fact breaks argument parsing when Bazel passes defines that are quote escaped, like `FOO="string"`. PiperOrigin-RevId: 392478003 Change-Id: I97874313b2bf8fbc2cfa5d45354561eb250c4668
This commit is contained in:
committed by
TensorFlower Gardener
parent
c74a7b0169
commit
00589a15db
@@ -27,7 +27,6 @@ import os
|
||||
import subprocess
|
||||
import re
|
||||
import sys
|
||||
import pipes
|
||||
import tempfile
|
||||
|
||||
# Template values set by cuda_autoconf.
|
||||
@@ -202,7 +201,6 @@ def main():
|
||||
|
||||
if args.x and args.x[0] == 'cuda':
|
||||
if args.cuda_log: Log('-x cuda')
|
||||
leftover = [pipes.quote(s) for s in leftover]
|
||||
if args.cuda_log: Log('using nvcc')
|
||||
return InvokeNvcc(leftover, log=args.cuda_log)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user