!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

231 Members
75 Servers

Load older messages


SenderMessageTime
19 Nov 2024
@emilazy:matrix.orgemily(with Nix work)19:33:21
@p14:matrix.orgp14But even if you split testing you could still have stuff whose build unfortunately depends on implementation and not just the interface.19:33:22
@emilazy:matrix.orgemilytests don't have to block the build19:33:27
@emilazy:matrix.orgemilyas long as they prevent it from being successful if they fail19:33:35
@p14:matrix.orgp14“Ninja’s validations”?19:33:46
@emilazy:matrix.orgemilyso tests are much more embarrassingly parallelizable in theory19:33:48
@emilazy:matrix.orgemilyuhh, it was discussed in the thread :)19:33:53
@p14:matrix.orgp14Flew over my head if so, apols.19:34:13
@emilazy:matrix.orgemilyyou can say that build X only succeeds if build Y succeeds, but unlike "X depends on Y", build Z that depends on X can run before Y completes19:34:36
@emilazy:matrix.orgemilyhttps://ninja-build.org/manual.html#validations19:34:42
@emilazy:matrix.orgemilythis means that tests could basically happen in parallel to each other and all the relinking19:34:55
@emilazy:matrix.orgemilyyou don't have to finish the tests for libfoo to test application bar that depends on libfoo19:35:05
@emilazy:matrix.orgemilythey can run simultaneously19:35:08
@emilazy:matrix.orgemily(though again this would require support in Nix)19:35:11
@emilazy:matrix.orgemilyas far as "But even if you split testing you could still have stuff whose build unfortunately depends on implementation and not just the interface." goes, it would be statically ruled out by the scheme – with only the stubs, things would just not run19:35:33
@emilazy:matrix.orgemilystuff that absolutely needs it would have to have the bits that need runtime support split out (ties in to the cross conversation we just had in here actually), or to depend directly on relinked stuff and thereby be exempt from the scheme19:35:57
@p14:matrix.orgp14Seems like it would be potentially quite a substantial nixpkgs rearchitecting to be able to run tests in a separate derivation, or do you see a route which would not require this?19:37:53
@emilazy:matrix.orgemilyyes, this whole thing would be very substantial :)19:38:54
@emilazy:matrix.orgemilyit's probably not something we could realistically migrate to, it's more very good ideas for the next thing that comes along19:39:12
@emilazy:matrix.orgemilythe alternative is to fold checks into the derivation that does the relinking which would be not quite as burdensome19:39:33
@emilazy:matrix.orgemilybut reduce the parallelism advantages19:39:37
@emilazy:matrix.orgemily (and it's much more installCheckPhase-oriented than checkPhase) 19:39:51
20 Nov 2024
@inayet:matrix.orgInayet removed their profile picture.00:59:04
@reckenrode:matrix.orgRandy EckenrodePosting this here too. I reduced the number of Clangs Darwin needs to cross-compile.19:28:41
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/pull/35763319:28:42
@truby:matrix.orgtruby joined the room.21:08:45
21 Nov 2024
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/348192 might be good for someone to look at this, I'll fix the conflicts soon.15:00:17
22 Nov 2024
@numinit:matrix.orgMorgan (@numinit) joined the room.17:50:23
23 Nov 2024
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/335023 anyone around to look at this? I kinda want to use an LLVM kernel but this PR is blocking that.05:30:46
@emilazy:matrix.orgemily while I like the end result, I'm also sceptical of the as32bit/as64bit thing. like is there any AArch64 hardware that implements ARMv5? some of these don't make sense to couple to me 05:33:29

Show newer messages


Back to Room ListRoom Version: 9