Skip to content

Commit

Permalink
snapcraft: have dqlite build raft
Browse files Browse the repository at this point in the history
canonical/dqlite#568

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 3816410)
  • Loading branch information
simondeziel committed Jul 19, 2024
1 parent 584b6c1 commit 77583c6
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,23 +252,26 @@ parts:

dqlite:
after:
- raft
- sqlite
source: https://github.com/canonical/dqlite
source-depth: 1
source-type: git
plugin: autotools
autotools-configure-parameters:
- --prefix=
- --enable-build-raft
stage-packages:
- liblz4-1
- libuv1
build-packages:
- liblz4-dev
- libuv1-dev
organize:
usr/lib/: lib/
prime:
- lib/libdqlite*so*
- lib/*/libuv*
#- lib/*/liblz4.so* # use liblz4.so from the base snap

edk2:
after:
Expand Down Expand Up @@ -897,26 +900,6 @@ parts:
prime:
- share/qemu/*

raft:
source: https://github.com/canonical/raft
source-depth: 1
source-type: git
plugin: autotools
autotools-configure-parameters:
- --prefix=
stage-packages:
- libuv1
- liblz4-1
build-packages:
- libuv1-dev
- liblz4-dev
organize:
usr/lib/: lib/
prime:
- lib/libraft*so*
- lib/*/libuv.so*
#- lib/*/liblz4.so* # use liblz4.so from the base snap

sqlite:
source: https://github.com/sqlite/sqlite
source-depth: 1
Expand Down Expand Up @@ -1590,7 +1573,6 @@ parts:
- openvswitch
- ovn
- qemu-ovmf-secureboot
- raft
- spice-server
- sqlite
- squashfs-tools-ng
Expand Down

0 comments on commit 77583c6

Please sign in to comment.