Skip to content
Snippets Groups Projects
Unverified Commit ab6468f7 authored by Gene Kogan's avatar Gene Kogan Committed by GitHub
Browse files

circumvent nvcc bug

parent af6d5e5a
Branches
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ def _run_cmd(cmd):
raise RuntimeError('NVCC returned an error. See below for full command line and output log:\n\n%s\n\n%s' % (cmd, output))
def _prepare_nvcc_cli(opts):
cmd = 'nvcc ' + opts.strip()
cmd = 'nvcc --std=c++11 -DNDEBUG ' + opts.strip()
cmd += ' --disable-warnings'
cmd += ' --include-path "%s"' % tf.sysconfig.get_include()
cmd += ' --include-path "%s"' % os.path.join(tf.sysconfig.get_include(), 'external', 'protobuf_archive', 'src')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment