!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

225 Members
74 Servers

Load older messages


SenderMessageTime
15 Dec 2024
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event09:07:39
@rosscomputerguy:matrix.orgTristan Ross
In reply to @philiptaron:matrix.org
https://pad.lassul.us/gYaWH4LuQGeED_BUSGInQA
Been thinking, should we have a project board on GitHub? Something like Jira so we can organize and stage stuff. The pad you made made me think of it since it has a similar section. Plus it could make planning large changes easier.
18:20:29
16 Dec 2024
@keiichi:matrix.orgteto joined the room.11:30:04
17 Dec 2024
@reckenrode:matrix.orgRandy EckenrodeCould this toolchain stuff be used with Windows? MinGW LLVM is a thing. There’s one project I want to package (dxmt) that requires it.16:43:03
@k900:0upti.meK900We have a mingw gcc toolchain16:59:01
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
Could this toolchain stuff be used with Windows? MinGW LLVM is a thing. There’s one project I want to package (dxmt) that requires it.
Theoretically, it just requires updating where the compiler gets set inside the stdenv and updating the lib to adjust defaults.
17:25:41
@rosscomputerguy:matrix.orgTristan Ross It might work already as is 17:26:09
@reckenrode:matrix.orgRandy Eckenrode
In reply to @k900:0upti.me
We have a mingw gcc toolchain
The project uses this toolchain for the Windows parts, which is all LLVM: https://github.com/mstorsjo/llvm-mingw
17:28:15
@reckenrode:matrix.orgRandy EckenrodeIt’s also apparently the only way to target aarch64-windows because with a free toolchain.17:28:44
@reckenrode:matrix.orgRandy Eckenrode * 17:29:03
@reckenrode:matrix.orgRandy Eckenrode * 17:29:12
@reckenrode:matrix.orgRandy Eckenrodedxmt doesn’t (yet?) support aarch64-windows, but it could be of interest to nixpkgs in the future.17:29:44
@rosscomputerguy:matrix.orgTristan Ross To probably do windows, we might need to add a mingw toolchain option which then you can just switch out the compiler option. 17:30:35
@k900:0upti.meK900And it can't use any other toolchain?17:30:37
@reckenrode:matrix.orgRandy EckenrodeNo.17:33:44
@reckenrode:matrix.orgRandy EckenrodeUpstream is explicitly using LLVM probably because it is targeting Wine on Darwin.17:34:41
@reckenrode:matrix.orgRandy EckenrodeI may be able to use the ucrt MinGW’s llvmPackages.libcxxStdenv, but libc++ was failing to build. That was before the bump. I haven’t tried since LLVM 19 was made the default.17:36:37
@reckenrode:matrix.orgRandy Eckenrode * I may be able to use the ucrt MinGW’s libcxxStdenv, but libc++ was failing to build. That was before the bump. I haven’t tried since LLVM 19 was made the default. 17:36:55
@reckenrode:matrix.orgRandy Eckenrode * I may be able to use the ucrt MinGW’s libcxxStdenv, but libc++ failed to build. That was before the bump. I haven’t tried since LLVM 19 was made the default. 17:37:09
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/3Shain/dxmt17:37:40
@reckenrode:matrix.orgRandy EckenrodeThe project pins the same LLVM on both platforms. Hopefully it works with a newer version of LLVM. It builds a Metal-forwarding DLL it calls into from the Windows side.17:38:50
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
Upstream is explicitly using LLVM probably because it is targeting Wine on Darwin.
I wonder if the same would work on Linux.
17:46:22
@rosscomputerguy:matrix.orgTristan Ross It might be we have to sort of just try and see how things go  17:47:02
@rosscomputerguy:matrix.orgTristan Ross Also, last night I added asserts to prevent people from using the deprecated use* attributes. 17:47:38
@rosscomputerguy:matrix.orgTristan Ross I think the new attributes PR is good unless anyone has objections before I merge it. 17:48:55
@reckenrode:matrix.orgRandy EckenrodeAny impacts on bootstrapping?17:49:42
@rosscomputerguy:matrix.orgTristan Ross None 17:49:49
@rosscomputerguy:matrix.orgTristan Ross At least right now 17:49:57
@rosscomputerguy:matrix.orgTristan Ross My future goal is this sort of serves as preliminary work on LLVM bootstrapping on Linux. 17:50:27
@rosscomputerguy:matrix.orgTristan Ross But it doesn't really have an effect on anything right now. 17:50:50

Show newer messages


Back to Room ListRoom Version: 9