Search
Setup for Free
S
Silk.NET
•
3y ago
Lyris the Kitori
did we ever figure out how native libs were gonna go in 3.0
did we ever figure out how native libs were gonna go in 3
.0
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,790
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
L
Lyris the Kitori
OP
•
8/10/23, 7:14 AM
if not
, i have an idea
M
Maxine
why are all the native libs not in a submodule
P
Perksey
•
8/10/23, 7:14 AM
idk
, silk has always been a monorepo and it not being a monorepo would involve us going to the dotnet gods every time we want to make a repo
L
Lyris the Kitori
did we ever figure out how native libs were gonna go in 3.0
P
Perksey
•
8/10/23, 7:14 AM
so far it
's just the same again because it works
, what did you have in mind
?
L
Lyris the Kitori
OP
•
8/10/23, 7:14 AM
so
P
Perksey
idk, silk has always been a monorepo and it not being a monorepo would involve u...
M
Maxine
•
8/10/23, 7:14 AM
just one repo for binaries and one repo for everything else
L
Lyris the Kitori
OP
•
8/10/23, 7:14 AM
the zig compiler lets us setup fully deterministic and fully reproducable builds relatively easily
M
Maxine
•
8/10/23, 7:15 AM
that way a non recursive clone doesn
't rail the user
L
Lyris the Kitori
OP
•
8/10/23, 7:15 AM
and so
, what we do is we setup a msbuild task magic thing to invoke the zig compiler and actually build the native libs
L
Lyris the Kitori
OP
•
8/10/23, 7:15 AM
on the fly
L
Lyris the Kitori
OP
•
8/10/23, 7:15 AM
when you build the native project
M
Maxine
that way a non recursive clone doesn't rail the user
P
Perksey
•
8/10/23, 7:15 AM
believe me that
's not what bloats the repo
L
Lyris the Kitori
OP
•
8/10/23, 7:15 AM
the 3 copies of LLVM in our submodules bloat it WAY more
P
Perksey
•
8/10/23, 7:15 AM
OH GOD WHAT HAVE I SIGNED UP TO
L
Lyris the Kitori
OP
•
8/10/23, 7:16 AM
--depth 1
--depth 1
L
Lyris the Kitori
OP
•
8/10/23, 7:16 AM
--single-branch
--single-branch
L
Lyris the Kitori
OP
•
8/10/23, 7:16 AM
or better yet
L
Lyris the Kitori
OP
•
8/10/23, 7:16 AM
dont clone with submodules
L
Lyris the Kitori
OP
•
8/10/23, 7:16 AM
its not needed for base Silk
.NET
C
chairclr
•
8/10/23, 7:16 AM
how do i only clone a single folder
M
Maxine
•
8/10/23, 7:16 AM
you can
't
, it
's not svn
:
)
L
Lyris the Kitori
and so, what we do is we setup a msbuild task magic thing to invoke the zig comp...
L
Lyris the Kitori
OP
•
8/10/23, 7:17 AM
but what this would do is let us have our easy
"clone and run
" but without the overhead of commiting it to the repos
M
Maxine
•
8/10/23, 7:18 AM
yall should make buildtools a
.net tool
M
Maxine
•
8/10/23, 7:18 AM
it already basically is
L
Lyris the Kitori
OP
•
8/10/23, 7:18 AM
no
M
Maxine
•
8/10/23, 7:18 AM
:
(
L
Lyris the Kitori
OP
•
8/10/23, 7:18 AM
its not meant for external use
-says me
, a person who uses it externally
M
Maxine
•
8/10/23, 7:18 AM
why do i gotta clone THE ENTIRE THING to generate bindings for an unrelated project
L
Lyris the Kitori
OP
•
8/10/23, 7:18 AM
you dont
L
Lyris the Kitori
OP
•
8/10/23, 7:18 AM
i believe everything needed is publicly exposed on the nuget
M
Maxine
•
8/10/23, 7:18 AM
not the buildtools
, not last i checked
L
Lyris the Kitori
OP
•
8/10/23, 7:19 AM
https://www.nuget.org/packages/Silk.NET.BuildTools
Silk.NET.BuildTools 2.17.1
Silk
.NET is a high
-speed
, advanced library
, providing bindings to popular low
-level APIs such as OpenGL
, OpenCL
, OpenAL
, OpenXR
, GLFW
, SDL
, Vulkan
, Assimp
, and DirectX
.
M
Maxine
•
8/10/23, 7:19 AM
unless i
'm really blind
L
Lyris the Kitori
OP
•
8/10/23, 7:19 AM
you can pull that in over nuget and call into the functions
M
Maxine
•
8/10/23, 7:19 AM
i
think
that
's missing deps
?
M
Maxine
•
8/10/23, 7:19 AM
or something
L
Lyris the Kitori
OP
•
8/10/23, 7:19 AM
i explicitly remember doing patches to make this path possible
M
Maxine
•
8/10/23, 7:19 AM
i
'll try it out later
L
Lyris the Kitori
OP
•
8/10/23, 7:19 AM
may still be broken i dont know
L
Lyris the Kitori
OP
•
8/10/23, 7:19 AM
i have 8 clones of Silk
.NET to choose from
L
Lyris the Kitori
OP
•
8/10/23, 7:20 AM
on my local machine
L
Lyris the Kitori
OP
•
8/10/23, 7:20 AM
so i never have to worry about it
P
Perksey
•
8/10/23, 7:20 AM
https://tenor.com/view/rookie-numbers-gif-26135237
Tenor
L
Lyris the Kitori
OP
•
8/10/23, 7:20 AM
i have 4 more on a VM
L
Lyris the Kitori
OP
•
8/10/23, 7:20 AM
and one of my Windows 2023 Devkit
L
Lyris the Kitori
OP
•
8/10/23, 7:20 AM
and 2 on my laptop
L
Lyris the Kitori
OP
•
8/10/23, 7:23 AM
i have single handedly caused microsoft infinite damages paying for me to download copies of the repo from github
P
Perksey
•
8/10/23, 7:25 AM
on this laptop i unfortunately only have 2 clones but i
'll vpn in and show you how many i had on my PC
(finally backed up
)
K
Kai
•
8/10/23, 7:33 AM
real chads just have one huge repo with like 10 remotes
&
~50 GB of
.git
L
Lyris the Kitori
OP
•
8/10/23, 7:33 AM
i get tired of git stash
L
Lyris the Kitori
OP
•
8/10/23, 7:33 AM
so i just reclone
Next page
Similar Threads
.NET 6 Target for all libs
S
Silk.NET / team-talk
5y ago