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

Hans Wennborg via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 9 14:20:44 PST 2017


It's difficult for me to try and debug this as the snapshots are built
by a lengthy batch process.

I've just removed the OpenMP runtime from the snapshots for now.

If you don't have a Windows machine setup for building, it sounds like
this isn't supported on Windows and should be disabled.

Thanks,
Hans

On Tue, Jan 31, 2017 at 12:02 AM, Hahnfeld, Jonas
<Hahnfeld at itc.rwth-aachen.de> wrote:
> 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


More information about the Openmp-commits mailing list