[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] tools/tests: More cleanup for automation improvements

  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 16 Jun 2021 08:38:48 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7o62CH8tMP29dDg5bCfHgvNzv32UOojgxqPbsnjUHHE=; b=HLDHR5eQUV8QlhnOYDR1J+v/L4NfKR35FpyYhzu8ba0Wgt496iTroNZhS8rprWzEx0xbEIqN+DgQIQuZIgW+CN6dhAm41BT2NkfSLzkt2zLHsq9ea9FEUZkxFNHnhcUVe2/nDfww8GqlOVsDlysI1giaHGM4OdEk+8bvdA/oB9Ztyu6kpWJTy/6tsUL9Qxt8cYGpAZnQxqY1Fb3Evw3I/qHBht1vOo+02/ac085vVc8KsOa2a5ywTG37jHGSokCZjYAJdzFPcBEhnHGDRZNJlvDT18K7mQdXDtzwn9qlPwTu6BqV3w5Qk6VTr5HSdBjIdT/7jy2eHcD9hb/9phhj6A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfSixjsENXfEWhVAwvR2ap5Y06f5snoYqPIsr9QmOHhb9p+1oE/w0jxBXPk2pJBDnslnHHPxlOpXlT+VYyE0OxOA7Q5DS2EIj3IyTKOaQvp/qT/8yWDqQUrUfB/xKjgtn1JgwYMmBQwtaiD345UGzFhcdyz/eUI0GbqDZUy/4jTNpPrVq0mkHrujY+NvMdjHMTZb9sg5M1m1C+z1i4SHKepuVmOZK1bt9n6bsnwSe7X9rTS6QrcTvorNhP9U06piUQbBu2h3sb81I4zQeShSGxI9xxrlg+0SVS0SCNEQRU2LH2lNO6PLgfrI5Gx3qlfMqy2/QLyxmuizNzRmYR2Vkg==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Jun 2021 06:39:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.06.2021 18:19, Andrew Cooper wrote:
> Jan/Roger: x86_emulator and vpci use $(HOSTCC) not $(CC).  While they are unit
> tests, we still potentially want to run them in dom0 rather than the build
> environment - particularly for x86_emulator which is heavily CPUID based and
> wants to run on a wide set of hardware.  Any issues moving them off $(HOSTCC)?

Well, yes, I'm afraid: If anything, we may need to build two binaries,
or build the one binary two different ways: The "run" (and "run32" for
the emulator harness) target wants a binary built with HOSTCC. The
install target (which prior to your series does nothing) indeed wants
building with CC. So maybe we want something like

install: HOSTCC:=$(CC)

plus suitable detection of whether the opposite set of objects are
presently in the build area, requiring a full rebuild? (Of course this
will work only as long as HOSTCC isn't used for any build time helper
binaries. See "x86emul: test AMX insns" for when this starts not to be
the case anymore for the emulator harness. So we'd need yet another
variable to express this detail.)




Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.