cbalint13 opened a new pull request, #18245:
URL: https://github.com/apache/tvm/pull/18245

   This PR fix compile builds on MS-WIN observed during #18243.
   
   ---
   
   * CI errors, likely due to MSCV version upgrade:
   ```
     llvm_module.cc
   C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,35): error 
C2665: 'llvm::orc::RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer': no 
overloaded function could convert all the argument types 
[C:\Users\runneradmin\miniconda3\envs\tvm-build\conda-bld\tvm-package_1756327853683\work\build\tvm_objs.vcxproj]
     (compiling source file '../src/target/llvm/llvm_module.cc')
         
C:\Users\runneradmin\miniconda3\envs\tvm-build\conda-bld\tvm-package_1756327853683\_h_env\Library\include\llvm\ExecutionEngine\Orc\RTDyldObjectLinkingLayer.h(58,3):
         could be 
'llvm::orc::RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer(llvm::orc::ExecutionSession
 &,llvm::orc::RTDyldObjectLinkingLayer::GetMemoryManagerFunction)'
             C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,35):
             
'llvm::orc::RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer(llvm::orc::ExecutionSession
 &,llvm::orc::RTDyldObjectLinkingLayer::GetMemoryManagerFunction)': cannot 
convert argument 2 from '_Ty' to 
'llvm::orc::RTDyldObjectLinkingLayer::GetMemoryManagerFunction'
             with
             [
                 
_Ty=tvm::codegen::LLVMModuleNode::InitORCJIT::<lambda_2>::()::<lambda_1>
             ]
                 C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,56):
                 No user-defined-conversion operator available that can perform 
this conversion, or the operator cannot be called
         C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,35):
         while trying to match the argument list '(llvm::orc::ExecutionSession, 
_Ty)'
             with
             [
                 
_Ty=tvm::codegen::LLVMModuleNode::InitORCJIT::<lambda_2>::()::<lambda_1>
             ]
         C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\include\memory(3630,35):
         the template instantiation context (the oldest one first) is
             
C:\Users\runneradmin\miniconda3\envs\tvm-build\conda-bld\tvm-package_1756327853683\work\src\target\llvm\llvm_module.cc(520,14):
             see reference to function template instantiation 
'std::unique_ptr<llvm::orc::RTDyldObjectLinkingLayer,std::default_delete<llvm::orc::RTDyldObjectLinkingLayer>>
 
std::make_unique<llvm::orc::RTDyldObjectLinkingLayer,llvm::orc::ExecutionSession&,tvm::codegen::LLVMModuleNode::InitORCJIT::<lambda_2>::()::<lambda_1>,0>(llvm::orc::ExecutionSession
 &,tvm::codegen::LLVMModuleNode::InitORCJIT::<lambda_2>::()::<lambda_1> &&)' 
being compiled
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to