[all-commits] [llvm/llvm-project] ddf124: [Test] Disable Linux perf test under WSL (#137822)
Michael Kruse via All-commits
all-commits at lists.llvm.org
Tue May 13 04:35:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddf124984212718edc65a7a21d0c04eed4d8fcd9
https://github.com/llvm/llvm-project/commit/ddf124984212718edc65a7a21d0c04eed4d8fcd9
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M llvm/test/ExecutionEngine/JITLink/x86-64/ELF_perf.s
M llvm/test/lit.cfg.py
Log Message:
-----------
[Test] Disable Linux perf test under WSL (#137822)
Linux perf_events is not implemented in WSL1, skip the test that
requires it.
There is just a single test that requires perf_events. It fails under
WSL1 with:
```sh
env JITDUMPDIR=/home/meinersbur/build/llvm-project/release/test/ExecutionEngine/JITLink/x86-64/Output/ELF_perf.s.tmp /home/meinersbur/build/llvm-project/release/bin/llvm-jitlink -perf-support /home/meinersbur/build/llvm-project/release/test/ExecutionEngine/JITLink/x86-64/Output/ELF_perf.s.tmp/ELF_x86-64_perf.o
llvm-jitlink error: PerfState not initialized
```
WSL environment detection logic follows
https://github.com/scivision/detect-windows-subsystem-for-linux/blob/main/is_wsl.py
Also see WSL issue: https://github.com/microsoft/WSL/issues/4595
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list