hash: build on Windows

Message ID 20201001153059.8856-1-talshn@nvidia.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series hash: build on Windows |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-intel-Performance success Performance Testing PASS
ci/travis-robot success Travis build: passed
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Tal Shnaiderman Oct. 1, 2020, 3:30 p.m. UTC
  From: Ophir Munk <ophirmu@nvidia.com>

Build the lib for Windows.
Export the needed function from eal.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
---
 lib/librte_eal/rte_eal_exports.def | 2 ++
 lib/meson.build                    | 1 +
 2 files changed, 3 insertions(+)
  

Comments

Kadam, Pallavi Oct. 2, 2020, 4:28 a.m. UTC | #1
On 10/1/2020 8:30 AM, Tal Shnaiderman wrote:
> From: Ophir Munk <ophirmu@nvidia.com>
>
> Build the lib for Windows.
> Export the needed function from eal.
>
> Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
> Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
> ---
Tested-by: Pallavi Kadam <pallavi.kadam@intel.com>
Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
  
Thomas Monjalon Oct. 5, 2020, 7:54 a.m. UTC | #2
02/10/2020 06:28, Kadam, Pallavi:
> 
> On 10/1/2020 8:30 AM, Tal Shnaiderman wrote:
> > From: Ophir Munk <ophirmu@nvidia.com>
> >
> > Build the lib for Windows.
> > Export the needed function from eal.
> >
> > Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
> > Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
> > ---
> Tested-by: Pallavi Kadam <pallavi.kadam@intel.com>
> Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def
index cda3e0c79f..7b35beb702 100644
--- a/lib/librte_eal/rte_eal_exports.def
+++ b/lib/librte_eal/rte_eal_exports.def
@@ -6,6 +6,7 @@  EXPORTS
 	rte_bus_register
 	rte_calloc
 	rte_calloc_socket
+	rte_cpu_get_flag_enabled
 	rte_dev_is_probed
 	rte_devargs_insert
 	rte_devargs_next
@@ -69,6 +70,7 @@  EXPORTS
 	rte_vfio_container_dma_unmap
 	rte_vlog
 	rte_realloc
+	rte_rtm_supported
 	rte_strscpy
 	rte_zmalloc
 	rte_zmalloc_socket
diff --git a/lib/meson.build b/lib/meson.build
index d8b358e5f4..e5597f174c 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -42,6 +42,7 @@  if is_windows
 		'eal',
 		'ring',
 		'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci',
+		'hash',
 	] # only supported libraries for windows
 endif