[llvm-bugs] [Bug 51375] New: cannot build openmp project with Visual Studio

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 6 02:48:02 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51375

            Bug ID: 51375
           Summary: cannot build openmp project with Visual Studio
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: glevner at gmail.com
                CC: llvm-bugs at lists.llvm.org

Build of LLVM 11 fails on a Windows 7 machine with Visual Studio 2019.

Build commands:

set CXXFLAGS=/bigobj
cmake -G "Visual Studio 16 2019" -A x64 -Thost=x64 
    -D LLVM_ENABLE_PROJECTS=clang;openmp
    -D LLVM_TARGETS_TO_BUILD=X86
    -D LIBOMP_COPY_EXPORTS=OFF
    ..\llvm-project\llvm
msbuild /p:configuration=release projects\openmp\runtime\src\ompimp.vcxproj

Error message:

LINK : fatal error LNK1181: cannot open input file
'C:\Users\Geoff\kirpi\tmp\lib\libomp.dll.lib'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210806/52b111dd/attachment.html>


More information about the llvm-bugs mailing list