Another attempt at building 'all'

Clang 17, llvm version 17.0.6, Ubuntu 22. Coonfigure with:

cmake -G Ninja -S runtimes -B msan_out
-DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_RUNTIMES=“all”
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DLLVM_USE_SANITIZER=MemoryWithOrigins

Fails with:

CMake Error at /home/user/instrumentedlibcpp/llvm-project/cmake/Modules/GetClangResourceDir.cmake:16 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
/home/user/instrumentedlibcpp/llvm-project/openmp/CMakeLists.txt:122 (get_clang_resource_dir)

clang and clang++ are in /usr/bin

Any ideas?

Regards

Not tested at all, only in case it helps: ERROR: string sub-command REGEX, mode MATCH needs at least 5 arguments total to command. (#18737) · Issues · CMake / CMake · GitLab suggests quoting ${PACKAGE_VERSION} in GetClangResourceDir.cmake because it might be empty. But presumably it’s in the repo because it doesn’t usually need quoting.