On 1/22/20 1:40 PM, Vaughan Butler via blfs-support wrote:
I'm trying to build LLVM-9.0.1 with the optional Clang package, which appears to be required for Firefox to build.

Actually we recommend gcc fro FF:

export CC=gcc CXX=g++ &&
export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
./mach build

This goes OK until invoking ninja, which immediately stops the build, with the message

ninja: error: '../cmake/modules/Generate VersionFromVCS.cmake', needed by 'tools/clang/lib/Basic/VCSVersion.inc', missing and no known rule to make it

Building LLVM without the Clang package completes normally,

Why without Clang?

 but the
Firefox build will complain that it is needed. Curiously I built Firefox on LFS 8.4, in the same way, without this problem.

Hope someone can throw some light on this, as I've found nothing, other than some similar PATH related issues with cmake, after searching the web.

We do mention using clang in the FF Command Explanations, but I haven't tested that lately.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to