<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 2, 2015 at 4:22 PM, Andrey Bokhanko <span dir="ltr"><<a href="mailto:andreybokhanko@gmail.com" target="_blank">andreybokhanko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<br>
The longer one has to explicitly mention "libiomp5" in compiler<br>
options, the better chances for this name to firmly stuck (in readmes,<br>
howtows, tests / performance measurements, etc, etc)<br>
<br>
Andrey<br>
<br></blockquote><div><br></div><div>Andrey,</div><div>     The only thing I don't like about the libiomp5 name is the the 5. It really should have been libiomp.5.dylib. Otherwise, when and if the ABI changes after the initial release, you would have to switch the library name to libiomp6 rather just bumping the so version to libiomp.6.dylib. I worry that embedding the so version into the file name might complicate doing configure/cmake checks for symbols in the shared library as the root library name will keep changing over time.</div><div>                Jack</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Fri, May 1, 2015 at 9:16 PM, Jack Howarth<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:howarth.mailing.lists@gmail.com">howarth.mailing.lists@gmail.com</a>> wrote:<br>
><br>
><br>
> On Fri, May 1, 2015 at 1:57 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>><br>
> wrote:<br>
>><br>
>> On Fri, May 1, 2015 at 10:46 AM Jack Howarth<br>
>> <<a href="mailto:howarth.mailing.lists@gmail.com">howarth.mailing.lists@gmail.com</a>> wrote:<br>
>>><br>
>>> On Thu, Apr 30, 2015 at 5:51 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> On Thu, Apr 30, 2015 at 6:52 AM Andrey Bokhanko<br>
>>>> <<a href="mailto:andreybokhanko@gmail.com">andreybokhanko@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> All,<br>
>>>>><br>
>>>>> I'd like to resurrect the discussion on replacing libgomp with libiomp<br>
>>>>> as the default OpenMP runtime library linked with -fopenmp.<br>
>>>><br>
>>>><br>
>>>> Just for the record, I'm really excited to see this. =]<br>
>>>><br>
>>>>><br>
>>>>> We are very close to getting *full* OpenMP 3.1 specification supported<br>
>>>>> in clang (only one (!) clause is not implemented yet, and the patch is<br>
>>>>> already sent for review today: <a href="http://reviews.llvm.org/D9370" target="_blank">http://reviews.llvm.org/D9370</a>). This<br>
>>>>> implementation generates Intel API library calls; thus, it can't be used<br>
>>>>> with libgomp and it is simply logical to link a compatible runtime (libiomp)<br>
>>>>> instead.<br>
>>>><br>
>>>><br>
>>>> Is there no way to support libgomp here as well? I don't say this to<br>
>>>> hold up changing the defaults in any way, just curious. =]<br>
>>>><br>
>>>> Also, for the record, I'm really excited to see the progress here as<br>
>>>> well.<br>
>>>><br>
>>>>><br>
>>>>> Chandler?<br>
>>>><br>
>>>><br>
>>>> Hi! ;]<br>
>>>><br>
>>>> I totally agree, I think things are way better now. I generally support<br>
>>>> the direction. I think there are a few things I'd suggest we do as part of<br>
>>>> the process, but I think these are really small and just about "how" we<br>
>>>> switch.<br>
>>>><br>
>>>> 1) I completely agree with the comments some others have made about us<br>
>>>> needing to make it clear that this isn't some Intel-only thing, its the LLVM<br>
>>>> OpenMP runtime. Some suggestions that I think would make sense to help here:<br>
>>>> - I agree with finding some non-Intel folks to add as explicit code<br>
>>>> owners. I don't know who has been sufficiently involved, but if Hal makes<br>
>>>> sense, awesome.<br>
>>>> - Clearly updating the readme and such would be appropriate.<br>
>>>> - I suspect we should change the name of the installed library.<br>
>>>> 'libiomp' is pretty clearly the Intel library. We could continue in the<br>
>>>> grand tradition of LLVM naming conventions and use 'libllomp'? Of course, we<br>
>>>> should install symlinks under the name 'libiomp' if needed for existing<br>
>>>> users to not be broken.<br>
>>>> - Any other changes?<br>
>>>><br>
>>><br>
>>> Is this naming issue so serious that it will be blocker for the current<br>
>>> patches to enabled the openmp build from within llvm/projects? Can't we just<br>
>>> proceed with the current library name until the top-level openmp build<br>
>>> infrastructure added and the switch of the default for -fopenmp to libiomp5<br>
>>> is made. It seems more sensible to stabilize the openmp support first and<br>
>>> then revisit the naming issue in a couple of weeks.<br>
>><br>
>><br>
>> For me, I would prefer that the default switch for -fopenmp be towards the<br>
>> new name.<br>
>><br>
>> I freely admit this is a non-technical thing, I just think it helps send<br>
>> the correct message.<br>
>><br>
>> Also, as I said, I'm very sympathetic to the desire to support existing<br>
>> users of the existing name. I think we should at least either make it<br>
>> configurable or install symlinks under the old name... I actually think we<br>
>> should probably do *both*.<br>
><br>
><br>
><br>
> To be done simultaneously or can we stage them so that the name change is<br>
> checked in *after* we stabilize the overall build and switch-over to openmp?<br>
> I would hate to see things delayed over this when we have ages to switch the<br>
> name before the 3.7 release. Also, might you not want to take that time for<br>
> a more in-depth discussion about any changes related to so versioning? Do we<br>
> expect to always just be able to use the same shared library name or will we<br>
> have to explicitly version it for possible ABI changes later on. If we<br>
> expect the existing ABI to never change but only see additions to the ABI as<br>
> OpenMP 4.0 support is added, I guess that isn't an issue. Perhaps such<br>
> issues should be digested for awhile before jumping to a shared library name<br>
> change.<br>
><br>
</div></div></blockquote></div><br></div></div>