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

           Summary: CMake breaks in x86_64-pc-win32
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


CMake failed in Visual Studio 10 Win64 build. Following patch would fix the
issue.

Index: lib/Target/X86/CMakeLists.txt
===================================================================
--- lib/Target/X86/CMakeLists.txt    (revision 119001)
+++ lib/Target/X86/CMakeLists.txt    (working copy)
@@ -42,10 +42,10 @@
   enable_language(ASM_MASM)
   ADD_CUSTOM_COMMAND(
     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
+    MAIN_DEPENDENCY X86CompilationCallback_Win64.asm
     COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo
${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c
${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
-    DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
    )
-   set(sources ${sources}
${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
+   set(sources ${sources} X86CompilationCallback_Win64.asm)
 endif()

 add_llvm_target(X86CodeGen ${sources})

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to