libsodium icon indicating copy to clipboard operation
libsodium copied to clipboard

[dotnet core] build for linux-musl-arm64

Open bfren opened this issue 2 years ago • 7 comments

See #1173

bfren avatar Apr 28 '22 16:04 bfren

Nice work 😃

The artifact (libsodium.so) also needs to be added to libsodium.pkgproj so it gets included in the NuGet package.

/cc @SeanMollet @enclave-alistair

ektrah avatar Apr 30 '22 10:04 ektrah

Done - I think!

bfren avatar Apr 30 '22 11:04 bfren

libsodium.pkgproj looks good to me. While you're at it, you could also increment the version number in the same file.

Now someone needs to go ahead and test if the NuGet package actually works on their musl arm64 machine 😊

ektrah avatar May 02 '22 13:05 ektrah

@ektrah That can be tested in a docker container. I might have some time later this week to build a proper test script for it.

SeanMollet avatar May 02 '22 13:05 SeanMollet

libsodium.pkgproj looks good to me. While you're at it, you could also increment the version number in the same file.

Happy to bump the version - to 1.0.19.0?

bfren avatar May 02 '22 14:05 bfren

Happy to bump the version - to 1.0.19.0?

That would be 1.0.18.3 (the third revision of the NuGet package containing pre-compiled binaries of libsodium 1.0.18).

ektrah avatar May 02 '22 14:05 ektrah

@SeanMollet I'm happy to help with writing test scripts - I presume I need to build the package locally to test it? The CI process doesn't appear to publish it anywhere as far as I can tell.

bfren avatar May 12 '22 06:05 bfren

Is there anything more I can do to help get this finalised and merged?

bfren avatar Aug 14 '22 10:08 bfren

Could linux-musl-arm and linux-s390x be handled too?

MichalPetryka avatar Aug 14 '22 13:08 MichalPetryka

@MichalPetryka, .NET doesn’t run on s390x. (Note that this particular PR is about the packaging of libsodium for .NET, not libsodium in general.)

ektrah avatar Aug 14 '22 14:08 ektrah

@MichalPetryka, .NET doesn’t run on s390x. (Note that this particular PR is about the packaging of libsodium for .NET, not libsodium in general.)

It does with community builds, fedora package repository does provide s390x builds of it.

MichalPetryka avatar Aug 14 '22 14:08 MichalPetryka

I'd be happy to do what I did for arm64 to add an arm build - would the maintainers prefer another PR for that? The issue now is testing though, which I'm happy to help with if I can, and if someone wants to give me a steer.

bfren avatar Aug 15 '22 06:08 bfren