From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9E9391B7C5 for ; Tue, 17 Oct 2017 18:12:56 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 17 Oct 2017 09:12:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,391,1503385200"; d="scan'208";a="163648764" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga005.fm.intel.com with ESMTP; 17 Oct 2017 09:12:55 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Tue, 17 Oct 2017 17:12:15 +0100 Message-Id: <20171017161220.59941-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171017161220.59941-1-bruce.richardson@intel.com> References: <20171017161220.59941-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 3/8] lpm: install vector header files 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: Tue, 17 Oct 2017 16:12:57 -0000 The main rte_lpm.h header file also includes architecture specific headers, depending on the architecture on which it is used. These also need to be installed into the include directory as part of the "ninja install" process. Thankfully, since the vector headers all have different names we can just install all 3 of them in all cases, which avoids conflicts or issues with multi-architecture installs, or the need to use architecture-specific subdirectories. Signed-off-by: Bruce Richardson --- lib/librte_lpm/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_lpm/meson.build b/lib/librte_lpm/meson.build index af88a97ec..8e4eb7c31 100644 --- a/lib/librte_lpm/meson.build +++ b/lib/librte_lpm/meson.build @@ -32,4 +32,7 @@ version = 2 sources = files('rte_lpm.c', 'rte_lpm6.c') headers = files('rte_lpm.h', 'rte_lpm6.h') +# since header files have different names, we can install all vector headers +# without worrying about which architecture we actually need +headers += files('rte_lpm_altivec.h', 'rte_lpm_neon.h', 'rte_lpm_sse.h') deps += ['compat'] -- 2.13.6