!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

221 Members
60 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@outfoxxed:outfoxxed.meoutfoxxedworst case scenario some application not running from the nix store gets a cache miss07:28:53
@k900:0upti.meK900I think I need to reread the cache cleaning code07:31:35
@k900:0upti.meK900Because I am very confused on how it's intended to work07:31:44
@outfoxxed:outfoxxed.meoutfoxxedqv4executablecompilationunit.cpp07:31:54
@outfoxxed:outfoxxed.meoutfoxxedExecutableCompilationUnit::verifyHeader07:32:01
@outfoxxed:outfoxxed.meoutfoxxedmy proposal is to check for a proefix on unit->libraryVersionHash, and if present handle the following bytes as a hash of QML_COMPILE_HASH and the application's store path07:33:13
@outfoxxed:outfoxxed.meoutfoxxed * my proposal is to check for a prefix on unit->libraryVersionHash, and if present handle the following bytes as a hash of QML_COMPILE_HASH and the application's store path 07:33:26
@outfoxxed:outfoxxed.meoutfoxxedif not present its handled normally to avoid breaking anything that isn't a nix packaged qtquick application07:34:37
@k900:0upti.meK900I wonder if upstream would be open to like07:36:31
@k900:0upti.meK900Hashing all the build IDs together or something07:36:39
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
Hashing all the build IDs together or something
it seems like qt has .tag for the same purpose as build id at least
07:37:40
@k900:0upti.meK900Yeah but that's just for Qt itself07:37:52
@k900:0upti.meK900And I mean the build IDs of all the objects07:38:01
@outfoxxed:outfoxxed.meoutfoxxedits what goes into QML_COMPILE_HASH07:38:02
@k900:0upti.meK900Including the application and whatever libraries it has loaded07:38:14
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
And I mean the build IDs of all the objects
will they be able to handle this consistently on all their supported platforms?
07:38:18
@k900:0upti.meK900No07:38:26
@outfoxxed:outfoxxed.meoutfoxxedor like, anything other than linux/bsd even07:38:36
@k900:0upti.meK900It would have to be in addition07:38:36
@k900:0upti.meK900Not as a replacement07:38:43
@outfoxxed:outfoxxed.meoutfoxxedyeah I have no idea, but if anything happens upstream it probably won't be in a released qt version for quite a while at least07:40:38
@outfoxxed:outfoxxed.meoutfoxxedso we still do need something here07:40:50
@k900:0upti.meK900We could backport07:41:05
@k900:0upti.meK900That's not a problem07:41:08
@k900:0upti.meK900Ugh hold on I need coffee07:41:14
@k900:0upti.meK900I can't fit this three level cache key structure into my head right now07:41:28
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
We could backport
not necessarily
I've ended up looking through a few versions of this code for other reasons and it changes a lot
07:41:57
@outfoxxed:outfoxxed.meoutfoxxedplus then we'd have a different qmlc format again07:42:18
@outfoxxed:outfoxxed.meoutfoxxedand that would break anything not using it07:42:27
@outfoxxed:outfoxxed.meoutfoxxedim not sure how much of a concern that is07:42:39

Show newer messages


Back to Room ListRoom Version: 9