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
  Volumio on Rock64 gkkpch 19 10,983 02-21-2020, 04:49 PM
Last Post: mdr
  OMV Rock64 Nerevarine 6 122 02-21-2020, 04:28 AM
Last Post: default_user8
  Armbian for Rock64 pineadmin 19 6,182 02-03-2020, 11:07 PM
Last Post: janke
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 62 14,782 01-28-2020, 12:36 PM
Last Post: mara
  Linux Images (ROCK64) pineadmin 159 81,097 01-14-2020, 12:23 PM
Last Post: dpgraham
  CentOS 7 for Rock64 pineadmin 2 710 01-13-2020, 12:27 PM
Last Post: decontainerized
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 24 5,829 12-28-2019, 11:35 PM
Last Post: suberimakuri
Thumbs Up Manjaro for Rock64 Luke 7 2,017 12-19-2019, 05:53 PM
Last Post: tomarm
Sad HDMI doesn't work on rock64 rock7 0 138 12-16-2019, 01:04 PM
Last Post: rock7
  Remote desktop access Rock64 over Internet hg6806 2 136 12-11-2019, 08:27 PM
Last Post: default_user8

Forum Jump:


Users browsing this thread: 1 Guest(s)