From patchwork Wed Jan 18 21:46:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 91827 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1223570qgi; Wed, 18 Jan 2017 13:46:12 -0800 (PST) X-Received: by 10.28.232.90 with SMTP id f87mr21032907wmh.35.1484775972166; Wed, 18 Jan 2017 13:46:12 -0800 (PST) Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id k5si3872464wme.41.2017.01.18.13.46.11; Wed, 18 Jan 2017 13:46:12 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id A4DA0FB13; Wed, 18 Jan 2017 22:46:11 +0100 (CET) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 22D60FB11 for ; Wed, 18 Jan 2017 22:46:10 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id f73so808812wmf.1 for ; Wed, 18 Jan 2017 13:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=glxAjwET8nIaTY/RoUhvQH2Ov9WdZY+7VY91JAcpiN4=; b=kPDH05EzUb113GnEQJ5YH0930n+3kRF4QWbjVMdJs7KGlbdW+KvA3K8QaDf2/3pwca 0F0XwhV+BsaG9lBrqrnNYq2AKT4kJJ9HByyEDwS7zzwPA7R+G2c3IseFnxvhdtrEzCjA EnFVjmkuhooSN2UJRgWUOuRmo3mhEoaqmUJ7o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=glxAjwET8nIaTY/RoUhvQH2Ov9WdZY+7VY91JAcpiN4=; b=BByFIJpccYPt3VVS/CzMRfU4eQ25C5G8cW8uhXpstR23ZF46jzKIweV2gktBZY3rJi WkOH18FGZFx/0NgLqETMx9w4aCXFb0xL8AqjvIAIdArgfIwWniv1whgbIDGMV2Akw4XR Hjwsw4Uh/AxwznqHPC/kruvCvCnOz14LWKdOs+IFkQw5HIDXAEiuGNNxIIfIlAx+B5m2 j9IIQITc1Ru2w46PtXcTM9gi8rrq2pquMVigL5GV4zvCJ8zAWTTybLfa44bpnjx3dcnx qc8NSJ6oE5eBDh2rhe/mF6TQFWmjONxHRIURjXAgMWDnya4pZZBQVdh0vzJfPL2xyrHW iMrw== X-Gm-Message-State: AIkVDXKmmwzlXDh6ZaaMJ0narfjSf4rcyL5Fak82T87Q5/sQZTmxuM6AoxC4QxDLy3aEAJZl X-Received: by 10.28.163.196 with SMTP id m187mr20998809wme.6.1484775969833; Wed, 18 Jan 2017 13:46:09 -0800 (PST) Received: from localhost (c-472271d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.34.71]) by smtp.gmail.com with ESMTPSA id f67sm48118129wmd.13.2017.01.18.13.46.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jan 2017 13:46:09 -0800 (PST) From: Anders Roxell To: thomas.monjalon@6wind.com Cc: dev@dpdk.org, ricardo.salveti@linaro.org, Anders Roxell Date: Wed, 18 Jan 2017 22:46:03 +0100 Message-Id: <20170118214604.32498-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 1/2] pkg: add aarch64 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Anders Roxell --- pkg/dpdk.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index 189cb2f2..a27bdd3b 100644 --- a/pkg/dpdk.spec +++ b/pkg/dpdk.spec @@ -40,10 +40,16 @@ Summary: Data Plane Development Kit core Group: System Environment/Libraries License: BSD and LGPLv2 and GPLv2 -ExclusiveArch: i686, x86_64 +ExclusiveArch: i686 x86_64 aarch64 +%ifarch aarch64 +%global machine armv8a +%global target arm64-%{machine}-linuxapp-gcc +%global config arm64-%{machine}-linuxapp-gcc +%else %global machine default %global target %{_arch}-%{machine}-linuxapp-gcc %global config %{_arch}-native-linuxapp-gcc +%endif BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel BuildRequires: doxygen, python-sphinx, inkscape From patchwork Wed Jan 18 21:46:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 91828 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1223617qgi; Wed, 18 Jan 2017 13:46:20 -0800 (PST) X-Received: by 10.28.146.207 with SMTP id u198mr13619385wmd.36.1484775980841; Wed, 18 Jan 2017 13:46:20 -0800 (PST) Return-Path: Received: from dpdk.org ([2001:4b98:dc0:41:216:3eff:fe72:dd13]) by mx.google.com with ESMTP id i76si3859439wmh.87.2017.01.18.13.46.20; Wed, 18 Jan 2017 13:46:20 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 as permitted sender) client-ip=2001:4b98:dc0:41:216:3eff:fe72:dd13; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 4ECAAFB1C; Wed, 18 Jan 2017 22:46:19 +0100 (CET) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 3A7C7FB15 for ; Wed, 18 Jan 2017 22:46:13 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id r144so47267603wme.1 for ; Wed, 18 Jan 2017 13:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EZegVfGL0AUTzCv/o//be/Ue2rD0UIanRmWGe4tz/0c=; b=aqhCen+prF2sk+m0a2U4P35bgg5leE2k4tHCpGL78t2/v4eZAQsf/2fVHMeuH4d63c gHpIfB+YX/oFNRpA/TK2L5nFbHyPxy7WU7UAPvYqNOThnboFmXVGTPeNY9mQgfTnHPrR 6e1IiOHKccoPy3ZrGd6OGd3sCicthzOiMbiO8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EZegVfGL0AUTzCv/o//be/Ue2rD0UIanRmWGe4tz/0c=; b=txFe6luBSsPLvYeFnQY468CWofD8CqXdepsVkIhPWsEzfi7dq61XgXKulX9E1LlgBt uawBMzaJOzzeDUjxLY6yvEreRySNBmMkzZRS1cR5uGFCgxe7EegBnuC6TzoKUnL3mkIB S2XDYy/CMp7iirxMobW5/gMhLwQKzurFU/tFo+t4fQjhfD/lnwW5rGfUH37RoBduS2lf gt74NzWIV7RsgX6Wf+fSlP2X+bDI8oBZHubExW7oP6BTyV6fzyVsjP88mM/cOY8nWIG/ bpR6tpMjypf25wc251lv7bmmNrgcUZv5qvMerTb9w3nz1emzRtXphKVbxzVpZ/0RvhZ4 inhQ== X-Gm-Message-State: AIkVDXKd2QTj7oSzWXBGxV1UFZLvoMzGiTfnokNmYcozl4/sbIc7o+NvcL2+h9WKbSFoY5E2 X-Received: by 10.28.6.78 with SMTP id 75mr4883516wmg.81.1484775972871; Wed, 18 Jan 2017 13:46:12 -0800 (PST) Received: from localhost (c-472271d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.34.71]) by smtp.gmail.com with ESMTPSA id d29sm7644215wmi.19.2017.01.18.13.46.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Jan 2017 13:46:12 -0800 (PST) From: Anders Roxell To: thomas.monjalon@6wind.com Cc: dev@dpdk.org, ricardo.salveti@linaro.org, Anders Roxell Date: Wed, 18 Jan 2017 22:46:04 +0100 Message-Id: <20170118214604.32498-2-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170118214604.32498-1-anders.roxell@linaro.org> References: <20170118214604.32498-1-anders.roxell@linaro.org> Subject: [dpdk-dev] [PATCH 2/2] pkg: remove xen-devel for aarch64 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Disable xen-devel since it just got available for aarch64 in Fedora 25. Signed-off-by: Anders Roxell --- pkg/dpdk.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/pkg/dpdk.spec b/pkg/dpdk.spec index a27bdd3b..ad30ecf8 100644 --- a/pkg/dpdk.spec +++ b/pkg/dpdk.spec @@ -51,7 +51,10 @@ ExclusiveArch: i686 x86_64 aarch64 %global config %{_arch}-native-linuxapp-gcc %endif -BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel +BuildRequires: kernel-devel, kernel-headers, libpcap-devel +%ifarch i686 x86_64 +BuildRequires: xen-devel +%endif BuildRequires: doxygen, python-sphinx, inkscape BuildRequires: texlive-collection-latexextra @@ -109,7 +112,9 @@ sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' %{target}/.config sed -ri 's,(RTE_NEXT_ABI=).*,\1n,' %{target}/.config sed -ri 's,(LIBRTE_VHOST=).*,\1y,' %{target}/.config sed -ri 's,(LIBRTE_PMD_PCAP=).*,\1y,' %{target}/.config +%ifarch i686 x86_64 sed -ri 's,(LIBRTE_PMD_XENVIRT=).*,\1y,' %{target}/.config +%endif make O=%{target} %{?_smp_mflags} make O=%{target} doc