From nobody Sun May 19 06:50:44 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1595575071; cv=none; d=zohomail.com; s=zohoarc; b=mM5avxr991nCWuEuYT9SVX9Gchkebl935fx8bzWKce89hjK8G+CrBcWAfzGe4MUivBh83hqmLDwmociWauiFgHPMoaNXvTLvswe30Rn4ejij3xFvkVv1zZRHo/fX5dxDeqsb3i98aeRurhpIxXJRT+ugwpGwl14QAHKhHuvLydI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595575071; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=lX3y9F5vD4bG79N8x0RuPu9En9J7gVavKPlg4rMZGbI=; b=YAuOG7Tvc5KRlSlRgc8gOtCxvBsrRF5h3Hk+jp/ihBpaYr2fea8v8ggpbZ1XnpNkD3jJZ1yOGW/SlHHB1ynElh3X54AkKB8/fM7E19HaWYRAJj2KdGNWctFjZ01BfcpQVAQjbfwxQC4F/9A+0PGr20IRjznW9dlhbzyM1XRjhCw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1595575071251823.1834151488856; Fri, 24 Jul 2020 00:17:51 -0700 (PDT) Received: from localhost ([::1]:49418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyrxm-00082r-2A for importer@patchew.org; Fri, 24 Jul 2020 03:17:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyrx0-0007J7-Td for qemu-devel@nongnu.org; Fri, 24 Jul 2020 03:17:02 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:33861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyrwz-0005Fi-BP for qemu-devel@nongnu.org; Fri, 24 Jul 2020 03:17:02 -0400 Received: by mail-wr1-x443.google.com with SMTP id f7so7346255wrw.1 for ; Fri, 24 Jul 2020 00:17:00 -0700 (PDT) Received: from localhost.localdomain (138.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.138]) by smtp.gmail.com with ESMTPSA id f15sm214640wrx.91.2020.07.24.00.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 00:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lX3y9F5vD4bG79N8x0RuPu9En9J7gVavKPlg4rMZGbI=; b=D3Vdo5VRb5V6HgfjeQRV2gztub3WoYN0yo50+YRAyFczNLaxJX+hGl3We2T+ITTFGS iKLW2MgeY1UaF8M0OE73xRThGvSmoIpz+9AJC2UKO/1FSCNLM7bCl4ORtQFoLzE/pc1d QvZm6oExS/CPVaSayB1i6i9Us8sVEQ+k85ubfXhI36VW9Z1uJPeTjQ/j2Y+CqCTrcije 0V75tPie8lHtLZOgEKy0GxtUSXZvKWTeCNcnSb2UWDINFyEq0lB+OL85R4xgb5beH7ux 9GdHeh1RdPEH1KN+WSZPvTZ6f0e47t0mbPE9iUPjdpDJZRuGxPpxyQ1hHbW4+3fb0prk A/IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=lX3y9F5vD4bG79N8x0RuPu9En9J7gVavKPlg4rMZGbI=; b=UnK2abFNX6Vz5nS+EjK5H1dh1JCtFsPx+UniuLjfeFAgCZqM80xFbX6cVoUXi29qbx B+8MRI+WJ5ziin9Hg08QrYF8IiaLI1cxIf/Ppr3tKEoFxg4Wo/OK7Q0RzKu12hxyfJsV EoB2Geu/HFaM11jjYEhSa3VEUvbJd3GxuOHthBmGBUVhrVTuH2AKGYKm6b0Pd56ULfj2 F1PI06keIo91X1rKXZZdL4H+T/L6N65/XNfPyDvNW62IKLf864PJyza0J1MVx+x/cJob cxp3PXbqJDEwEXed2V7HyOxpXaNqSGlKR4M0Rn/2eT5S42sMxR5R/o5pX8dCQ/7DxB1j KHfg== X-Gm-Message-State: AOAM532koSgQpPZOOEW4r3p6hIWpIRB1nc5j6zbMLIXuiFcfoiptZefM bKkHbgDRms48ujkICDVApgjgzjP61cg= X-Google-Smtp-Source: ABdhPJwzZ6ZhuCgAL882KfBXW0zaqMnWkrmPwT8dw66aglz3dmwL4FRGsXg9B4VBFrrOHjgyt/osLQ== X-Received: by 2002:a5d:4907:: with SMTP id x7mr7869740wrq.166.1595575019564; Fri, 24 Jul 2020 00:16:59 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [RFC PATCH] buildsys: Only build capstone if softmmu/user mode is enabled Date: Fri, 24 Jul 2020 09:16:57 +0200 Message-Id: <20200724071657.21508-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) At least one of softmmu or user mode has to be enabled to use capstone. If not, don't clone/built it. This save CI time for the tools/documentation-only build jobs. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 4bd80ed507..bc5757159a 100755 --- a/configure +++ b/configure @@ -5381,6 +5381,10 @@ fi ########################################## # capstone =20 +if test -z "$capstone" && test $tcg =3D 'no' ; then # !tcg implies !softmmu + capstone=3D"no" +fi + case "$capstone" in "" | yes) if $pkg_config capstone; then --=20 2.21.3