Closed proohit closed 1 year ago
I'd like to add news to this. I switched to an actual aarch64, Ubuntu OS. This time, I tried manual compilation:
make: Entering directory '/home/ubuntu/workspace/nodejs-rust/smartcore-ssvm/node_modules/ssvm/build'
CXX(target) Release/obj.target/ssvm/src/addon.o
CXX(target) Release/obj.target/ssvm/src/bytecode.o
CXX(target) Release/obj.target/ssvm/src/options.o
CXX(target) Release/obj.target/ssvm/src/ssvmaddon.o
CXX(target) Release/obj.target/ssvm/src/utils.o
CXX(target) Release/obj.target/ssvm/ssvm-core/lib/aot/compiler.o
... and there it get's stuck. I was monitoring the processes with htop:
At first, the cc1plus
program used 99% CPU, but after some time it went down to like 5%, as shown in the image. Also, the Memory seems to be constantly full. May this be the reason of stuck compilation?
Or am I just being impatient, being a spoiled new developer? :)
$ uname -a
Linux raspberry 5.4.0-1028-raspi #31-Ubuntu SMP PREEMPT Wed Jan 20 11:30:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Raspberry Pi 3b+ Ubuntu 20.04 Server
Are there any news or ETAs on this..?
I'm trying to install SSVM on RPiOS with npm, which throws a 404 on https://github.com/second-state/ssvm-napi/releases/download/0.7.3/ssvm-linux-arm.tar.gz. I checked and there are no releases for ARM for versions 0.7.2 and 0.7.3.
Sorry for missing the arm pre-built binary. We will add the pre-built binary once we have an arm machine.
I'd like to add news to this. I switched to an actual aarch64, Ubuntu OS. This time, I tried manual compilation: At first, the
cc1plus
program used 99% CPU, but after some time it went down to like 5%, as shown in the image. Also, the Memory seems to be constantly full. May this be the reason of stuck compilation?
And it looks like your memory is not enough to build. So the compilation process is killed by OS when the memory run out. Maybe you can add some swap to make the compilation work.
I'm trying to install SSVM on RPiOS with npm, which throws a 404 on https://github.com/second-state/ssvm-napi/releases/download/0.7.3/ssvm-linux-arm.tar.gz. I checked and there are no releases for ARM for versions 0.7.2 and 0.7.3.
Here are the installation logs (shortened bc of failed source compilation)
Is there any limitation on which node version can be used?
Additional info