[cfe-dev] Cmake and assembler

Óscar Fuentes ofv at wanadoo.es
Thu Apr 21 20:24:59 PDT 2011


Yuri Gribov <tetra2005 at googlemail.com> writes:

> Anyone managed to build Clang x64 in Visual Studio?
>
> It seems that Cmake can't properly determine host assembler - I get
>     CMAKE_ASM_MASM_COMPILER:FILEPATH=CMAKE_ASM_MASM_COMPILER-NOTFOUND
> in CMakeCache.txt which causes failures when compiling
> X86CompilationCallback_Win64.asm (see
> http://comments.gmane.org/gmane.comp.programming.tools.cmake.user/35420
> for more details).

This is an old problem with cmake support for masm on x64. I thought it
was fixed. Several times, actually:

http://www.llvm.org/bugs/show_bug.cgi?id=4936
http://www.llvm.org/bugs/show_bug.cgi?id=8627

> Perhaps I will be more lucky with nmake Makefiles...

Yes, I recall building LLVM with VS on X64 using nmake makefiles.




More information about the cfe-dev mailing list