elevenhsoft / cosmic-ext-applet-ollama

Ollama applet for COSMIC Desktop
GNU General Public License v3.0
27 stars 1 forks source link

build never finish #4

Closed wiiznokes closed 2 months ago

wiiznokes commented 2 months ago

nevermind

elevenhsoft commented 2 months ago

What happened? :P

elevenhsoft commented 2 months ago

About your previous comment with Fedora. Ollama is required only for runtime, for building it's not required at all. Keep in mind, applets are building kind of longer than apps, soo...

wiiznokes commented 2 months ago

The build took like 3 min for the final step, whereas for other applet like my clipboard-manager, it takes like 10 secs. It finished the second i posted the issue

wiiznokes commented 2 months ago

And i pressed enter on the title so i didn't have a chance to write a message :p

elevenhsoft commented 2 months ago

I know some "official" applets building also long time, I'm not sure what's the case to be honest. Never bothered ^^

wiiznokes commented 2 months ago

I experienced an issue like that in the past, it was because of rustc but never really understood why

elevenhsoft commented 2 months ago

I'm always on the latest toolchain. I don't know what's going on then. The final binary building long time but why, that's weird ^^

wiiznokes commented 2 months ago

It was this issue for info https://github.com/PolyMeilex/rfd/issues/126. But it's surely not related

elevenhsoft commented 2 months ago

Thanks, I will look into it. But now I fighting with those leaks :P I rewritten parser for markdown and now I got rid of those Boxed string, but still it's not perfect ^^

wiiznokes commented 2 months ago

Might be related to https://github.com/lilyinstarlight/nixos-cosmic/issues/138. I could try to take a look if you want

elevenhsoft commented 2 months ago

If you want, please :)

wiiznokes commented 2 months ago

Oh, its definitively cause of lto=fat optimization