!UNVBThoJtlIiVwiDjU:nixos.org

Staging

396 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.11 | Review Reports: https://malob.github.io/nix-review-tools-reports/128 Servers

Load older messages


SenderMessageTime
26 Jun 2026
@emilazy:matrix.orgemilythat's presumably going to need to be fixed15:38:02
@hexa:lossy.networkhexaremoved15:39:51
@hexa:lossy.networkhexabecause what we have in staging as a default looks fine15:40:03
@grimmauld:m.grimmauld.deGrimmauld (any/all) Okay, i have a hook for OMPNUMTHREADS almost ready 16:33:55
@hexa:lossy.networkhexatested?16:34:22
@grimmauld:m.grimmauld.deGrimmauld (any/all) Okay, i have a hook for OMP_NUM_THREADS almost ready 16:35:27
@grimmauld:m.grimmauld.deGrimmauld (any/all)It sets the env var, it doesn't override the env var if it is already set, and numpy/scipy builds16:35:47
@grimmauld:m.grimmauld.deGrimmauld (any/all)doing a bit more testing rn16:36:10
@hexa:lossy.networkhexa you should check, e.g. with --option cores 2 and perf top that the host isn't dominated by omp threads/gomp calls 16:37:48
@emilazy:matrix.orgemilyok, had to push a fix but everything https://github.com/NixOS/nixpkgs/pull/535508 touches builds16:38:35
@emilazy:matrix.orgemilyand perhaps someone might like to hit the button on https://github.com/NixOS/nixpkgs/pull/535513 and https://github.com/NixOS/nixpkgs/pull/535511 as well (though those can land any time)16:39:16
@emilazy:matrix.orgemilyshould be good to start this cycle with that merged from my PoV16:39:27
@grimmauld:m.grimmauld.deGrimmauld (any/all) I mean, not much more we can do than setting OMP_NUM_THREADS, right? If the env var is there, it should be fine. And confirming the env var is there in the check processes is trivial and that i did do 16:39:34
@hexa:lossy.networkhexatrue16:39:55
@emilazy:matrix.orgemilythere's some logic somewhere that caps it to 6416:40:05
@emilazy:matrix.orgemilynot sure why16:40:07
@emilazy:matrix.orgemilyI also saw one package dividing it (maybe because parallel processes using OpenMP or something?)16:40:20
@hexa:lossy.networkhexalmao16:40:29
@hexa:lossy.networkhexasome set it to $NIX_BUILD_CORES16:40:48
@emilazy:matrix.orgemily
    export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 ))
    if [ $OMP_NUM_THREADS -eq 0 ]; then
      export OMP_NUM_THREADS=1
    fi
16:40:52
@hexa:lossy.networkhexaso they have to check if that is 016:40:55
@hexa:lossy.networkhexaI have a part in that16:41:02
@hexa:lossy.networkhexafeel free to blame16:41:05
@emilazy:matrix.orgemily and NumPy and SciPy do export OMP_NUM_THREADS=$((NIX_BUILD_CORES > 64 ? 64 : NIX_BUILD_CORES)) 16:41:11
@emilazy:matrix.orgemilywhich, how does that handle the 0 case actually16:41:24
@hexa:lossy.networkhexanot16:41:31
@emilazy:matrix.orgemilyoh SciPy does the division+check, NumPy doesn't16:41:37
@grimmauld:m.grimmauld.deGrimmauld (any/all) numpy tests quite quickly, even with OMPNUMTHREADS=1 16:41:40
@hexa:lossy.networkhexahttps://github.com/OpenMathLib/OpenBLAS/issues/299316:41:41
@hexa:lossy.networkhexahttps://gitlab.freedesktop.org/pixman/pixman/-/work_items/6216:41:51

Show newer messages


Back to Room ListRoom Version: 6