[dpdk-dev] [PATCH v2 13/14] doc/bbdev: dynamic lib support
Kamil Chalupnik
kamilx.chalupnik at intel.com
Wed May 9 16:51:04 CEST 2018
From: KamilX Chalupnik <kamilx.chalupnik at intel.com>
Added a note to enable building as a shared lib
Signed-off-by: Kamil Chalupnik <kamilx.chalupnik at intel.com>
Acked-by: Amr Mokhtar <amr.mokhtar at intel.com>
---
doc/guides/bbdevs/turbo_sw.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/guides/bbdevs/turbo_sw.rst b/doc/guides/bbdevs/turbo_sw.rst
index 7448dc9..914b972 100644
--- a/doc/guides/bbdevs/turbo_sw.rst
+++ b/doc/guides/bbdevs/turbo_sw.rst
@@ -98,6 +98,14 @@ The following instructions should be followed in this exact order:
cd <path-to-workspace>/FlexRAN-1.4.0/SDK-R1.4.0/sdk/
./create-makefiles-linux.sh
+#. If build as a shared library is required, then add ``"-fPIC"`` option to file
+ ``<path-to-workspace>/FlexRAN-1.4.0/SDK-R1.4.0/sdk/cmake/intel-compile-options.cmake``
+ as follows:
+
+ .. code-block:: console
+
+ add_compile_options("-fPIC")
+
#. A build folder is generated in this form ``build-<ISA>-<CC>``, enter that
folder and install:
--
2.5.5
More information about the dev
mailing list