Construct make command line.
(target='', quiet=True)
| 68 | |
| 69 | |
| 70 | def make_args(target='', quiet=True): |
| 71 | """Construct make command line.""" |
| 72 | args = (['make', 'SHELL=/bin/bash', |
| 73 | 'BUILD_WITH_NNAPI=false', '-C', TENSORFLOW_DIR] |
| 74 | + MAKE_CROSS_OPTIONS + |
| 75 | ['-f', RELATIVE_MAKEFILE_PATH, '-j', |
| 76 | str(get_build_cpus())]) |
| 77 | if quiet: |
| 78 | args.append('--quiet') |
| 79 | if target: |
| 80 | args.append(target) |
| 81 | return args |
| 82 | |
| 83 | |
| 84 | def make_output(target): |
no test coverage detected