Issue 126358
Summary libc/CMakeLists.txt: `string sub-command REPLACE requires at least four arguments.`
Labels build-problem, libc
Assignees
Reporter sylvestre
    Caused by this change: https://github.com/llvm/llvm-project/issues/125831

```
-- Targeting AArch64
CMake Error at /build/source/libc/CMakeLists.txt:54 (string):
  string sub-command REPLACE requires at least four arguments.

```

if(LLVM_VERSION_MAJOR)
  string(REPLACE "-" "" NS_LLVM_VERSION_SUFFIX ${LLVM_VERSION_SUFFIX})
  set(default_namespace "__llvm_libc_${LLVM_VERSION_MAJOR}_${LLVM_VERSION_MINOR}_${LLVM_VERSION_PATCH}_${NS_LLVM_VERSION_SUFFIX}")
endif()


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to