Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754276 - =sys-devel/llvm-roc-3.9.0 needs tensorflow lib guard from bug #748444
Summary: =sys-devel/llvm-roc-3.9.0 needs tensorflow lib guard from bug #748444
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-13 16:06 UTC by Fabio Scaccabarozzi
Modified: 2020-11-18 17:56 UTC (History)
2 users (show)

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


Attachments
Patch for missing find_library guard when tensorflow is installed (0001-backport-D88371-guard-find_library-tensorflow_c_api.patch,1.87 KB, patch)
2020-11-13 16:06 UTC, Fabio Scaccabarozzi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Scaccabarozzi 2020-11-13 16:06:02 UTC
llvm-roc fails to compile if tensorflow is installed, the issue is identical to the one from bug #748444 and is solved by the same patch (slightly adapted)

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/llvm-roc-3.9.0 with sci-libs/tensorflow installed
2.
3.
Actual Results:  
Build fails

Expected Results:  
Build should succeed

Please see attached patch (slightly adapted from the same from referenced bug, last chunk would not patch the same).
Comment 1 Fabio Scaccabarozzi 2020-11-13 16:06:57 UTC
Created attachment 671242 [details, diff]
Patch for missing find_library guard when tensorflow is installed
Comment 2 Larry the Git Cow gentoo-dev 2020-11-18 17:56:07 UTC
The bug has been closed via the following commit(s):

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

commit a8ad5900db1f02b75ce25108ea867806abf07095
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-11-18 17:53:45 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-11-18 17:56:01 +0000

    sys-devel/llvm-roc: Fix compile when tensorflow is installed
    
    Closes: https://bugs.gentoo.org/754276
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../llvm-roc/files/llvm-roc-3.9.0-tensorflow.patch | 35 ++++++++++++++++++++++
 sys-devel/llvm-roc/llvm-roc-3.9.0.ebuild           |  1 +
 2 files changed, 36 insertions(+)