Skip to content

Commit

Permalink
dqlite: Use built in raft from lts-1.17.x branch (4.0-edge) (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Nov 12, 2024
2 parents bd4d293 + 0bde2d0 commit a8ba1ef
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,18 +208,20 @@ parts:

dqlite:
after:
- raft
- sqlite
source: https://github.com/canonical/dqlite
source-commit: 50ee9af350b2fb4e79f9eb58db22c8a0927138de # few commits before v1.13.0
source-branch: lts-1.17.x
source-type: git
source-depth: 1
plugin: autotools
autotools-configure-parameters:
- --prefix=
- --enable-build-raft
stage-packages:
- liblz4-1
- libuv1
build-packages:
- liblz4-dev
- libuv1-dev
organize:
usr/lib/: lib/
Expand Down Expand Up @@ -747,26 +749,6 @@ parts:
prime:
- share/qemu/*

raft:
source: https://github.com/canonical/raft
source-commit: abf9c42a9bb63c24920ab9f0bfbc4b7a47e7e5f4 # no proximate release tag/version
source-type: git
source-depth: 1
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*

sqlite:
source: https://github.com/sqlite/sqlite
source-type: git
Expand Down Expand Up @@ -1303,7 +1285,6 @@ parts:
- nano
- nvidia-container
- openvswitch
- raft
- sqlite
- squashfs-tools-ng
- vim
Expand Down

0 comments on commit a8ba1ef

Please sign in to comment.