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 AE5D1A055F; Thu, 20 Oct 2022 13:44:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A202A42D63; Thu, 20 Oct 2022 13:44:48 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id EF40842D62 for ; Thu, 20 Oct 2022 13:44:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666266287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N5vfym19sn9po96x1PC/F2zFZ5qLlyKO8J6UfKxmeDU=; b=VYnfZe98qt+tC87GPFmMyYYoKY4VpvHSD4PF3TpVNOd0x10OrTbbzCznlKw6UCZ66/5OvJ gz3ygvbLqvo6nMW0ubB4Tvb7VNj6vnhLG2xwGQqRNWrNM1xsgoWDD6J3SzGTDhyFllAM6G Lv5db0N+UOZx/0bKlqIc8t0ggVTP+NQ= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-54-EwtW-cePP8iHaSKJEI9G9w-1; Thu, 20 Oct 2022 07:44:46 -0400 X-MC-Unique: EwtW-cePP8iHaSKJEI9G9w-1 Received: by mail-pj1-f72.google.com with SMTP id z9-20020a17090a468900b00202fdb32ba1so1522852pjf.1 for ; Thu, 20 Oct 2022 04:44:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N5vfym19sn9po96x1PC/F2zFZ5qLlyKO8J6UfKxmeDU=; b=3uoCupUVKTsozX9a07FqXnyywYiL1598Q8LKLAic2JMTrEgckJVnhpAJZERHri99mP KNPEdU0qRzTYhp1XT5TjqwHyRbhNxwCWfbIJGZY6yRTdkWom/fdEoPlL6e/VFnT5AGAg 7C9Hzz5lx0H9+HabtUzU6bHMuldY6dvdusxpMv3u7Aspql171gL/ksMbYpOvtdqwAEmg rxpYc8/VGzW1Bkp7CzfKAv1F/aXEFXSnX1HeGTsnqgOVBdG+bx3NeMVOldnXIoc92sRR f19t7FsbX6dG1KLdmc6q2FVGSfgNslid1oRwRE91Lws8YX8UxOzHsRfVkfOWodHrzYNT JE7Q== X-Gm-Message-State: ACrzQf2ZhJzves/Ni9XwGvvtyDYkcOk1dX2iRTFdkzw9PCu7+clygygQ d7gu8k8ngT4YUfTpjNBURfVKvTI5xCh8R+CGk4iJmC6BGtIjbHh+B2Kbbh7b9aQ3C1P5PjfR9LM 8FjSkU1Mzb9HwV1tzQdk= X-Received: by 2002:a17:90b:1c8e:b0:205:783b:fe32 with SMTP id oo14-20020a17090b1c8e00b00205783bfe32mr52586774pjb.39.1666266285495; Thu, 20 Oct 2022 04:44:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM507wuIH6Hf8AkNBRXQg9LnQgSh01VTUAXXUIkGOjWmwe9Xfq6JXSRx55YM1usWBGcpua/+kX6G05KElO7cghw= X-Received: by 2002:a17:90b:1c8e:b0:205:783b:fe32 with SMTP id oo14-20020a17090b1c8e00b00205783bfe32mr52586741pjb.39.1666266285176; Thu, 20 Oct 2022 04:44:45 -0700 (PDT) MIME-Version: 1.0 References: <20221017140731.3467481-1-david.marchand@redhat.com> In-Reply-To: <20221017140731.3467481-1-david.marchand@redhat.com> From: David Marchand Date: Thu, 20 Oct 2022 13:44:33 +0200 Message-ID: Subject: Re: [PATCH] ci: combine static and shared linking build tests To: dev@dpdk.org Cc: Aaron Conole , Michael Santana X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Mon, Oct 17, 2022 at 4:08 PM David Marchand wrote: > > Save some cpu time and disk by testing linking against static and shared > library in single environments. Some additional info. Before, 2h27 of cpu: https://github.com/ovsrobot/dpdk/actions/runs/3265097067/usage After, 2h07 of cpu: https://github.com/ovsrobot/dpdk/actions/runs/3265960025/usage The gain in cpu time (and global duration of the tests) is smaller than what I saw. Quite likely, it is dependent on what is being done on the runners. > > The .ci/linux-build.sh is modified so it reconfigures an existing build > directory: an empty DEF_LIB= means that static and shared builds are > to be tested. > > ABI checks, documentation generation and unit tests are disabled for > static builds as they would be redundant with the check against > dynamically linked binaries, if any. > > Note: > - --cross-file is an option that can be passed to meson only when > creating a build environment, > - for some other reason, --buildtype and other non -D options are only > accepted when setting up a build directory with meson. When > reconfiguring, only their -D$option forms are accepted, > > Signed-off-by: David Marchand -- David Marchand