[Openmp-commits] [openmp] r293094 - [OpenMP] Initial implementation of OpenMP offloading library - libomptarget.

Hahnfeld, Jonas via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 31 00:02:20 PST 2017


Hi Hans,

> -- LIBOMPTARGET: Building offloading runtime library libomptarget.
should only be printed after -std=c++11 is checked, so libomptarget is 
probably built.

> CMake Error at projects/openmp/libomptarget/CMakeLists.txt:101 (install):
>   install Library TARGETS given no DESTINATION!
is really weird because line 101 actually has a DESTINATION. However, this is 
only applied for shared libraries if I understand the CMake documentation for 
install() correctly.
libomp specifies RUNTIME for WIN32 here... Would you mind testing with RUNTIME 
instead of LIRBARY or without any keyword at all? I don't currently have a 
Windows machine setup for building...

Regards,
Jonas

> -----Original Message-----
> From: hwennborg at google.com [mailto:hwennborg at google.com] On Behalf
> Of Hans Wennborg
> Sent: Monday, January 30, 2017 11:11 PM
> To: George Rokos; Hahnfeld, Jonas
> Cc: openmp-commits (openmp-commits at lists.llvm.org)
> Subject: Re: [Openmp-commits] [openmp] r293094 - [OpenMP] Initial
> implementation of OpenMP offloading library - libomptarget.
>
> Hi George,
>
> On Wed, Jan 25, 2017 at 1:27 PM, George Rokos via Openmp-commits
> <openmp-commits at lists.llvm.org> wrote:
> > Author: grokos
> > Date: Wed Jan 25 15:27:24 2017
> > New Revision: 293094
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=293094&view=rev
> > Log:
> > [OpenMP] Initial implementation of OpenMP offloading library -
> libomptarget.
> >
> > This is the patch upstreaming the device-agnostic part of libomptarget.
> >
> > Differential Revision: https://reviews.llvm.org/D14031
>
> I believe this broke self-hosting of clang+openmp on Windows.
>
> I get the following CMake error:
>
> -- LIBOMPTARGET: Building offloading runtime library libomptarget.
> CMake Error at projects/openmp/libomptarget/CMakeLists.txt:101 (install):
>   install Library TARGETS given no DESTINATION!
>
> I'm not sure that makes any sense.
>
> It seems the library does not get built with MSVC, probably because it
> doesn't support the -std=c++11 option. But clang-cl does.
>
> Is this library expected to build on Windows? Otherwise, can we disable it?
>
> For this week's Windows snapshot, I'll just exclude OpenMP.
>
> Thanks,
> Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170131/c8fb043e/attachment.bin>


More information about the Openmp-commits mailing list