Fwiw, here's the build script I used:

https://gist.github.com/mattbillenstein/21811731d24403eb5e805f7342d35378

m

On Tue, Jun 25, 2019 at 11:25:20PM +0000, Matt Billenstein wrote:
> Hi all,
> 
> You can rent aarch64 hardware on ec2 now - I built pypy3 7.1.1 on an a1.large
> (2 vCPUs, 4GB RAM, ~$37/mo on-demand) using an armhf chroot.  It took about 
> 140
> minutes wall clock time - I did need to create a swap file as my first attempt
> failed with a memory error:
> 
> real    139m41.253s
> user    118m12.756s
> sys     1m4.388s
> 
> (armhf)ubuntu@ip-172-31-xx-xxx:~$ pypy3-build/opt/pypy3/bin/pypy3
> Python 3.6.1 (784b254d669919c872a505b807db8462b6140973, Jun 25 2019, 16:45:29)
> [PyPy 7.1.1-beta0 with GCC 7.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> And now for something completely different: ``snow, snow, snow, snow''
> >>>> 1 + 2
> 3
> 
> The same script on an i7 laptop with Ubuntu 18.04 took around 64 minutes:
> 
> real    63m58.293s
> user    53m31.992s
> sys     0m17.487s
> 
> I had also tried a build on a Raspberry Pi3b with an usb ssd as a swap disk
> (this machine only has 1GB of RAM) - this got pretty far, but failed after
> around 4 hours with a memory error.  A Pi 4b with 4GB of RAM would compile it 
> I
> imagine, so this might make a very cheap buildbot host for that purpose.
> 
> m
> 
> 
> > On 2019-06-21 02:41, Matti Picus wrote:
> > > On 21/6/19 9:12 am, Gelin Yan wrote:
> > > Hi All
> > >
> > >    I  just noticed there are no links for downloading pypy 7.0 for Arm 
> > > version. Does it imply I have to use the old version or the arm 
> > > development has been suspended?
> > >
> > > Regards
> > >
> > > gelin yan
> > >
> > 
> > While we still nominally support ARM32, we do not supply binaries. It 
> > takes around 10 hours to translate on a qemu virtual machine with a x86 
> > host. The solution to cross-compile (scratchbox) is no longer supported. 
> > We are exploring options for someone to host a aarch64 build machine 
> > that can run a 32-bit chroot, which seems to be the best alternative. 
> > Help sponsoring such work would be welcome.
> > 
> > 
> > Matti
> 
> -- 
> Matt Billenstein
> m...@vazor.com
> http://www.vazor.com/
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev

-- 
Matt Billenstein
m...@vazor.com
http://www.vazor.com/
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to