-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chalet building libs proof of concept #379
Comments
Cool proof of concept I just know we gonna hit some snags with that system Definitely refer to the existing formulaes rather than make from scratch as the depths of issues resolved
See apothecary/apothecary/formulas/assimp.sh Line 67 in 3d0997e
A few notes:
See
For many formulaes custom patches and cmakelists are packaged just make sure to look at what has been done else it will be a nightmare to debug. Can chalet embed files? The one thing I like about chalet is the https://www.chalet-work.space/docs/adding-packages think your best bet is to first actually build apothecary from scratch with the build scripts and compare to the outputs |
I've worked a little bit more in ofChalet script to build dependencies and make a release in this repo Still not the right file paths but already building some libraries for macOS As a side project I'll try to build all OF dependencies in macOS using Chalet, let's see how it goes. |
this, looks very promising in order to get rid of apothecary. |
Great! it is missing just a few libs to be able to build everything in macOS. |
I have never used chalet before, actually had no idea about it. Seems quite nice. |
yes I've wondered about brew also, but it is nice OF uses static libs and applications are standalone as they are now. |
I just don’t trust Brew or any package manager generally as so easily
hacked, as locked into sub dependancy he’ll where one of the subs is
vunerable, I’ve hacked them; reported and reported fixed many times in the
past. Depends what you making but if you can backdoor a Unity game cause
they didn’t update freeimage you got urself a way to hack any device. Or
libZ embedded with vulnerabilities is one of the easiest hack vector
example.
Apothecary modernization of last few years was to convert to cmake build
scripts which included basically patching at source repos the multi
platform side of the build to make it possible for multi platform ability.
Since apothecary as is, builds for platforms and targets no other build
system does, with the cmake lists.
It would be good to also just get Linux working as it already can support
all the GCC targets to the latest.
Ai can help a lot I think just get the targets and cmake lists sorted.
Obviously testing chalet and other more easily broken up build systems is
always good as it can find issues with build scripts, consolidate builds
for single targets but overall, I think apothecary as it is now, in
bleeding, needs some bandages for the other platforms but is really not far
away with the cmake system of just building for all targets.
I had metal for example building on the plane before I got back from
Sardinia.
Android needs to be slightly updated too for new NDK.
Anyways I’ll get my hat back on soon
…On Sat, 12 Oct 2024 at 9:19 am, Dimitre ***@***.***> wrote:
yes I've wondered about brew also, but it is nice OF uses static libs and
applications are standalone as they are now.
Still wonder about building them from scratch so specific things like Neon
/ Simd optimizatinos can be enabled
—
Reply to this email directly, view it on GitHub
<#379 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGK2HDYPLIYKTYQHA3H4ILZ3BFF7AVCNFSM6AAAAABIKIENQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGE4DQOBXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have not dug into apothecary for quite a while but theo saying that it has given a good amount of headaches. |
@danoli3 I think all of CMAKE options can be passed to chalet also. but with a more flexble system I'm sure we are able to advance faster with more of us working on progress, so it is easier to adopt more modern libraries like OpenImageIO for ex. |
Hey @danoli3 I've uplaoded here a proof of concept of using Chalet to build libs.
it is already building and packaging and releasing assimp for macos
https://github.com/dimitre/ofChalet
The text was updated successfully, but these errors were encountered: