sysinfo icon indicating copy to clipboard operation
sysinfo copied to clipboard

Improve support for NetBSD

Open 0323pin opened this issue 2 years ago • 15 comments

As expressed in #625, would it be possible to improve support for NetBSD?

I'm willing to help as much as possible to get this rolling.

Cheers!

0323pin avatar Dec 08 '21 19:12 0323pin

It is possible, just that it'll take time. The first step will be to have a NetBSD CI set up.

GuillaumeGomez avatar Dec 08 '21 19:12 GuillaumeGomez

@GuillaumeGomez Just so it doesn't fall into oblivion, I'm trying to get some help with this.

0323pin avatar Dec 09 '21 18:12 0323pin

@GuillaumeGomez Long time, I know. I might have found something that could work, https://github.com/vmactions/netbsd-vm

What do you say?

0323pin avatar Aug 21 '22 17:08 0323pin

It'd be very slow to run because it is a VM inside a VM. I did the same for freebsd at first and I stopped when it broke for a few months and switched to cirrus ci. Much faster without one VM layer.

GuillaumeGomez avatar Aug 21 '22 17:08 GuillaumeGomez

😢 ok, I get that. I know another dev reached out to cirrus ci to ask, I'll need to check with him if he got some answer back.

0323pin avatar Aug 21 '22 17:08 0323pin

Thanks for asking around!

GuillaumeGomez avatar Aug 21 '22 18:08 GuillaumeGomez

@GuillaumeGomez I've just asked myself on this issue, https://github.com/cirruslabs/cirrus-ci-docs/issues/970

0323pin avatar Aug 21 '22 18:08 0323pin

@GuillaumeGomez Is this approach any better? https://github.com/asmjit/asmjit/commit/7421dea76455787c08317950a32f6cb4fd4bb175

I'll keep looking.

Also, elvish provides pre-compiled binaries, maybe worthy to dig into how these are compiled.

0323pin avatar Feb 22 '23 11:02 0323pin

It's the same I originally used for freebsd a while ago which I then discarded because of the number of bugs and the slowness.

GuillaumeGomez avatar Feb 22 '23 11:02 GuillaumeGomez

I see :(

Thanks anyway.

0323pin avatar Feb 22 '23 13:02 0323pin

@GuillaumeGomez Maybe now it's possible. Apparently, both NetBSD and OpenBSD have been added to cirrus-ci, https://cirrus-ci.com/build/6221284932583424

Are you still willing to do this? Let me know if I can help somehow.

Regards

0323pin avatar Jul 24 '23 08:07 0323pin

Oh nice! I should really speed up my current code rework so development can resume... In any case, you can always try to add support for one. I expect that NetBSD/OpenBSD will be more or less the same as FreeBSD.

GuillaumeGomez avatar Jul 24 '23 08:07 GuillaumeGomez

@GuillaumeGomez I'm on holidays until the 1st of August but, I'll look into it when I'm back home 👍

I don't really have enough knowledge to implement support on my own but, I'll try to go through the FreeBSD implementation and find my way around 😄 At least, I have a native environment. I'm planning on a fresh install to solve some bugs that have been annoying me for a while but, I should be able to start looking into this by the end of next week.

0323pin avatar Jul 24 '23 10:07 0323pin

No hurry. I think taking a look is a good idea but I really need to finish the rework so you can work without problem. ^^'

GuillaumeGomez avatar Jul 24 '23 10:07 GuillaumeGomez

Some improvement. Not enough, I know. I'll try to keep adding stuff when I bump into it.

0323pin avatar Oct 01 '23 17:10 0323pin