Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921246 - media-gfx/openvdb-10.0.1 - force gcc12 with cuda
Summary: media-gfx/openvdb-10.0.1 - force gcc12 with cuda
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-03 04:11 UTC by Kfir Ozer
Modified: 2024-02-20 13:13 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 Kfir Ozer 2024-01-03 04:11:39 UTC
trying to compile openvdb with cuda support needs to use gcc-12. in general  it's something global for now, any app that needs cuda needs to compile with gcc-12.

this one returns this when using gcc-13:
#error -- unsupported GNU version! gcc versions later than 12 are not supported! 

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-02-20 13:13:44 UTC
The bug has been closed via the following commit(s):

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

commit 9ec9ce46d4e4a91169d9985976f683d5106de67d
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-12-08 14:36:04 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-20 13:12:10 +0000

    media-gfx/openvdb: add 11.0.0
    
    Automatically detects working host compiler for CUDA.
    Automatically detects host CUDA arch, can be overridden by setting CUDAARCHS env var.
    
    Re-enabled ax requiring <=llvm-15.
    
    Modified NanoVDB.h so Blender can decern the NanoVDB version and include the correct header.
    
    Closes: https://bugs.gentoo.org/664796
    Closes: https://bugs.gentoo.org/686824
    Closes: https://bugs.gentoo.org/831043
    Closes: https://bugs.gentoo.org/833168
    Closes: https://bugs.gentoo.org/921246
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34564
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/blender/blender-4.0.1.ebuild             |   1 +
 media-gfx/blender/blender-9999.ebuild              |   4 +
 .../blender/files/blender-4.0.1-openvdb-11.patch   |  73 ++++
 media-gfx/openvdb/Manifest                         |   1 +
 .../openvdb/files/openvdb-11.0.0-cmake_fixes.patch |  84 +++++
 .../files/openvdb-11.0.0-constexpr-version.patch   |  55 +++
 media-gfx/openvdb/metadata.xml                     |  10 +
 media-gfx/openvdb/openvdb-11.0.0.ebuild            | 368 +++++++++++++++++++++
 profiles/arch/riscv/package.use.mask               |   4 +
 profiles/base/package.use.mask                     |   2 +-
 10 files changed, 601 insertions(+), 1 deletion(-)