if is_windows
libraries = [
'kvargs',
+ 'telemetry',
'eal',
'ring',
- 'pci',
+ 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci',
+ 'cmdline',
+ 'hash',
] # only supported libraries for windows
endif
ext_deps = []
deps = []
# eal is standard dependency once built
- if dpdk_conf.has('RTE_LIBRTE_EAL')
+ if dpdk_conf.has('RTE_LIB_EAL')
deps += ['eal']
endif
set_variable(name.underscorify() + '_disable_reason', reason)
else
enabled_libs += name
- dpdk_conf.set('RTE_LIBRTE_' + name.to_upper(), 1)
+ dpdk_conf.set('RTE_LIBRTE_' + name.to_upper(), 1) #old macro
+ dpdk_conf.set('RTE_LIB_' + name.to_upper(), 1) # new macro
install_headers(headers)
libname = 'rte_' + name
cflags += '-DRTE_USE_FUNCTION_VERSIONING'
endif
- version_map = '@0@/@1@/rte_@2@_version.map'.format(
- meson.current_source_dir(), dir_name, name)
-
- is_stable = run_command(is_stable_cmd,
- files(version_map)).returncode() == 0
-
- if is_stable
- lib_version = abi_version
- so_version = stable_so_version
- else
- lib_version = experimental_abi_version
- so_version = experimental_so_version
- endif
-
# first build static lib
static_lib = static_library(libname,
sources,
# RTE_BUILD_SHARED_LIB defined
cflags += '-DRTE_BUILD_SHARED_LIB'
endif
- version_map = '@0@/@1@/rte_@2@_version.map'.format(
- meson.current_source_dir(), dir_name, name)
+ version_map = '@0@/@1@/version.map'.format(
+ meson.current_source_dir(), dir_name)
implib = dir_name + '.dll.a'
def_file = custom_target(libname + '_def',
include_directories: includes,
link_args: lk_args,
link_depends: lk_deps,
- version: lib_version,
+ version: abi_version,
soversion: so_version,
install: true)
shared_dep = declare_dependency(link_with: shared_lib,