[LLVMdev] Building on LLVM on OSX: invalid install?

Óscar Fuentes ofv at wanadoo.es
Sat Dec 29 04:41:55 PST 2012

Sensei <senseiwa at gmail.com> writes:


> It turns out, no file matching LLVMConfig is found on OSX, in my
> installation at least, and even making share/llvm and copying "cmake"
> from the initial tarball doesn't work.
> % ls share/llvm/cmake
> README           config-ix.cmake* modules/         platforms/
> Can anyone point me in the right direction?

Seems that the CMake files are missing because LLVM was built with
configure&make. Try building and installing LLVM with cmake and
everything should work.

Copying the cmake files from a tarball doesn't work because some of them
are generated by the build process.

More information about the llvm-dev mailing list