From owner-freebsd-testing@FreeBSD.ORG Sun Feb 15 18:55:36 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB0A27E; Sun, 15 Feb 2015 18:55:36 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F2A39CE; Sun, 15 Feb 2015 18:55:36 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id hl2so28362344igb.0; Sun, 15 Feb 2015 10:55:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=QaswNKkaBAqtE8KJSPCudgm75ItEw9JAygRG6frhhHw=; b=0RWdzaPid7v3MzA5nxc5CKMMeZA2FgAwVClxQTjabUs2W1+0JwY5PIN+Jsdb5fWhfE KsCUP1j6L4KxWGAPbX1WcR1BezQh7ZovxANksmyI9U+fExcUMDuELh9dmMaJugpKP5fV j5L+qP35c+59CiBW5AdOAqGRr/w6DNCeADXtaozz9NZbGZtJpOVasUu+TzjL9XcAtcG2 cqZzO5V/F0daNd9ruEr4N2zudEIaYhVj/L8a9BG+vb7pDk7/ouQx7TVhtD/77J+DIgnW /vjxd2RTkLWCrksJQMuj3Bb5sxs9BmM98zxsFO/a5jsiF84M15Py0IdAJGOx+OXaYN3A Gt6g== MIME-Version: 1.0 X-Received: by 10.42.201.78 with SMTP id ez14mr25836999icb.22.1424026535858; Sun, 15 Feb 2015 10:55:35 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.66 with HTTP; Sun, 15 Feb 2015 10:55:35 -0800 (PST) In-Reply-To: References: Date: Sun, 15 Feb 2015 10:55:35 -0800 X-Google-Sender-Auth: y6V93q47CZXxpm4H2wUK7nLghuA Message-ID: Subject: Re: Building Kyua inside qemu mips VM From: Adrian Chadd To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-testing@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 18:55:36 -0000 I haven't tried it, because sean does a good job wrangling those yak herds. I'd rather we actually had proper cross-building without these kinds of hacks, and having more people with an actual requirement voicing this would be nice. -adrian On 15 February 2015 at 10:51, Craig Rodrigues wrote: > Hi, > > Have you tried any of these options to cross-build ports: > > https://wiki.freebsd.org/QemuUserModeHowTo > > Those options look complicated, but workable. > -- > Craig > > > On Sun, Feb 15, 2015 at 10:26 AM, Adrian Chadd wrote: >> >> ... ask the ports people to support cross-building as a "thing" one can >> do? >> >> All of those ports you've mentioned should be a perfectly good target >> for cross-building; I've done them before individually. >> >> >> >> -adrian >> >> >> On 15 February 2015 at 10:23, Craig Rodrigues wrote: >> > Adrian, >> > >> > I am continuing on the work started in the Hackathon which >> > you organized in January. I have this Jenkins job which >> > builds a UFS image built for mips using the MALTA kernel config: >> > >> > https://jenkins.freebsd.org/job/FreeBSD_HEAD_mips32_be/ >> > >> > I am using this invocation of QEMU to boot the image with 256MB RAM: >> > >> > https://wiki.freebsd.org/FreeBSD/MipsEmulation#Configuring_QEMU >> > >> > I am now trying to build /usr/ports/devel/kyua >> > inside the VM, so that I can do "cd /usr/tests ; kyua test" to run >> > all the tests. >> > >> > However, building kyua and all its dependencies (atf, sqlite, lua, >> > lutok) >> > is taking a really long time inside this VM, on the order of many hours. >> > >> > Is there something I can do to boost performance so I can at least build >> > kyua faster in this VM? >> > >> > -- >> > Craig > >