From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 dcvr.yhbt.net (Postfix) with ESMTPS id 90B3D1F8C6 for ; Mon, 9 Aug 2021 14:17:22 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A0776389681C for ; Mon, 9 Aug 2021 14:17:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0776389681C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628518641; bh=c3QveMubZwcJDh/oPdQgLau4vJ2kz6f9F93nkje9DTw=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ozuHtQBtJMH6VaidombpyEXq3ZZY/UHUTCCnN2KBd09MkKqdTNiCbNi3OSDFwysRU Gx5Fb79IKcnZ7Z/L19W61PR+l5ctYTYO4HvVMoOKeu1Efp0c1Kgz6cdKG1K4NeZp1w bcJQpvaJ4bAhOIKPoBPSX4arkRFKInSnqFgFpFho= Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id BEA63385740E for ; Mon, 9 Aug 2021 14:17:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEA63385740E Received: by mail-pj1-x1032.google.com with SMTP id cp15-20020a17090afb8fb029017891959dcbso7037035pjb.2 for ; Mon, 09 Aug 2021 07:17:01 -0700 (PDT) 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=c3QveMubZwcJDh/oPdQgLau4vJ2kz6f9F93nkje9DTw=; b=E7N9CQK9umQYuXK0M5HQDvXQprSRO5WsUW6Hr1+zvcsja5I6B7DkAqluuV/Ljlw6hU 84dAYSwKUG0vCfGd2nyzhcK3Fz9hbe2r+B/WIZHMAM9z2GjqH1yiqksYc0cNkWaxI8+8 fHqDOflr5mMuPeTLtdp6KxuwEn5HpfDOyZrLhgOpVjQ9Rk+FOQ9UrBlWOwl5CWfFNX4I rPAkkU/VHBsxpkeOUjP7wl/eTHdboGREs3Khvs+UcVnF4ykI/19AzUiWjXSa2zu7CTch f49bvVf5XAJW2dII5plTkqQkSpzXvPSQw7OTG+d9c8mGW6qj8P5DNiAK9pxX2cU15jRY brsA== X-Gm-Message-State: AOAM530XFEjxYhCFb1CQ6rMvtkqAMCuQfhr4zNRwdNvNZ5+33FQuFAcI mu3BpB4qpVAOsTrs7zh21oU= X-Google-Smtp-Source: ABdhPJzK+1Wgrr419OOLY0BrNhxMAMSRm1cFBuvSvm0o7YmZc6nGKlu6P62qWWsMQ4CiyGua1Yz1AQ== X-Received: by 2002:a17:902:6b09:b029:129:c61e:e31a with SMTP id o9-20020a1709026b09b0290129c61ee31amr2596959plk.57.1628518620930; Mon, 09 Aug 2021 07:17:00 -0700 (PDT) Received: from gnu-cfl-2.localdomain ([172.58.38.240]) by smtp.gmail.com with ESMTPSA id 20sm25394821pgg.36.2021.08.09.07.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Aug 2021 07:17:00 -0700 (PDT) Received: from gnu-cfl-2.. (localhost [IPv6:::1]) by gnu-cfl-2.localdomain (Postfix) with ESMTP id 126CCC02FD; Mon, 9 Aug 2021 07:16:59 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v2 0/2] benchtests: Building benchmarks as static executables Date: Mon, 9 Aug 2021 07:16:57 -0700 Message-Id: <20210809141659.2075052-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Changes in v2: On i686, there is no multiarch memove in libc.a, don't include multiarch memove in ifunc-impl-list.c in libc.a. Building benchmarks as static executables: ========================================= To build benchmarks as static executables, on the build system, run: $ make STATIC-BENCHTESTS=yes bench-build You can copy benchmark executables to another machine and run them without copying the source nor build directories. H.J. Lu (2): i686: Don't include multiarch memove in libc.a benchtests: Building benchmarks as static executables benchtests/Makefile | 26 ++++++++++++++----- benchtests/README | 10 +++++++ sysdeps/i386/i686/multiarch/ifunc-impl-list.c | 2 +- 3 files changed, 30 insertions(+), 8 deletions(-) -- 2.31.1