From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6149FA2EFC for ; Tue, 17 Sep 2019 04:59:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4C1F11BEEA; Tue, 17 Sep 2019 04:59:28 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 5EB991BEEA for ; Tue, 17 Sep 2019 04:59:27 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id u72so1150317pgb.10 for ; Mon, 16 Sep 2019 19:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=b5Gy23k323EzPIYu/DjVAJJYR02DytN9YUFRpKCV8Gc=; b=NUIBFEjocFtQuo/PIVECeSs5+A1BIEY8UzDkddnCi7PMjRQ3WWLBAEps40mZGf/iTP jLoSTmyOZ5pGUa5o5fKWjr7OoE9jlo+VWnc574hey9zPtWA3SV/hNGKM3Mkn+HVSz6hb dU2j02zgPMemNDN2T6TX9CFDiNGt3sRnzxSDXVJGEhR+Pd9gn06PLe6OU+LYi/2UBylm 2SpvDjU1pYj1dvDziF42h/AW1gN1m5pmF6FyVUo64hEoslVbQAg36zoLyLh3DgXjYHcu LfkfLsqgXDirOIB3qQPRb6R+QjXdoFMZnLCKkyJN0tfZ3c88onbmadRX4PTLGQcYkQGF SOSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=b5Gy23k323EzPIYu/DjVAJJYR02DytN9YUFRpKCV8Gc=; b=W4x1WMN7UYiPjRV2eObYG9ZDI/s+o5jVRL6hsnxX5AgvOx7v6vbsX+YiqM14oZ17UI 92KiawbSy8VAxHlCXqgk4wjRYYdI4gxaRHsWhZrM2jTLZbPfi1FpeLX8QAce9bODw/5F us9GkbhbuQnHP6Bmwa4ECtw9qBywEsOYIDnJpaqueagxNiPmhm/+7OyHmeQiHNDD84U3 66MFcu5FOFwCMkvZ+L0bUipz5k0wKFiw13ol4vgpKzTJIjfmytZxCNSGgIWlzYXopXNa cvuPAc/Aarh0ob0bEz8tPu6k/jytoNfO7l6dW3JiU5Za43oa3kJhF/wgxTq322fh1Dcj nvFg== X-Gm-Message-State: APjAAAWpnWCM79/aVwsOyekbkb8AHp53wecLvxVXk2ld6K9feamGGcz4 6Xfr7Ofpct+soOKo2vEaYEdf9fOc X-Google-Smtp-Source: APXvYqzqDEzCmUEVFXABDT7/H9j6yiAiTtuddmWaIieS4rzfJf1g+G24Exuu5IeVq0poK6pfJ3SKGA== X-Received: by 2002:a17:90a:1150:: with SMTP id d16mr2714686pje.2.1568689166479; Mon, 16 Sep 2019 19:59:26 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id d10sm582303pfn.50.2019.09.16.19.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Sep 2019 19:59:26 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Tue, 17 Sep 2019 11:59:19 +0900 Message-Id: <20190917025919.17734-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH] tools/sppc: make compiling faster in build images X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa Add `-j` option to each of make commands to compile programs in parallel. Signed-off-by: Yasufumi Ogawa --- tools/sppc/build/ubuntu/dpdk/Dockerfile.16.04 | 6 +++--- tools/sppc/build/ubuntu/dpdk/Dockerfile.18.04 | 6 +++--- tools/sppc/build/ubuntu/dpdk/Dockerfile.latest | 6 +++--- tools/sppc/build/ubuntu/pktgen/Dockerfile.16.04 | 4 ++-- tools/sppc/build/ubuntu/pktgen/Dockerfile.18.04 | 4 ++-- tools/sppc/build/ubuntu/pktgen/Dockerfile.latest | 4 ++-- tools/sppc/build/ubuntu/spp/Dockerfile.16.04 | 4 ++-- tools/sppc/build/ubuntu/spp/Dockerfile.18.04 | 4 ++-- tools/sppc/build/ubuntu/spp/Dockerfile.latest | 4 ++-- 9 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tools/sppc/build/ubuntu/dpdk/Dockerfile.16.04 b/tools/sppc/build/ubuntu/dpdk/Dockerfile.16.04 index b4b3681..80e15e1 100644 --- a/tools/sppc/build/ubuntu/dpdk/Dockerfile.16.04 +++ b/tools/sppc/build/ubuntu/dpdk/Dockerfile.16.04 @@ -34,9 +34,9 @@ RUN git clone $dpdk_branch $dpdk_repo # Compile DPDK WORKDIR $rte_sdk -RUN make install T=$rte_target -RUN make app T=$rte_target -RUN make examples T=$rte_target +RUN make -j install T=$rte_target +RUN make -j app T=$rte_target +RUN make -j examples T=$rte_target # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/dpdk/Dockerfile.18.04 b/tools/sppc/build/ubuntu/dpdk/Dockerfile.18.04 index 5880709..348b71c 100644 --- a/tools/sppc/build/ubuntu/dpdk/Dockerfile.18.04 +++ b/tools/sppc/build/ubuntu/dpdk/Dockerfile.18.04 @@ -34,9 +34,9 @@ RUN git clone $dpdk_branch $dpdk_repo # Compile DPDK WORKDIR $rte_sdk -RUN make install T=$rte_target -RUN make app T=$rte_target -RUN make examples T=$rte_target +RUN make -j install T=$rte_target +RUN make -j app T=$rte_target +RUN make -j examples T=$rte_target # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/dpdk/Dockerfile.latest b/tools/sppc/build/ubuntu/dpdk/Dockerfile.latest index 425b3f8..0bf028e 100644 --- a/tools/sppc/build/ubuntu/dpdk/Dockerfile.latest +++ b/tools/sppc/build/ubuntu/dpdk/Dockerfile.latest @@ -34,9 +34,9 @@ RUN git clone $dpdk_branch $dpdk_repo # Compile DPDK WORKDIR $rte_sdk -RUN make install T=$rte_target -RUN make app T=$rte_target -RUN make examples T=$rte_target +RUN make -j install T=$rte_target +RUN make -j app T=$rte_target +RUN make -j examples T=$rte_target # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/pktgen/Dockerfile.16.04 b/tools/sppc/build/ubuntu/pktgen/Dockerfile.16.04 index 4c4ae49..7f9a879 100644 --- a/tools/sppc/build/ubuntu/pktgen/Dockerfile.16.04 +++ b/tools/sppc/build/ubuntu/pktgen/Dockerfile.16.04 @@ -42,10 +42,10 @@ RUN git clone ${pktgen_branch} ${pktgen_repo} # Compile DPDK and pktgen WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${pktgen_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/pktgen/Dockerfile.18.04 b/tools/sppc/build/ubuntu/pktgen/Dockerfile.18.04 index 9862e4d..5ade823 100644 --- a/tools/sppc/build/ubuntu/pktgen/Dockerfile.18.04 +++ b/tools/sppc/build/ubuntu/pktgen/Dockerfile.18.04 @@ -43,10 +43,10 @@ RUN git clone ${pktgen_branch} ${pktgen_repo} # Compile DPDK and pktgen WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${pktgen_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/pktgen/Dockerfile.latest b/tools/sppc/build/ubuntu/pktgen/Dockerfile.latest index 1f48c19..5b360ed 100644 --- a/tools/sppc/build/ubuntu/pktgen/Dockerfile.latest +++ b/tools/sppc/build/ubuntu/pktgen/Dockerfile.latest @@ -43,10 +43,10 @@ RUN git clone ${pktgen_branch} ${pktgen_repo} # Compile DPDK and pktgen WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${pktgen_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/spp/Dockerfile.16.04 b/tools/sppc/build/ubuntu/spp/Dockerfile.16.04 index a928ac4..e43a20b 100644 --- a/tools/sppc/build/ubuntu/spp/Dockerfile.16.04 +++ b/tools/sppc/build/ubuntu/spp/Dockerfile.16.04 @@ -44,10 +44,10 @@ RUN git clone ${spp_branch} ${spp_repo} # Compile DPDK and SPP WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${spp_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/spp/Dockerfile.18.04 b/tools/sppc/build/ubuntu/spp/Dockerfile.18.04 index 7a7c06b..2257747 100644 --- a/tools/sppc/build/ubuntu/spp/Dockerfile.18.04 +++ b/tools/sppc/build/ubuntu/spp/Dockerfile.18.04 @@ -45,10 +45,10 @@ RUN git clone ${spp_branch} ${spp_repo} # Compile DPDK and SPP WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${spp_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} diff --git a/tools/sppc/build/ubuntu/spp/Dockerfile.latest b/tools/sppc/build/ubuntu/spp/Dockerfile.latest index 6f87cd1..dcacab2 100644 --- a/tools/sppc/build/ubuntu/spp/Dockerfile.latest +++ b/tools/sppc/build/ubuntu/spp/Dockerfile.latest @@ -45,10 +45,10 @@ RUN git clone ${spp_branch} ${spp_repo} # Compile DPDK and SPP WORKDIR ${rte_sdk} -RUN make install T=${rte_target} +RUN make -j install T=${rte_target} WORKDIR ${home_dir}/${spp_dir} -RUN make +RUN make -j # Set working directory when container is launched WORKDIR ${home_dir} -- 2.17.1