!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

635 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues162 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2025
@emilazy:matrix.orgemily does the nix.conf cores setting apply to remote builder use? 00:40:02
@emilazy:matrix.orgemilyseems like a good idea if so00:40:07
@emilazy:matrix.orgemily though picking a balance is always hard, it's the old big-parallel problem. but cores = jobs = nproc is probably not ideal for a shared machine 00:40:49
@zowoq:matrix.orgzowoqcores will apply to remote builds but everyone is trusted so it can be overridden if running builds directly on the box.00:47:25
@glepage:matrix.orgGaétan Lepage
In reply to @zowoq:matrix.org

I have reduced --max-jobs to 4 for the darwin builders, but when 4 "big" packages are built at the same time the load can grow too much for sure.

Please set max-jobs to 1.

is there a way to set the --cores option from the remote builders configuration

No, not supported.

how far are we budget-wise from getting more mac builders

Not planning to get more mac builders and budget-wise we haven't covered the cost of the new aarch64-linux build box yet.

Ok thanks for the details.
I have set it to 1 now.
06:45:44
@leona:leona.isleona Gaétan Lepage: pytest of botorch eats all the cores on the aarch64 14:52:23
@glepage:matrix.orgGaétan LepageKilled14:57:22
@leona:leona.isleona
leona@darwin01 ~ % git
xcode-select: error: No developer tools were found and no install could be requested (possibly because there is no active GUI session).
If developer tools are located at a non-default location on disk, use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools.
Use `xcode-select --install` to install the standalone command line developer tools, or visit http://adc.apple.com to download Xcode or the standalone command line tools installation package.
See `man xcode-select` for more details.

uh. how is this intended to work?

14:57:37
@glepage:matrix.orgGaétan Lepage Those packages ignore cores this is very annoying 14:57:48
@nilp0inter2k6:matrix.orgRoberto Abdelkader Martínez PérezIs there a way to issue a warning (e.g., with builtins.warn) only when a package is being built locally and not fetched from the cache? Looking to notify users during the build process without blocking it. Any ideas?16:16:28
@bandithedoge:matrix.org@bandithedoge:matrix.org
In reply to @nilp0inter2k6:matrix.org
Is there a way to issue a warning (e.g., with builtins.warn) only when a package is being built locally and not fetched from the cache? Looking to notify users during the build process without blocking it. Any ideas?
not really, every bit of the derivation is evaluated when building to determine the hash so a warning will show up regardless
16:20:46
@nilp0inter2k6:matrix.orgRoberto Abdelkader Martínez Pérez
In reply to @bandithedoge:matrix.org
not really, every bit of the derivation is evaluated when building to determine the hash so a warning will show up regardless
Thanks! That clears it up. I'll look into other ways to handle it.
16:59:54
@zowoq:matrix.orgzowoq
customer@darwin01 ~ % where git
/usr/bin/git
/run/current-system/sw/bin/git

Seems something broke in the last flake update, I've reverted the update on that machine.

23:04:00
28 Jan 2025
@zowoq:matrix.orgzowoq *
customer@darwin01 ~ % where git
/usr/bin/git
/run/current-system/sw/bin/git

Seems something broke in the last flake update, I've reverted the update on that machine.

Caused by zsh prompt: https://github.com/nix-community/infra/commit/fbbc9c0f791942e852bdfd808740132ba34f2359

00:43:13

Show newer messages


Back to Room ListRoom Version: 6