Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645048 - sys-libs/libomp: Missing dependencies
Summary: sys-libs/libomp: Missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on: 645086
Blocks:
  Show dependency tree
 
Reported: 2018-01-19 18:17 UTC by Michał Górny
Modified: 2018-01-20 08:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-19 18:17:52 UTC
We need to throughly look through all the scattered magics.

For libomptarget:

a. generic plugins require libelf + libffi,

b. CUDA plugin requires libelf + CUDA (only amd64 & ppc64).

That said, I'm not sure if there's any point in building libomptarget without any plugins.
Comment 1 Larry the Git Cow gentoo-dev 2018-01-20 08:54:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd35597bac4453dbdd861daba54b9228558a4df

commit 6bd35597bac4453dbdd861daba54b9228558a4df
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-20 08:05:03 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-20 08:54:38 +0000

    sys-libs/libomp: Add flags to control offloading (to 6+)
    
    Add USE=offload to control building libomptarget for offloading. When
    enabled, build the native offloading plugin unconditionally. Also add
    USE=cuda to support building the CUDA plugin.
    
    Closes: https://bugs.gentoo.org/645048

 sys-libs/libomp/libomp-6.0.9999.ebuild | 28 +++++++++++++++++++++++-----
 sys-libs/libomp/libomp-9999.ebuild     | 30 ++++++++++++++++++++++++------
 sys-libs/libomp/metadata.xml           |  2 ++
 3 files changed, 49 insertions(+), 11 deletions(-)