From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: dev@dpdk.org
Cc: Krishna Kanth Reddy <krish.reddy@samsung.com>,
Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Subject: [PATCH 2/2] ARM64: Cross-Compilation Support
Date: Fri, 12 Apr 2024 13:13:17 +0200 [thread overview]
Message-ID: <20240412111317.3530529-2-sebastian.brzezinka@intel.com> (raw)
In-Reply-To: <20240412111317.3530529-1-sebastian.brzezinka@intel.com>
From: Krishna Kanth Reddy <krish.reddy@samsung.com>
Modified the Configuration file to use the latest ARM Cross-Compiler.
Fixed the linker errors for the undefined references to the APIs
isal_deflate_init, isal_deflate, isal_inflate_init, isal_inflate,
isal_inflate_stateless, isal_deflate_stateless,
isal_deflate_set_hufftables in the case of ARM Cross-Compilation.
Signed-off-by: Krishna Kanth Reddy <krish.reddy@samsung.com>
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
---
config/arm/arm64_armv8_linux_gcc | 10 +++++-----
drivers/compress/isal/meson.build | 4 ++++
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/config/arm/arm64_armv8_linux_gcc b/config/arm/arm64_armv8_linux_gcc
index 529694b49d..6dfb8aa206 100644
--- a/config/arm/arm64_armv8_linux_gcc
+++ b/config/arm/arm64_armv8_linux_gcc
@@ -1,9 +1,9 @@
[binaries]
-c = ['ccache', 'aarch64-linux-gnu-gcc']
-cpp = ['ccache', 'aarch64-linux-gnu-g++']
-ar = 'aarch64-linux-gnu-gcc-ar'
-strip = 'aarch64-linux-gnu-strip'
-pkgconfig = 'aarch64-linux-gnu-pkg-config'
+c = ['ccache', 'aarch64-none-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-none-linux-gnu-cpp']
+ar = 'aarch64-none-linux-gnu-gcc-ar'
+strip = 'aarch64-none-linux-gnu-strip'
+pkgconfig = 'aarch64-none-linux-gnu-pkg-config'
pcap-config = ''
[host_machine]
diff --git a/drivers/compress/isal/meson.build b/drivers/compress/isal/meson.build
index 4b3eaa2274..b3cc990053 100644
--- a/drivers/compress/isal/meson.build
+++ b/drivers/compress/isal/meson.build
@@ -5,6 +5,10 @@ dep = dependency('libisal', required: false, method: 'pkg-config')
if not dep.found()
build = false
reason = 'missing dependency, "libisal"'
+ isal_dep = cc.find_library('libisal', required: false)
+ if isal_dep.found()
+ ext_deps += isal_dep
+ endif
endif
deps += 'bus_vdev'
--
2.34.1
next prev parent reply other threads:[~2024-04-12 11:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 11:13 [PATCH 1/2] meson/mlx5: Suppress -Wunused-value diagnostic Sebastian Brzezinka
2024-04-12 11:13 ` Sebastian Brzezinka [this message]
2024-04-16 3:05 ` [PATCH 2/2] ARM64: Cross-Compilation Support Jerin Jacob
2024-05-23 12:26 ` Sebastian Brzezinka
2024-05-23 12:34 ` Jerin Jacob
2024-10-13 21:16 ` [PATCH 1/2] meson/mlx5: Suppress -Wunused-value diagnostic Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240412111317.3530529-2-sebastian.brzezinka@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=dev@dpdk.org \
--cc=krish.reddy@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).