mirror of https://gitee.com/openkylin/rvtrans.git
493 B
493 B
Compile
Using a 64bit OS
git clone https://gitee.com/openkylin/rvtrans
cd rvtrans
mkdir build; cd build; cmake .. -DRV64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
make -j`nproc`
Test
If file in ../tests
no executable, you need:
sudo chmod -R 777 ../tests/
ctest -j$(nproc) --rerun-failed --output-on-failure
Install
sudo make install
If it's a first install, you also need:
sudo systemctl restart systemd-binfmt