build: ./configure basic cross-compilation support 84/35884/1
authorDamjan Marion <damarion@cisco.com>
Sun, 31 Oct 2021 18:47:23 +0000 (19:47 +0100)
committerDamjan Marion <damarion@cisco.com>
Tue, 5 Apr 2022 10:33:48 +0000 (12:33 +0200)
commita117c01c2b4d6903154edbe52abba497ef2dd2b4
tree0bc39a68b1b695c73435763470be4c9f7e2cb4d3
parent8bea589cfe0fca1a6f560e16ca66a4cf199041a2
build: ./configure basic cross-compilation support

$ sudo dpkg --add-architecture arm64
[update APT sources.list]
$ sudo apt install qemu crossbuild-essential-arm64 libssl-dev:arm64 libuuid1:arm64 libnl-3-dev:arm64 libnl-route-3-dev:arm64
$ ./configure -w -a aarch64
$ ninja
$ uname -m
x86_64
$ bin/vpp unix interactive
    _______    _        _   _____  ___
 __/ __/ _ \  (_)__    | | / / _ \/ _ \
 _/ _// // / / / _ \   | |/ / ___/ ___/
 /_/ /____(_)_/\___/   |___/_/  /_/

vpp# show cpu
Model name:               armv8
Microarch model (family): unknown (implementer 0x55 part 0x32c PASS 89.1519459600)
Flags:                    fp asimd aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve
Base frequency:           .06 GHz
vpp#

Type: make
Change-Id: Ib8bf2c7e38f109db42225db2e3182ceb8871baaf
Signed-off-by: Damjan Marion <damarion@cisco.com>
configure