Commit bf7460f5 authored by Ben Walker's avatar Ben Walker Committed by Jim Harris
Browse files

changelog: Expand CHANGELOG entry for cross compilation.



Change-Id: I53ae790bff0a6b6f16e55d234528dbfd99e25d8a
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463545


Reviewed-by: default avatarBroadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 36eb0ec5
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
@@ -224,12 +224,21 @@ A snapshot can now be deleted if there is only a single clone on top of it.

### build

Cross compilation is now supported with an extra configure option:
`./configure --target-arch=aarm64`
Preliminary support for cross compilation is now available. Targeting an older
CPU on the same architecture using your native compiler can be accomplished by
using the `--target-arch` option to `configure` as follows:

Additionally, a prefix to the toolchain can be provided to automatically set up
CC and CXX:
`./configure --target-arch=aarm64 --cross-prefix=aarch64-linux-gnu`
~~~
./configure --target-arch=broadwell
~~~

Additionally, some support for cross-compiling to other architectures has been
added via the `--cross-prefix` argument to `configure`. To cross-compile, set CC
and CXX to the cross compilers, then run configure as follows:

~~~
./configure --target-arch=aarm64 --cross-prefix=aarch64-linux-gnu
~~~

### vhost