From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3368942D8C; Thu, 29 Jun 2023 14:58:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B078940EDB; Thu, 29 Jun 2023 14:58:48 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id C063E406B7 for ; Thu, 29 Jun 2023 14:58:46 +0200 (CEST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (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 smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 8F1A63F16F for ; Thu, 29 Jun 2023 12:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1688043526; bh=M87UTqfDz+Pq5X26fOV3W8pLGuJf/2WWAyiOd4z/J9E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MIKtN4D+hjfx0cjmPkNiuHneYkL7tEjgdlKsAVjISvO9pMTLgUuS4/LWCpKVU75eo JgDb1DZfXeT/WgohqoVCcpNVeZ7zZ4KGrnV2dofwmTUVoQFQijTjHYxj+BvVVbYnGS k/DVsSvQXiS1SOSiY7pIPmOpOkmN+17pZ7OG8Vcqdj2pNFmEoPJ44lQtIo+FmuMX+y bWAJKYB0y4yAmoC0E50GKylHjf28aFbb4F5WI+p5rPYBj4X0+9BPih2fHSxV+vVnqY MZpH013ws31V2MQ2IS8r5+j1HN4s98KPITqU26uGayNhaoHMhCC59GIXYlfvkDk1/b rhC8P/bFWfrrQ== Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9879d2fc970so56229066b.0 for ; Thu, 29 Jun 2023 05:58:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688043525; x=1690635525; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M87UTqfDz+Pq5X26fOV3W8pLGuJf/2WWAyiOd4z/J9E=; b=JdfXtkE+FquxxNn3We+QC0kkMywuGfcPOGAK/aydWjEK9C6fVKJXKeM1XdLmEGtHTA xe42BVWFB1C/Q1ZLtoxcaGJfsLBvUYTFjFGRKomlNLkY862oHxdEX5qfcnayiFdaeSk2 3gz8Z7mzYYP0Nwev2cXwP4IgKi84FXRqQwEEWM3Zw0C+gIXNCuZUslRIOjkGvCVOVget Eo+pyhrGq6mTic1eWe4H/CKWnZsQlogVR+/dGp7vkzZCOq0DA5hmmr8Ifo/NI6Sb2+B1 J0yfqy9xb8En5P92jPKuOu1Tf1A3DL1UdJW1Swjg9LEo4WRv/anoIi6/qTmvqKUtuynE 5OgQ== X-Gm-Message-State: AC+VfDzOPAcdcQXaIfLXS0xtENjltkt94z7hDNY1NKtzuHCHw/P0FljX g/PSfwaHi+TAWGBBGt3NP/I6okVzLdtcGJRvUbWJo3F+7kEKziEVQxoSuf7uDNPjkMG0Qapxr2U sZkgPZxiYrCnpo6tCcdSH1rUZ/t+m X-Received: by 2002:a17:906:6a17:b0:992:7295:61d4 with SMTP id qw23-20020a1709066a1700b00992729561d4mr4997369ejc.3.1688043525780; Thu, 29 Jun 2023 05:58:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5R8kaNAIFQcapbMFoTU28EHmK2orTVHd0ywh6HwuuoMHOa+8ti52kcejnKqMXryL1oDgYXIA== X-Received: by 2002:a17:906:6a17:b0:992:7295:61d4 with SMTP id qw23-20020a1709066a1700b00992729561d4mr4997355ejc.3.1688043525362; Thu, 29 Jun 2023 05:58:45 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:39a4:5200:9376:14f6:68d7:f741]) by smtp.gmail.com with ESMTPSA id jt24-20020a170906dfd800b009788554ad10sm6787502ejc.138.2023.06.29.05.58.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 05:58:44 -0700 (PDT) From: christian.ehrhardt@canonical.com To: dev Cc: Luca Boccassi , Christian Ehrhardt Subject: [PATCH] doc: ensure sphinx output is reproducible Date: Thu, 29 Jun 2023 14:58:35 +0200 Message-ID: <20230629125838.1995751-1-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Christian Ehrhardt By adding -j we build in parallel, to make building on multiprocessor machines more effective. While that works it does also break reproducible builds as the order of the sphinx generated searchindex.js is depending on execution speed of the individual processes. Signed-off-by: Christian Ehrhardt --- buildtools/call-sphinx-build.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildtools/call-sphinx-build.py b/buildtools/call-sphinx-build.py index 39a60d09fa..d8879306de 100755 --- a/buildtools/call-sphinx-build.py +++ b/buildtools/call-sphinx-build.py @@ -15,12 +15,7 @@ # set the version in environment for sphinx to pick up os.environ['DPDK_VERSION'] = version -# for sphinx version >= 1.7 add parallelism using "-j auto" -ver = run([sphinx, '--version'], stdout=PIPE, - stderr=STDOUT).stdout.decode().split()[-1] sphinx_cmd = [sphinx] + extra_args -if Version(ver) >= Version('1.7'): - sphinx_cmd += ['-j', 'auto'] # find all the files sphinx will process so we can write them as dependencies srcfiles = [] -- 2.41.0