Skip to content

Commit

Permalink
build: Enable building rust dependencies (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k authored Dec 9, 2024
1 parent 30edb5a commit c98087b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charms/tensorboard-controller/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip] # Fixes install of some packages
# 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/tensorboards-web-app/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip] # Fixes install of some packages
# 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 c98087b

Please sign in to comment.