Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559582 - new ebuild for sys-libs/libomp-3.7.0 the clang/llvm openmp runtime library
Summary: new ebuild for sys-libs/libomp-3.7.0 the clang/llvm openmp runtime library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 559588
  Show dependency tree
 
Reported: 2015-09-04 11:35 UTC by Jeremi Piotrowski
Modified: 2015-09-07 15:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for version 3.7.0 (libomp-3.7.0.ebuild,1.43 KB, text/plain)
2015-09-04 11:36 UTC, Jeremi Piotrowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremi Piotrowski 2015-09-04 11:35:21 UTC
Since version 3.7.0 LLVM and Clang come with OpenMP support enabled, however they only generate code for their own OpenMP runtime library. Since this library can actually be built outside of the LLVM tree, I propose to add an ebuild for it. The name/category can be discussed but I see 2x2 options: libomp / openmp, and sys-libs / dev-libs.

I have tried to make the ebuild work with multilib (which it does atleast on amd64) and added the arches that are supported upstream.

I also had to work around a minor issue with /etc/lsb-release which is checked during compilation but which doesn't have the variables they expect to find.

Reproducible: Always
Comment 1 Jeremi Piotrowski 2015-09-04 11:36:30 UTC
Created attachment 410982 [details]
Ebuild for version 3.7.0
Comment 2 Bernard Cafarelli gentoo-dev 2015-09-04 15:36:23 UTC
A LLVM project that can compile outside of LLVM is always nice :) I'll look into adding it to the tree
Comment 3 Bernard Cafarelli gentoo-dev 2015-09-05 22:03:33 UTC
I made a few changes here and there, and the test program works fine.

So far I think this will be sys-libs/libomp-3.7.0, the first as it is a system-wide lib and will sit along other llvm system libraries (like libcxx). libomp will be as openmp is too generic.

As llvm will have a postinstall note, users should still be able to find libomp.
Comment 4 Bernard Cafarelli gentoo-dev 2015-09-07 15:08:38 UTC
I moved the os detection and install links fixes in patches (more robust), and sys-libs/libomp-3.7.0 should appear soon in Portage tree. Thanks again for the report and initial ebuild