[Bug 1451138] Review Request: libomp - default OpenMP runtime used by clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1451138

Satish Balay <balay@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |balay@xxxxxxxxxxx



--- Comment #1 from Satish Balay <balay@xxxxxxxxxxx> ---
[this is not a review - but feedback]

balay@asterix /home/balay/rpmbuild/RPMS/x86_64
$ rpm -qlp libomp-4.0.0-1.fc26.x86_64.rpm
/usr/lib64/libomp.so
balay@asterix /home/balay/rpmbuild/RPMS/x86_64
$ rpm -qlp libomp-devel-4.0.0-1.fc26.x86_64.rpm
/usr/include/omp.h
balay@asterix /home/balay/rpmbuild/RPMS/x86_64
$ 

The location of these files does not look correct. I would think
/usr/include/omp.h would conflict with omp.h from gomp

Looking at gomp organization I see:

balay@asterix /home/balay
$ locate libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.so
/usr/lib/gcc/x86_64-redhat-linux/7/32/libgomp.so
/usr/lib64/libgomp.so.1
/usr/lib64/libgomp.so.1.0.0
balay@asterix /home/balay
$ locate /omp.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/omp.h
balay@asterix /home/balay
$ 

So presumably clang omp include/libraries should be installed in clang
include/library locations?

Here is how llvm binary distribution is packaged


balay@asterix /home/balay/soft
$ find clang+llvm-4.0.0-x86_64-linux-gnu-debian8 -type f -name omp.h
clang+llvm-4.0.0-x86_64-linux-gnu-debian8/lib/clang/4.0.0/include/omp.h
balay@asterix /home/balay/soft
$ find clang+llvm-4.0.0-x86_64-linux-gnu-debian8 -type f -name "libomp*"
clang+llvm-4.0.0-x86_64-linux-gnu-debian8/lib/libomp.so
balay@asterix /home/balay/soft
$ 


And perhaps the package should have a llvm prefix - say llvm-libomp?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux