Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-gfx/openvdb USE=ax stable masked, keyworded removed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 4015

PostPosted: Fri May 09, 2025 10:49 pm    Post subject: media-gfx/openvdb USE=ax stable masked, keyworded removed? Reply with quote

USE=ax has been removed from long standing stable 11.0.0-r1 and new 12.0.1.
Ebuild reveals USE=ax still remains for 9999.

I don't understand the rationale for such a change?
Is the feature broken?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Sat May 10, 2025 10:44 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23405

PostPosted: Sat May 10, 2025 12:41 am    Post subject: Reply with quote

As I read the ebuild, USE=ax is still supported in =media-gfx/openvdb-11.0.0-r1. Why do you think it was removed? I also see in the git history that this was USE-masked for media-gfx/openvdb[ax]: requires LLVM 15.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 4015

PostPosted: Sat May 10, 2025 1:24 am    Post subject: Reply with quote

Code:
euse openvdb-11.0.0-r1
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-gfx/openvdb-11.0.0-r1:
 U I
 - - abi10-compat                    : Disables newer features to maintain
                                       compatibility with ABI10
 + - abi11-compat                    : Disables newer features to maintain
                                       compatibility with ABI11
 - - abi12-compat                    : Disables newer features to maintain
                                       compatibility with ABI12
 - - abi9-compat                     : Disables newer features to maintain
                                       compatibility with ABI9
 - - alembic                         : Add support for Alembic through
                                       media-gfx/alembic.
 + - blosc                           : Allow using blosc compression via
                                       dev-libs/c-blosc
 + + cpu_flags_x86_avx               : Adds support for Advanced Vector
                                       Extensions instructions
 + + cpu_flags_x86_sse4_2            : Enable SSE4.2 instruction support
 - - doc                             : Add extra documentation (API, Javadoc,
                                       etc). It is recommended to enable per
                                       package instead of globally
 - - examples                        : Install examples, usually source code
 - - jpeg                            : Add JPEG image support
 + - llvm_slot_15                    : Use LLVM 15.
 - - nanovdb                         : A lightweight, header only, and GPU
                                       friendly version of VDB
 - - numpy                           : Build pyopenvdb with support for
                                       dev-python/numpy
 - - openexr                         : Support for the OpenEXR graphics file
                                       format
 - - png                             : Add support for libpng (PNG images)
 - - python                          : Add optional support/bindings for the
                                       Python language
 - + python_single_target_python3_11 : Build for Python 3.11 only
 - - python_single_target_python3_12 : Build for Python 3.12 only
 - - static-libs                     : Build static versions of dynamic
                                       libraries as well
 - - test                            : Enable dependencies and/or preparations
                                       necessary to run tests (usually
                                       controlled by FEATURES=test but can be
                                       toggled independently)
 - - utils                           : Build utility binaries
 + - zlib                            : Add support for zlib compression

What makes you think it is still there?

LLVM 15 ... Sio what?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23405

PostPosted: Sat May 10, 2025 2:29 am    Post subject: Reply with quote

As I said, as I read the ebuild, it is still there:
Code:
$ git grep -e 'IUSE.*ax' 03952664c16a334a1006d52d43d7682ddbcc146d -- media-gfx/openvdb/\*.ebuild
03952664c16a334a1006d52d43d7682ddbcc146d:media-gfx/openvdb/openvdb-11.0.0-r1.ebuild:24:IUSE="abi$((OPENVDB_ABI + 1))-compat +abi${OPENVDB_ABI}-compat abi$((OPENVDB_ABI - 1))-compat abi$((OPENVDB_ABI - 2))-compat alembic ax +blosc cpu_flags_x86_avx cpu_flags_x86_sse4_2
03952664c16a334a1006d52d43d7682ddbcc146d:media-gfx/openvdb/openvdb-12.0.1.ebuild:55:IUSE+=" ax"
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 118

PostPosted: Sat May 10, 2025 5:31 am    Post subject: Re: media-gfx/openvdb USE=ax removal? Reply with quote

CaptainBlood wrote:

Is the feature broken?

Yes. From upstream :
Quote:
OpenVDB AX does not currently support LLVM versions >= 16 due to opaque pointer changes in LLVM
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 4015

PostPosted: Sat May 10, 2025 9:55 am    Post subject: Reply with quote

Code:
grep -E -r 'openvdb.*ax' /var/db/repos/gentoo/profiles
/var/db/repos/gentoo/profiles/use.local.desc:media-gfx/openvdb:ax - Build the OpenVDB AX module to perform custom manipulation of OpenVDB data via an expression language: AX
/var/db/repos/gentoo/profiles/base/package.use.mask:media-gfx/openvdb ax

At first sight seems 2 me like USE=ax is masked for any openvdb ebuild, i.e. requiring
Code:
/etc/portage/profile/package.use.mask/media-gfx::openvdb.conf:=media-gfx/openvd -11.0.0-r1 -ax
for activation.

Before r1 bump here without any USE mask as above:
Code:
gunzip -c /var/log/portage/media-gfx:openvdb-11.0.0:20240731-004601.log.gz|grep -E 'USE.* ax'
 * USE:        abi11-compat abi_x86_64 amd64 ax blosc cpu_flags_x86_avx cpu_flags_x86_sse4_2 elibc_glibc kernel_linux zlib

Plz note above unmasking doesn't work when above is adapted for 12.0.1, because of ebuild internal changes, i.e. ax is only available for an hypothetical 9999 that currently doesn't exist.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 4015

PostPosted: Sat May 10, 2025 10:58 am    Post subject: Re: media-gfx/openvdb USE=ax removal? Reply with quote

nicop wrote:
CaptainBlood wrote:

Is the feature broken?

Yes. From upstream :
Quote:
OpenVDB AX does not currently support LLVM versions >= 16 due to opaque pointer changes in LLVM


https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c77381b8a88368b3cc5232c43afa57df450f27f
Things got masked because existing stable llvm-core/llvm:15. :roll:

llvm-core/llvm:15 removal may be on its way 8O :cry:
Maybe it's time to backup clang;15 & llvm:15 ebuild stack to local repository before things get harder.:?:

Thks 4 ur attention, interest & suppport.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23405

PostPosted: Sat May 10, 2025 2:13 pm    Post subject: Reply with quote

Yes, the flag is masked in the 11.x series, but it is not removed. Your original statement was:
CaptainBlood wrote:
USE=ax has been removed from long standing stable 11.0.0-r1 and ...
I pointed out that it is not removed from that ebuild, merely difficult to enable due to the use.mask entry.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 4015

PostPosted: Sat May 10, 2025 3:07 pm    Post subject: Reply with quote

I know you did your best...

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2310

PostPosted: Sun May 11, 2025 4:12 pm    Post subject: Reply with quote

Hu wrote:
Yes, the flag is masked in the 11.x series, but it is not removed. Your original statement was:
CaptainBlood wrote:
USE=ax has been removed from long standing stable 11.0.0-r1 and ...
I pointed out that it is not removed from that ebuild, merely difficult to enable due to the use.mask entry.


Indeed. Sometimes the infra for these things is kept around for a while in hopes of upstream progress, at which point it'll be enabled again. I'm not really sure what's surprising here. LLVM 15 already required several backports to keep building and we can't do that forever.

OP, are you actually using the ax functionality? Or what?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum