[llvm-dev] building LLVM 11 with OpenMP on Windows

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 3 08:21:29 PDT 2021


Am Di., 3. Aug. 2021 um 05:05 Uhr schrieb Geoff Levner via llvm-dev
<llvm-dev at lists.llvm.org>:
> Perhaps a solution would be to compile LLVM/Clang and OpenMP with Visual Studio but separately? Only I don't know how to do that...

You could use ninja on Windows (-cmake GNinja) which only has a single
configuration per builddir. If compilation with cl.exe fail, try
LLVM_ENABLE_RUMTIMES=openmp (instead of LLVM_ENABLE_PROJECTS=openmp)
which will build libomp using just-built clang.

Michael


More information about the llvm-dev mailing list