Skip to content

Commit

Permalink
Merge openebs#1121
Browse files Browse the repository at this point in the history
1121: fix(build): fix arm64 build r=tiagolobocastro a=xin3liang

Fix build on arm64 platform. Intel-ipsec-mb lib is only specific to
x64_64 platform.
And Mayastor can run on arm64 now, not just x86_64.

Signed-off-by: Xinliang Liu <[email protected]>

This PR is related to Mayastor arm64 support: openebs#1063

Co-authored-by: Xinliang Liu <[email protected]>
  • Loading branch information
mayastor-bors and xin3liang committed May 6, 2022
2 parents 77f837a + bdb90d8 commit 7ecb3b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion chart/templates/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
openebs.io/engine: mayastor
kubernetes.io/arch: amd64
initContainers:
- name: registration-probe
image: busybox:latest
Expand Down
1 change: 0 additions & 1 deletion deploy/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
nodeSelector:
openebs.io/engine: mayastor
kubernetes.io/arch: amd64
initContainers:
- name: registration-probe
image: busybox:latest
Expand Down
1 change: 1 addition & 0 deletions nix/pkgs/libspdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ let
install -v build/lib/pkgconfig/*.pc $out/lib/pkgconfig/
install -v dpdk/build/lib/*.a $out/lib/
install -v dpdk/build/lib/pkgconfig/*.pc $out/lib/pkgconfig/
'' + lib.optionalString targetPlatform.isx86_64 ''
install -v intel-ipsec-mb/lib/*.a $out/lib/
# fix paths in pkg config files
Expand Down

0 comments on commit 7ecb3b8

Please sign in to comment.