[dpdk-dev] [PATCH v5 1/4] regexdev: introduce regexdev subsystem

David Marchand david.marchand at redhat.com
Fri Sep 11 14:46:57 CEST 2020


On Mon, Jul 6, 2020 at 7:37 PM Ori Kam <orika at mellanox.com> wrote:
> diff --git a/lib/librte_regexdev/Makefile b/lib/librte_regexdev/Makefile
> new file mode 100644
> index 0000000..2e2925e
> --- /dev/null
> +++ b/lib/librte_regexdev/Makefile
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(C) 2019 Marvell International Ltd.
> +# Copyright(C) 2020 Mellanox Technologies, Ltd
> +#
> +
> +include $(RTE_SDK)/mk/rte.vars.mk
> +
> +# library name
> +LIB = librte_regexdev.a
> +
> +EXPORT_MAP := rte_regex_version.map
> +
> +# library version
> +LIBABIVER := 1

Still playing with v20.08 tag...

Not that it matters anymore (it is an experimental library + the make
support is dropped)... but this forced LIBABIVER was buggy and you can
see a wrong library generated on v20.08:

$ MAKE_PAUSE=n make defconfig O=v20.08 && sed -i -e
's/CONFIG_RTE_BUILD_SHARED_LIB=n/CONFIG_RTE_BUILD_SHARED_LIB=y/'
v20.08/.config
...
$ MAKE_PAUSE=n make O=v20.08
lib/librte_{telemetry,kvargs,eal,ring,mempool,mbuf,regexdev}_sub
...
== Build lib/librte_regexdev
  SYMLINK-FILE include/rte_regexdev.h
  SYMLINK-FILE include/rte_regexdev_core.h
  SYMLINK-FILE include/rte_regexdev_driver.h
  CC rte_regexdev.o
  LD librte_regexdev.so.1
  INSTALL-LIB librte_regexdev.so.1


-- 
David Marchand



More information about the dev mailing list