(tool)
| 868 | |
| 869 | # The root directory of the build. |
| 870 | def llvm_build_dir(tool): |
| 871 | generator_suffix = cmake_generator_prefix() |
| 872 | bitness_suffix = '_32' if tool.bitness == 32 else '_64' |
| 873 | |
| 874 | if tool.git_branch: |
| 875 | build_dir = 'build_' + tool.git_branch.replace(os.sep, '-') + generator_suffix + bitness_suffix |
| 876 | else: |
| 877 | build_dir = 'build_' + tool.version + generator_suffix + bitness_suffix |
| 878 | return build_dir |
| 879 | |
| 880 | |
| 881 | def exe_suffix(filename): |
no test coverage detected