From nobody Wed Nov 27 15:39:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1698489330; cv=none; d=zohomail.com; s=zohoarc; b=jvJQ+xbksGb83qMEX9VXBaHgvOoaTi0+z44l9gB33ESCy1npoQx9Yv8i2vaty8qNdoUyz4kV50SQvKUyfDvgUFIa25LH3v75T6QGlZ3C7+3dFX4gyohBqkuNWsIbZwaJOW4+cOcMrCu+2vCr7ukiD8Bh6glqt/6p/9ryVnhuLto= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698489330; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=t+wjfKtC3t92gnbhw0BVnIQd/2GtTprk8NcwGcBfDuk=; b=MrZDw9CD/+dnFFH2QaLaUEb2jsjZKVXqxqgMPgHL+K9Rk9iGyyC6VIQnwhUjbpFMWpnJO8pH6gachuNSdB3ijbXjyioLyhk/uCp22HdUf1PJmk7KIBpO5cNwwIELsSsY9EeyNggM2NOm5KuNhw6kIzWzpRy30qwKkq+iBvLgFmo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1698489330572619.8298125043303; Sat, 28 Oct 2023 03:35:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwgdB-0006Ag-LR; Sat, 28 Oct 2023 06:33:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwgd9-000694-Tg for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:33:23 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwgd5-00038n-Tu for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:33:23 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-408002b5b9fso21420015e9.3 for ; Sat, 28 Oct 2023 03:33:14 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id h6-20020a5d4fc6000000b00327de0173f6sm3539309wrw.115.2023.10.28.03.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 03:33:12 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 0F02D5F797; Sat, 28 Oct 2023 11:33:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698489193; x=1699093993; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t+wjfKtC3t92gnbhw0BVnIQd/2GtTprk8NcwGcBfDuk=; b=KDoWTs3kx54w1GxP4wBNjXtT1BN1wgxbyAokjSxTmEwuRXVOLD5rAgf9EeVh27ubhJ /Kzfb3acSgPOH3laX3xsboRoyKyBbvLn4kesTHeXZd0WVRyomX4W1s2aAvPHXZWFAv6d Z+5+4gB7Vn0P4f7rM/eNVpoTXDaBkIppJYWzIwpREbkDD74IqNh+aj8YXJt6lxsBZ6DF YBZLMwJbJdfRy5f22ItRGJm+fHxNHd1fYo6B/wDqncHOuAxRmhDTNhYtvdsn8uoIQTlW drvkoQD6HWX9D4d5AccC1R51ixT9pSx1DwAJfZ+RMqvPW+2gEZtiwbD+n6RN9WdIDqd6 NnIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698489193; x=1699093993; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t+wjfKtC3t92gnbhw0BVnIQd/2GtTprk8NcwGcBfDuk=; b=lko57Z9Md8GxsFCmW8rAnRVnPkp14lMOJvqH6rMkQB+xtNtCR9hYTSJ/nDMV6n8tsW jOPmMUFrMXZWGbE7p8LBR/Xdeo2HEzOuWQT9B/4jVAgdF7ovbG7clrX/kC4gxJDET2Qp ox6HUzpX39smxxG1jYAVCemskYGcFYE/IWIdGUCGF+RoB2jQvwUFFFE5dnk8LqYXrocI elQHwj1BGzD7XadQe8dbIipz1lleLP0WAYCQo73fOXc8tIaiVTDsSZ4uht+zNFCpQlvX AH+uQVW//aq4pdbzTRRSsuj6UIIz2EiP2n8qrkD2U/obn/E5q7Youk+Pxev/Vyph3Eil G7qQ== X-Gm-Message-State: AOJu0YxN6HBpTr9AiJ+mCwK4qBIEEAsAgrlx83K9jkPkV7qID9QVCxqM +JlX8F4wVNWk5KW97FbvX+ipsw== X-Google-Smtp-Source: AGHT+IHmAMEph9EaBAYR+VxUH6+EItCcs7rC6ICMNzqz6EjxFNyrdTizqRw/gtFS8CC8aGvWawwtYQ== X-Received: by 2002:a05:6000:2aa:b0:32f:7cfc:68ab with SMTP id l10-20020a05600002aa00b0032f7cfc68abmr882512wry.8.1698489192796; Sat, 28 Oct 2023 03:33:12 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Mahmoud Mandour , Brian Cain , Paolo Bonzini , Warner Losh , Eduardo Habkost , Alexandre Iooss , "Edgar E. Iglesias" , Kyle Evans , qemu-arm@nongnu.org, Aleksandar Rikalo , Aurelien Jarno , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Wainer dos Santos Moschetta , Peter Maydell , Brad Smith , Jiaxun Yang , Thomas Huth Subject: [PATCH 01/17] tests/vm/openbsd: Use the system dtc package Date: Sat, 28 Oct 2023 11:32:55 +0100 Message-Id: <20231028103311.347104-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231028103311.347104-1-alex.bennee@linaro.org> References: <20231028103311.347104-1-alex.bennee@linaro.org> MIME-Version: 1.0 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::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1698489331373100001 From: Thomas Huth We can use the pre-packaged libfdt from the dtc package to avoid that we have to compile this code each time again and again. While we're at it, the "--python=3Dpython3" does not seemt to be necessary anymore, so we can drop it. Signed-off-by: Thomas Huth Message-Id: <20231016154049.37147-1-thuth@redhat.com> Signed-off-by: Alex Benn=C3=A9e --- tests/vm/openbsd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 6b4fc29793..85c5bb3536 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -27,6 +27,7 @@ class OpenBSDVM(basevm.BaseVM): size =3D "20G" pkgs =3D [ # tools + "dtc", "git", "pkgconf", "bzip2", "xz", @@ -67,8 +68,9 @@ class OpenBSDVM(basevm.BaseVM): cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); mkdir src build; cd src; tar -xf /dev/rsd1c; - cd ../build - ../src/configure --cc=3Dcc --python=3Dpython3 {configure_opts}; + cd ../build; + ../src/configure --cc=3Dcc --extra-cflags=3D-I/usr/local/include \ + --extra-ldflags=3D-L/usr/local/lib {configure_opt= s}; gmake --output-sync -j{jobs} {target} {verbose}; """ poweroff =3D "halt -p" --=20 2.39.2