!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

575 Members
126 Servers

Load older messages


SenderMessageTime
21 Dec 2025
@bake.monorail:matrix.orgbake.monorail Nono the Canadian Cross Compilation 22:07:28
23 Dec 2025
@bake.monorail:matrix.orgbake.monorail Alyssa Ross: ping 19:44:24
@qyliss:fairydust.spaceAlyssa Rosson vacation19:45:10
24 Dec 2025
@mrargoz:matrix.org@mrargoz:matrix.org set a profile picture.18:24:00
@mrargoz:matrix.org@mrargoz:matrix.org left the room.21:31:26
26 Dec 2025
@rcouto:matrix.orgrcouto joined the room.18:37:29
27 Dec 2025
@lockmann:matrix.orglockmann joined the room.06:54:05
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192).14:36:12
29 Dec 2025
@n3tcat:crabsin.spacen3tcat joined the room.02:22:30
@n3tcat:crabsin.spacen3tcat set a profile picture.02:24:47
@stephen:crabsin.spacen3tcat left the room.02:33:13
1 Jan 2026
@symphorien:xlumurb.eusymphoriendo you think it would be a problem to make cmake depend on targetPlatform ? so that it has some options preconfigured with knowledge of it ?17:28:34
@symphorien:xlumurb.eusymphorien see the discussion on #users:nixos.org 17:28:52
@whispers:catgirl.cloudwhispers (it/fae) joined the room.17:30:03
@sielicki:matrix.orgsielicki joined the room.17:30:54
@qyliss:fairydust.spaceAlyssa RossGenerally we try to avoid targetPlatform17:31:00
@qyliss:fairydust.spaceAlyssa RossIt might be less objectionable once to do it in the CMake hooks once they're separated from the cmake package.17:31:17
@sielicki:matrix.orgsielickithe context is this idea: https://github.com/sielicki/nix-cmake/blob/main/pkgs/cmake-toolchain-hook/cmake-toolchain.nix17:31:39
@sielicki:matrix.orgsielickitargetPlatform is used unnecessarily there, I only use it as a comment to identify the stdenv (probably, incorrectly/imprecisely)17:32:48
@symphorien:xlumurb.eusymphorien so on x86 when you build pkgsCross.aarch64-multiplatform.something_that_uses_cmake, when building cmake, the hostplatform is x86 (the one running cmake) the buildplatform is x86 and only the targetplatform is aarch64 17:34:43
@sielicki:matrix.orgsielickihostPlatform is aarch64, no? 17:35:24
@symphorien:xlumurb.eusymphorienif I understand correctly your proposal is to make cmake effectively a cmake-wrapped-with-its-toolchain-config17:35:33
@qyliss:fairydust.spaceAlyssa Rossfor cmake it's x86_6417:35:36
@qyliss:fairydust.spaceAlyssa RosshostPlatform is the platform the package runs on. you are running CMake on x86_6417:35:51
@symphorien:xlumurb.eusymphorien when building cmake the hostplatform is the platform running cmake, so the buildplatform of, say, opencv if you are building opencv 17:36:10
@sielicki:matrix.orgsielickicmake pulls in this hook the same way that it pulls in its current build hooks, so this doesn't build at the same time that cmake does17:38:29
@symphorien:xlumurb.eusymphorienare the hooks built with the same stdenv as cmake ?17:38:56
@sielicki:matrix.orgsielickithis hook doesn't depend on cmake, either -- it's purely a transformation from properties on stdenv to /some text file/, which just so happens to be readable by cmake17:39:14
@sielicki:matrix.orgsielickiI guess they can be, but they don't have to be. 17:39:33
@symphorien:xlumurb.eusymphorienthen do you mean one would have to add your hook to all derivations as buildInputs ?17:39:54

Show newer messages


Back to Room ListRoom Version: 6