Wow, my Rock64 built Firefox 61.0.2
#1
Photo 
In 9 hours 34 minutes.  Several sites I visit whine about my browser version using what's in the debs, Badoo refuses to work at all.  So I've tried a few times to build current Firefox.  This was done from an hg bundle because it was the only thing I could pull through intact enough to work.  It's about 1.5 GB of source code, the build directory at the end is 5.9 GB.  This is a 4 GB Rock64 with a 6 GB swapfile.

Rust and LLVM/Clang I had to build from sources because the deb versions were too old (rustup update will work for Rust), everything else is from the debs.  LLVM documentation has a lot of old cruft in it.  But unxz and untar both llvm and cfe (clang).  Then inside the llvm dir make a tools/clang dir and move the contents of the clang tarball into it (skip the outer level directory).  That way building and installing llvm will also do clang.  You have to use cmake, not the configure script, so do mkdir build and cd into that, then "cmake ..".  Edit your new CMKakeCache.txt and put in TOP_LEVEL_DIR=/usr/local/llvm (or wherever you want LLVM installed) then run "cmake .." again.  Now run make and make install.  I'm just doing it over  again on a Pi [that didn't work].

There's a list of requirements, I kept working through that and tracking things down from error messages.  There's a bootstrap.py in there somewhere, that helped a little but in the end ./mach build ran straight through.  I started with a tarball, I forget why that didn't work.  Then I tried to use git, but that only works on perfect networks, so I did the bundle.   All the attempts helped me get the requirements right.  I grabbed from https://hg.cdn.mozilla.net/ using the releases/mozilla-release at the bottom.  I mostly followed https://developer.mozilla.org/en-US/docs...al/Bundles but I didn't do mozilla-central (this time).

   
  Reply
#2
Wow indeed! That's a lot of dedication.

I wonder if it would have built faster had you decreased the amount of concurrency. That load average means your CPU was working harder than it could and you likely lost some performance because of that.

My longest build on here was compiling Mixxx 2.1 from scratch, that took 90 minutes with gcc/make -j 3 with all source files in a 3GB tmpfs:

tmpfs on /tmpfs type tmpfs (rw,nosuid,nodev,noexec,noatime,size=3215660k)

@ab1jx good job!
  Reply
#3
I consider under 10 hours quite acceptable, especially considering I don't plan to do it more than once a year or so.  It's not unlike building a kernel.  1.5 GB of source to compile.

I've tried maybe 6 times to do this on a Raspberry Pi 3B, with both Raspbian and 64 bit Debian, I've probably given up, maybe I'll try it again.  The Mozilla docs recommend 10 GB of RAM and of course a Pi only has 1.  I've had it build for something over 2 days then fail in the end.  I've tried swap files on the main SD as well as on an SD plugged into a USB reader.  I'm not sure you can change the concurrency, it's pretty aggressive already.  While it's building if you click something you wait a few seconds for a response.  Cross-compiling on a Rock to be run on a Pi would probably be my next approach.  So far my Pis are much more stable then the Rock, but the Rock's improving.  Firefox pretty much wants current LLVM/clang and Rust, so you have to build those first, my last Pi attempt died somewhere in the LLVM build.  No, it built LLVM but didn't pick up Clang and build that at the same time like it did on the Rock.  make install couldn't find clang to install it because it didn't get built, AFAIK I did it the same as on the Rock: I made a tools/clang dir and copied the clang source tree into it.
  Reply
#4
And now 2 months later it's been up and running for 35 days.  I guess it's stable enough to suit my purposes.  Ayufan image with standard updates and upgrades 4.4.132-1083.  It's just been sitting here cpumining Litecoin as a burn-in test.  Maybe I'll give away one of my Raspberry Pis and buy a ROCKPro64.  Haven't been on here complaining in forever, everything's running fine. Or maybe I'll get a Pinebook.
  Reply
#5
(10-21-2018, 02:41 PM)ab1jx Wrote: And now 2 months later it's been up and running for 35 days.  I guess it's stable enough to suit my purposes.  Ayufan image with standard updates and upgrades 4.4.132-1083.  It's just been sitting here cpumining Litecoin as a burn-in test.  Maybe I'll give away one of my Raspberry Pis and buy a ROCKPro64.  Haven't been on here complaining in forever, everything's running fine.  Or maybe I'll get a Pinebook.

Glad that your ROCK64 runs well Smile
  Reply
#6
My ROCK64 has also been rock solid for almost one year now. I wish I could stick it into a laptop case for a mobile version. The Pinebook isn't quite the same, unfortunately.

I had high hopes for the original Nexdock (byo sbc) but now it all seems vapourware.
  Reply
#7
(10-23-2018, 06:27 PM)a1w.ca Wrote: My ROCK64 has also been rock solid for almost one year now. I wish I could stick it into a laptop case for a mobile version. The Pinebook isn't quite the same, unfortunately.

I had high hopes for the original Nexdock (byo sbc) but now it all seems vapourware.

I thinks you can using ROCK64 with Nexdock.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 81 24,909 09-22-2020, 02:54 PM
Last Post: mara
  Lakka (retrogaming) os for rock64 Wizardknight 2 93 09-21-2020, 07:18 PM
Last Post: Wizardknight
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 321 09-21-2020, 04:33 AM
Last Post: as365n4
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 10,277 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  openwrt for the rock64 wilsonYan 3 421 09-01-2020, 09:07 PM
Last Post: wilsonYan
  Arch Linux ARM on the Rock64 V3 justinweiss 2 503 08-24-2020, 05:16 PM
Last Post: justinweiss
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 3 694 08-16-2020, 07:42 AM
Last Post: aclaret
  Linux Images (ROCK64) pineadmin 162 96,891 07-25-2020, 01:57 PM
Last Post: vve1505
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 798 07-09-2020, 10:02 PM
Last Post: nethammer
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 28 10,319 06-08-2020, 09:06 AM
Last Post: Ozk649

Forum Jump:


Users browsing this thread: 1 Guest(s)