!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

214 Members
69 Servers

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


SenderMessageTime
3 May 2025
@qyliss:fairydust.spaceAlyssa RossAssuming I'm correctly understanding what you mean by "target check"?17:10:12
@reckenrode:matrix.orgRandy Eckenrode The one that spams lots of warnings when you clang-wrapper -target <some triple>, and the triple is different from what the wrapper was built for. 17:11:16
@qyliss:fairydust.spaceAlyssa RossOh that sounds fine17:11:46
@qyliss:fairydust.spaceAlyssa RossAssuming LLVM treats them the same17:12:00
@reckenrode:matrix.orgRandy Eckenrode You can change the deployment target a bunch of different ways. The way Swift does it (and when invoking Clang) is via the triple. The wrapper tries to set the target via -mmacos-version-min=. I think there’s another way it can also fall back to do. 17:12:03
@reckenrode:matrix.orgRandy EckenrodeSo maybe Darwin can settle on following Swift’s lead and consolidate all those. Probably a 25.11 thing.17:12:38
@reckenrode:matrix.orgRandy Eckenrode

It would also fix the following warnings when SwiftPM invokes Clang.

Warning: supplying the --target arm64-apple-macosx10.13 != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead.
17:14:42
@reckenrode:matrix.orgRandy Eckenrode *

It would also fix the following warnings when SwiftPM invokes Clang.

clang: warning: overriding '-mmacos-version-min=11.3' option with '-target arm64-apple-macosx10.13'
17:15:07

Show newer messages


Back to Room ListRoom Version: 9