From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A2CE21B6BF for ; Wed, 9 May 2018 16:52:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2018 07:52:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,381,1520924400"; d="scan'208";a="54488455" Received: from kchalupx-mobl.ger.corp.intel.com ([10.103.104.151]) by orsmga001.jf.intel.com with ESMTP; 09 May 2018 07:52:51 -0700 From: Kamil Chalupnik To: dev@dpdk.org Cc: amr.mokhtar@intel.com, pablo.de.lara.guarch@intel.com, KamilX Chalupnik Date: Wed, 9 May 2018 16:51:04 +0200 Message-Id: <20180509145104.24492-1-kamilx.chalupnik@intel.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20180426133008.12388-3-kamilx.chalupnik@intel.com> References: <20180426133008.12388-3-kamilx.chalupnik@intel.com> Subject: [dpdk-dev] [PATCH v2 13/14] doc/bbdev: dynamic lib support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 14:52:55 -0000 From: KamilX Chalupnik Added a note to enable building as a shared lib Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- 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 /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 + ``/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--``, enter that folder and install: -- 2.5.5