Skip to content

Commit

Permalink
chore(armv7): avoid openssh -> rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
digikata committed Aug 4, 2023
1 parent 32b3f96 commit 6bb31f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/fluvio-run/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ doc = false
default = ["k8", "spu_smartengine"]
k8 = [ "fluvio-sc/k8"]
spu_smartengine = ["fluvio-spu/smartengine"]
rustls = ["fluvio-future/rust_tls"]

[dependencies]
clap = { workspace = true, features = ["std", "derive", "help", "usage", "error-context"]}
Expand Down
5 changes: 4 additions & 1 deletion makefiles/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ build-cli-minimal: install_rustup_target

# note: careful that the if statement branches are leading spaces, tabs
ifeq ($(TARGET), armv7-unknown-linux-gnueabihf)
fluvio_run_extra=--no-default-features
fluvio_run_extra=--no-default-features --features rustls
else
fluvio_run_extra=
endif
build-cluster: install_rustup_target
cargo build --bin fluvio-run -p fluvio-run $(RELEASE_FLAG) $(TARGET_FLAG) $(VERBOSE_FLAG) $(DEBUG_SMARTMODULE_FLAG) $(fluvio_run_extra)

build-run:
cargo build --bin fluvio-run -p fluvio-run $(RELEASE_FLAG) $(TARGET_FLAG) $(VERBOSE_FLAG) $(DEBUG_SMARTMODULE_FLAG) $(fluvio_run_extra)

build-test: install_rustup_target
cargo build --bin fluvio-test -p fluvio-test $(RELEASE_FLAG) $(TARGET_FLAG) $(VERBOSE_FLAG)

Expand Down

0 comments on commit 6bb31f4

Please sign in to comment.