| Issue |
238903
|
| Summary |
[clang][Driver] Tests that run a fake GPU arch tool are very slow on macOS premerge CI
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
srividya-sundaram
|
The driver tests that run a fake GPU architecture tool (`--offload-arch=native` with `--offload-arch-tool`, `--nvptx-arch-tool` or `--amdgpu-arch-tool`) are very slow on the macOS premerge runners, even though each test only runs the driver with `-###` or `-ccc-print-phases` and a small shell script.
In the macOS runs since https://github.com/llvm/llvm-project/pull/229248 landed, `nvptx-cuda-system-arch.c` and `openmp-system-arch.c` took between 170 and 296 seconds on every run, including the runs where all tests passed. `sycl-system-arch.cpp` runs its fake tool once per check and failed with "Child timed out" in 29 of 53 runs, so a single run of the script took longer than the `CLANG_TOOLCHAIN_PROGRAM_TIMEOUT: 120` that the macOS premerge workflow sets. Example: https://github.com/llvm/llvm-project/actions/runs/41635790012/job/125916586515
The scripts only print a few lines and exit, so the time seems to go into starting them on the runner rather than into the tests. `sycl-system-arch.cpp` is disabled on macOS for now in https://github.com/llvm/llvm-project/pull/238500.
cc @shahmishal
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs