Clang + libc++ installation issues on mac

I am attempting to install clang along with libc++ using the following command in ‘build’ directory:

cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS='clang' -DLLVM_ENABLE_RUNTIMES=all ../llvm

However I run into the error

CMake Error at <path to llvm>/llvm-project/libc/CMakeLists.txt:91 (message):
entrypoints.txt file for the target platform not found.

Need help with how to handle this.