Skip to content

Commit

Permalink
Merge pull request tensorflow#488 from yxsamliu/fix-depend
Browse files Browse the repository at this point in the history
Fix rocm crosstool missing environment variable
  • Loading branch information
whchung committed Jun 3, 2019
2 parents 1cf84eb + 9a795d8 commit e05f02d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def InvokeHipcc(argv, log=False):
host_compiler_options +
' ' + GCC_HOST_COMPILER_PATH +
' -I .' + includes + ' ' + srcs + ' -M -o ' + depfile)
cmd = HIPCC_ENV.replace(';', ' ') + ' ' + cmd
if log: Log(cmd)
if VERBOSE: print(cmd)
exit_status = os.system(cmd)
if exit_status != 0:
return exit_status
Expand Down

0 comments on commit e05f02d

Please sign in to comment.