X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by lists.alpinelinux.org (Postfix) with ESMTP id 52D38F84D74 for ; Fri, 17 May 2019 13:58:55 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id 13so3727594pfw.9 for ; Fri, 17 May 2019 06:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=jB7Equ0jPAdyfXugu4u36AgQXj+KfdszrRonHocHwkw=; b=OTk5Nc4tZfot0SJJPZ1LPTSV40XWVZkiZdQ/9wdAV5u3uQCt6xOL7gr9WUAvxpVlJg WDD6llqDNI2DqbZsL9qlG1mH6lV0r3Z95wHDv9MDMuvn2FpWoUFfNZMJ/dpMbbQJ4eVk yR00MKMfJ9fIoRTyqovVAJ0OzPw5dcIkbskc3xNK62WxPukkim7qLETDMohVsfDXxDGv ps5KaH8lQ8VePuEYnZQQvgNPbKZU63INeL+n6Wv6S92GtQjDPcX3oFJqMD3gAaAXdWW6 CvUxOldBGWSAoqMSOcEsEUBopQ0jxtDVYtyju6PLhj/5TffvjPvRPf/hTJiKgz16hbjE P3/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=jB7Equ0jPAdyfXugu4u36AgQXj+KfdszrRonHocHwkw=; b=DDkUXNZ7mJIr88rTXw4T8j2fAq8Rt9oQ0IjOLjfYuHr/YBXCqhnP/CTnVLmYxLkfUY Nh1nKP1q3ljI/Vxiv+A/VI11dXj0Ek+css6cLICBiLVlOLn3BFPe0E0qI+Evqx09eWcf WVsUg6uJuOrfaK5W+bjmvJ4b8GiW/4HYL02HJXnkh5+HZPi5GLzPNdUyiM9Rd+zmBmPV L5uJLSxV9TauZSk9GimmMr49c63XdluwI/43gowO3q2JrpLEDwDXd2rf+y98ZevNcrCy SUOJM6H/OgSq64BwRDRRFjHO/ICVOwwOcBHgwgA8mh9Bf+QlY5cqxEYj5dldZojxg5oW SdpQ== X-Gm-Message-State: APjAAAUwNenvQYNLk3PIk+xKwxk1qZdXLA29nsYbB1reli6w6OfU5Kvf Bodf3XULa0swvgvMHfX3yS/0UwbE7v2DSEd+1TP+ATgByz4= X-Google-Smtp-Source: APXvYqwuhXw7bK4rfpYY4+V7pO2t0MXKUqj5iX4bOV9gQbBUbOHjveA5dTGt/y4nOELeQCbR0UvX3M0SvkFIOpRgXmQ= X-Received: by 2002:a63:a08:: with SMTP id 8mr56288066pgk.46.1558101534173; Fri, 17 May 2019 06:58:54 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190505212004.GA31072@arya.arvanta.net> <20190506190548.GA18384@arya.arvanta.net> In-Reply-To: <20190506190548.GA18384@arya.arvanta.net> From: Pablo Rogina Date: Fri, 17 May 2019 10:58:42 -0300 Message-ID: Subject: Re: [alpine-devel] How to Qt 5 packages are built for architecture aarch64 (i.e. Raspberry Pi 3) To: Alpine-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Guys, thank you very much for the tips and details about packages building approach for RPi devices. I'm not sure I have enough spare time but I might give the qemu based scenario a try. Regards. Pablo On Mon, May 6, 2019 at 4:06 PM Milan P. Stani=C4=87 wrote= : > > Hi, > > On Mon, 2019-05-06 at 11:40, Pablo Rogina wrote: > > Hi Milan, thank you for your reply. > > > Alpine build packages native, i.e. not cross build. > > > Although it is not RPi3 for aarch64 but some more powerful ARM64 > > > machines. > > Given I don't have "more powerful ARM64 machines" at hand: > > 1. could it be possible to cross-compile those packages under a X86_64 > > machine using the Linario binary toolchain [1]? > > 2 do I need to do something special because musl library? > > > > [1] https://releases.linaro.org/components/toolchain/binaries/7.4-2019.= 02/aarch64-linux-gnu/ > > Sorry if was not more clear answering your question. I thought you ask > how Alpine builds packages. > > Of course, you can build them on RPi3 or other smaller boxes and (as > Rasmus wrote in response to you) under qemu. > Personally I built a lot of them on small ARM SBC's with 1GB RAM, one or > two CPU's and filesystem on SD cards. For smaller packages it works fine > although not fine as on big boxes. > > Big packages require more RAM and some tweaks. For example I've built > llvm, rust lang, crystal lang, firefox and some other on ARM64 with 4GB > RAM with help form zram swap and stopping all other processes (Xwin and > similar) and build set to just one job (i.e. not paralel, 'make -j1'). > It is slow for such big packages but it works, and slowness is mostly > becuase filesystem is on SD cards. I tried also with SSD attached over > USB-C and then it is somewhat faster. > > Now I have both arm machines (arm32 and arm64) with 4GB and eMMC cards > so it is easier for me, but remember when I built most of them under > qemu. > > -- > regards > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---