|
25 | 25 | from decorators import needs_make |
26 | 26 |
|
27 | 27 | from tools import building, utils |
28 | | -from tools.shared import CLANG_CC, CLANG_CXX, EMCC, PIPE, config |
| 28 | +from tools.shared import PIPE, config, paths |
29 | 29 | from tools.utils import run_process |
30 | 30 |
|
31 | 31 | # standard arguments for timing: |
@@ -232,7 +232,7 @@ def build(self, parent, filename, args, shared_args, emcc_args, native_args, nat |
232 | 232 | final = final.replace('.cpp', '') |
233 | 233 | utils.delete_file(final) |
234 | 234 | cmd = [ |
235 | | - EMCC, filename, |
| 235 | + paths.EMCC, filename, |
236 | 236 | OPTIMIZATIONS, |
237 | 237 | '-sINITIAL_MEMORY=256MB', |
238 | 238 | '-sENVIRONMENT=node,shell', |
@@ -361,7 +361,7 @@ def get_output_files(self): |
361 | 361 | aot_v8 = (config.V8_ENGINE if config.V8_ENGINE else []) + ['--no-liftoff'] |
362 | 362 |
|
363 | 363 | named_benchmarkers = { |
364 | | - 'clang': NativeBenchmarker('clang', [CLANG_CC], [CLANG_CXX]), |
| 364 | + 'clang': NativeBenchmarker('clang', [paths.CLANG_CC], [paths.CLANG_CXX]), |
365 | 365 | 'gcc': NativeBenchmarker('gcc', ['gcc', '-no-pie'], ['g++', '-no-pie']), |
366 | 366 | 'size': SizeBenchmarker('size'), |
367 | 367 | 'v8': EmscriptenBenchmarker('v8', aot_v8), |
|
0 commit comments