Skip to content

Commit

Permalink
build: Enable building rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Dec 4, 2024
1 parent a8973a6 commit 385132f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
7 changes: 6 additions & 1 deletion charms/knative-eventing/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip]
build-packages: [git]
# Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722
build-snaps: [rustup]
build-packages: [pkg-config, libffi-dev, libssl-dev]
override-build: |
rustup default stable
craftctl default
6 changes: 6 additions & 0 deletions charms/knative-operator/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip]
# Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722
build-snaps: [rustup]
build-packages: [pkg-config, libffi-dev, libssl-dev]
override-build: |
rustup default stable
craftctl default
7 changes: 6 additions & 1 deletion charms/knative-serving/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip]
build-packages: [git]
# Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722
build-snaps: [rustup]
build-packages: [pkg-config, libffi-dev, libssl-dev]
override-build: |
rustup default stable
craftctl default

0 comments on commit 385132f

Please sign in to comment.