Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923455 - sci-libs/caffe2-2.1.2-r2 actually compiles fine with OpenBLAS
Summary: sci-libs/caffe2-2.1.2-r2 actually compiles fine with OpenBLAS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 09:25 UTC by znjameswu
Modified: 2024-02-17 22:21 UTC (History)
0 users

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 znjameswu 2024-02-01 09:25:24 UTC
This is not actually a bug report. I'm here to report that this package actually compiles surprisingly smoothly with sci-libs/openblas. If later on the author decides to add support for OpenBLAS, there would be almost no technical blocker.

My modification of ebuild files
```
 mycmakeargs+=(-DBLAS=OpenBLAS)
```

My OpenBLAS setup: (emerge --info openblas)
```
sci-libs/openblas-0.3.23::gentoo was built with the following:
USE="eselect-ldso index-64bit openmp -dynamic -pthread (-relapack) -test" ABI_X86="(64)"
......
```

The configure section of the build.log
```
..........

-- Trying to find preferred BLAS backend of choice: OpenBLAS
-- Found OpenBLAS libraries: /usr/lib64/libopenblas.so
-- Found OpenBLAS include: /usr/include

..........

-- ******** Summary ********
-- General:
..........

--   USE_BLAS              : 1
--     BLAS                : open
--     BLAS_HAS_SBGEMM     : 
...........

```

Also, thank you for this amazing work.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-02-17 22:21:55 UTC
The bug has been closed via the following commit(s):

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

commit 49f65bf6621d8661f608fe3765a90417f53e23fd
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-02-17 22:20:47 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-02-17 22:21:35 +0000

    sci-libs/caffe2: allow use of openblas
    
    Closes: https://bugs.gentoo.org/923455
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/caffe2/{caffe2-2.1.2-r3.ebuild => caffe2-2.1.2-r4.ebuild} | 5 ++++-
 sci-libs/caffe2/metadata.xml                                       | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)