From patchwork Thu Sep 12 15:41:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1161664 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46TjjR59Srz9s00 for ; Fri, 13 Sep 2019 01:43:39 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="J4XH3P0k"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46TjjR36bQzF4gL for ; Fri, 13 Sep 2019 01:43:39 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=axtens.net (client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=dja@axtens.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=axtens.net Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.b="J4XH3P0k"; dkim-atps=neutral Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46Tjfj270yzF4dY for ; Fri, 13 Sep 2019 01:41:16 +1000 (AEST) Received: by mail-wm1-x341.google.com with SMTP id m3so553755wmc.5 for ; Thu, 12 Sep 2019 08:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zdZSp5sjSuSsSWzERzC5A+3pIZqENYjS5UTIwVi8WjI=; b=J4XH3P0kbDtSi8RRrH1RYzYRP0YcvPEYi6tJr9fuw5jT72Ub4wegazzH/a682J9gE8 meBVoDJi/N71tWXrWoQgKAIaprnR5JyY6ZHeDDDSKA4c8P3JG1BzRNE7GIUnP5uybowB JFJkV3reip3gIuRRFfsL6L4yW3jTAnkNrMlh4= 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:mime-version :content-transfer-encoding; bh=zdZSp5sjSuSsSWzERzC5A+3pIZqENYjS5UTIwVi8WjI=; b=AEF7X4ceAntjkEPSKH8jw/NF6g7SwF+gFc/2MSe1DSX7abTAN4kGDcmqafhUb7Q4N6 PjGcCDqqqBNWA8uuJw6aTE5Mf6rKU+IJM/Y36wPyXxfopKdJtBGT5VFCFdRgUccnpzDl tP9azEDrSp0TwnFDmT3xIbm/vo2bByJrozuvzoYHZL/0bwkBlrn7asEXAUnf3TppcAFg /U14mpuJDk1BljLLSLmYghZZ6A7eQ5Yx8McuEvKOLp/2d/PRlxR/uKsTTu1NP8DB6LeD tP0qKRxE4wkemswED+HLALdE4hnZUJUulTFFS4aN6GwT1kHujPaN/i/2Z5tllqqkARMm vNkA== X-Gm-Message-State: APjAAAWU0dGvXQhAtMJR7qqZUHOY6Uti8xCeX2IjbUSlEdu5hOy9z6lT ZNhkNbM566QTYUIQTR1BK1FUFd2lR28= X-Google-Smtp-Source: APXvYqywflx8Epj0C8uFSNRKw7IpoM+Y9QqeFIqCY4Q3o2W+5NnzaT6EWvNYdmbWQ/K8gKrtqPL7tg== X-Received: by 2002:a1c:f30b:: with SMTP id q11mr543624wmq.156.1568302869531; Thu, 12 Sep 2019 08:41:09 -0700 (PDT) Received: from localhost (195-23-252-136.net.novis.pt. [195.23.252.136]) by smtp.gmail.com with ESMTPSA id 17sm21455946wrl.15.2019.09.12.08.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2019 08:41:09 -0700 (PDT) From: Daniel Axtens To: patchwork@lists.ozlabs.org Subject: [PATCH] docker: pyenv: build at make -j$(nproc) Date: Fri, 13 Sep 2019 01:41:02 +1000 Message-Id: <20190912154102.30171-1-dja@axtens.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" This speeds up builds. I haven't measured by how much, but I have observed 8 threads being complied rather than 1 on my laptop. Signed-off-by: Daniel Axtens Reviewed-by: Andrew Donnellan Reviewed-by: Stephen Finucane --- tools/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 35324b13c66a..dfc9c2f3dab1 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -43,7 +43,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal git clone https://github.com/momo-lab/xxenv-latest $PYENV_ROOT/plugins/xxenv-latest && \ pyenv update -RUN pyenv latest install 2.7 && \ +RUN export MAKE_OPTS=-j$(nproc) && \ + pyenv latest install 2.7 && \ pyenv latest install 3.5 && \ pyenv latest install 3.6 && \ pyenv latest install 3.7