Issue 181061
Summary [libc] Unknown CMake command "add_unittest_framework_library". on LLVM 22 RC 3
Labels libc
Assignees
Reporter ZuseZ4
    I retried enabling libc-for-gpu on LLVM 22 rc 3, but now compilation fails with

```
CMake Error at /tmp/drehwald1/prog/rust/src/llvm-project/libc/benchmarks/gpu/CMakeLists.txt:36 (add_unittest_framework_library):
  Unknown CMake command "add_unittest_framework_library".
```

This is fixed by https://github.com/llvm/llvm-project/commit/c9ee81a59e73a760febecad9fb8ed5baa3bee5ef, with which I managed to build llvm+omp+ol+libc via rust bootstrap. Bootstrapping still fails, but at a much later stage when assembling rustc, due to an undefined reference to `std::ios_base_library_init()`, presumably something we can fix on the Rust side. A backport of c9ee81a59e73a760febecad9fb8ed5baa3bee5ef would therefore be appreciated, so we don't have to wait for LLVM 23
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to