!UNVBThoJtlIiVwiDjU:nixos.org

Staging

394 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/127 Servers

Load older messages


SenderMessageTime
26 Jun 2026
@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
@emilazy:matrix.orgemilythen how come NumPy 2 builds 🤔16:42:03
@emilazy:matrix.orgemilyoh right16:42:05
@emilazy:matrix.orgemilyiirc Nix and Lix never actually set it to 0 in practice in the build sandbox these days?16:42:13
@emilazy:matrix.orgemilysince it gets autodetected16:42:18
@hexa:lossy.networkhexahttps://github.com/OpenMathLib/OpenBLAS/pull/5808 🤔16:42:28
@hexa:lossy.networkhexaRedacted or Malformed Event16:42:31
@hexa:lossy.networkhexaoh, possible16:42:40
@emilazy:matrix.orgemilybut the things that divide it need to take into account that rounding down to 016:43:14
@hexa:lossy.networkhexaI hope we're killing all of that16:43:34
@grimmauld:m.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/pull/535725 have fun16:44:19
@emilazy:matrix.orgemilywe should probably default to $NIX_BUILD_CORES?16:44:52
@hexa:lossy.networkhexahell no16:45:01
@hexa:lossy.networkhexaOMP threads are on top of NIX_BUILD_CORES already16:45:15
@grimmauld:m.grimmauld.deGrimmauld (any/all)you'd be multiplying^^16:45:31

Show newer messages


Back to Room ListRoom Version: 6