From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 9A8B62BD7 for ; Wed, 20 Jul 2016 19:40:51 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id i5so79295344wmg.0 for ; Wed, 20 Jul 2016 10:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=c1Wsi3C15cdF3Qdyjwz4Pdb/jtkKM4wWD9n+tR1rw+0=; b=mM2Fw0NF++oWmZT2lceYKGnUoJHh+1+DAh+N9Up9yhX4IYJaJ+ZKGvoN4gUPtbyAid Pdc4Jufj/DGnxOSFzeyQwK3XJ1837RAqCWQotdevqky3kZsXiL3kir0rqBhMCUCkoQos GvUlpV+5nFyFr0J111EQ7uhHWKkUIxYGuTlgsFGOzWucAmlq8GGrQQvU/9TskGap5wto ZsSiQxrrZq9FrlACdQsa9GaekNsHGwPUAkfE++7HMJauyp/MirEmctL2K4Z50pGaPfbJ HmkS9U8WZ3kkJWmsgw7j1F69vLMK0h5DFUpdrB8g5/tnvdhv2tfAk1YJIEery6I7GAGT w9aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=c1Wsi3C15cdF3Qdyjwz4Pdb/jtkKM4wWD9n+tR1rw+0=; b=fFdcNjHfaiSPXSrPDLND3iCIMaKbEy/lwPRGfYpvsbZkXsGCdwjbwHjudpcasgHDIF 7HjFrPiHXj4NkRX7XlC1AT5nCtkaK840UShlt3yhoFL65PIvKes+0uWKh6mQAvjLvwJp TUVaRDTrwRcwEzpXH2ZIo+jd4m/AFM2ewWUJDYRWORm3FflNS5SJIBm8X0eoHYxgQPM7 Vsk8ZFqo75cjdW5jEa0UEIlSbBIVi/57isDDH8SDOFJCxRCeOLVN1vOd24BQMFiY5wGj nEx2l01YSafu6QQiGrE9PdI7k08801mbowQv+nb22tdk5g7JKOOO1Rd1EOBI6lXuyUCc VvFQ== X-Gm-Message-State: ALyK8tIzZTnG+/8noOQjb6rbrh1JXDQHKdb7eN7BtMbFkQV/FbVzdPvdIpMbgDTNGsjrCEaG X-Received: by 10.28.63.8 with SMTP id m8mr13333698wma.88.1469036451401; Wed, 20 Jul 2016 10:40:51 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id m201sm32504859wma.11.2016.07.20.10.40.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 10:40:50 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Cc: dev@dpdk.org, Neil Horman , "Mcnamara, John" Date: Wed, 20 Jul 2016 19:40:49 +0200 Message-ID: <6330653.K6A9CLrOZy@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1469034588-1847-1-git-send-email-nhorman@tuxdriver.com> References: <1469034588-1847-1-git-send-email-nhorman@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] validate_abi: build faster by augmenting make with job count X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 17:40:51 -0000 2016-07-20 13:09, Neil Horman: > From: Neil Horman > > John Mcnamara and I were discussing enhacing the validate_abi script to build > the dpdk tree faster with multiple jobs. Theres no reason not to do it, so this > implements that requirement. It uses a MAKE_JOBS variable that can be set by > the user to limit the job count. By default the job count is set to the number > of online cpus. Please could you use the variable name DPDK_MAKE_JOBS? This name is already used in scripts/test-build.sh. > +if [ -z "$MAKE_JOBS" ] > +then > + # This counts the number of cpus on the system > + MAKE_JOBS=`lscpu -p=cpu | grep -v "#" | wc -l` > +fi Is lscpu common enough? Another acceptable default would be just "-j" without any number. It would make the number of jobs unlimited.