08-16-2018, 06:09 PM
(This post was last modified: 08-16-2018, 06:17 PM by ab1jx.
Edit Reason: clang method added
)
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.
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.