z3 icon indicating copy to clipboard operation
z3 copied to clipboard

No debian build in the releases, since 4.8.5

Open algobardo opened this issue 5 years ago • 4 comments

Is there any reason to drop it? Our servers run Debian, and it was actually very useful to have a pre-packaged Z3 for debian.

algobardo avatar Dec 17 '19 20:12 algobardo

We are using Azure Pipelines for the builds and releases. Prior to that we used self-hosted machines and the process was very manual and time consuming.

The default hosted builds are for ubuntu:

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops

it is possible to use containers to build for custom platforms https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/containers/build-image?view=azure-devops

This is exploited in the generation of python pip releases.

https://github.com/Z3Prover/z3/blob/1f9aff04dfc19a8970847758edd93d31315f3a10/scripts/release.yml#L41

If you have a pointer to a suitable container for Debian, then you are invited to add a pull request that includes a build step (in release.yml and nightly.yaml) that produces the Debian binary as well.

Possibly a simpler approach is to leverage Manylinux (Centos) builds. From what I am informed, they would work (as a least common denominator). So then the update to the nightly and release scripts is simply to include Manylinux as a target in what gets published.

NikolajBjorner avatar Dec 20 '19 19:12 NikolajBjorner

@algobardo do you have a reaction to what would work for you?

NikolajBjorner avatar Dec 30 '19 05:12 NikolajBjorner

Thanks, Will definitely make a pull request with the Debian pipeline as soon as I have some time. Il 30 dic 2019, 06:43 +0100, Nikolaj Bjorner [email protected], ha scritto:

@algobardo do you have a reaction to what would work for you? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

algobardo avatar Dec 30 '19 16:12 algobardo

I don't know about Azure pipelines, but this is what we (radare2) project use to generate Debian (and other) packages automatically with GitHub Actions:

  • https://github.com/radareorg/radare2/blob/master/.github/workflows/release.yml
  • https://github.com/radareorg/radare2/blob/master/sys/debian.sh
  • https://github.com/radareorg/radare2/tree/master/sys/debian

I hope it might be useful somehow.

XVilka avatar Jul 13 '20 04:07 XVilka