rvtrans/README.md

33 lines
493 B
Markdown

### Compile
Using a 64bit OS
```shell
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:
```shell
sudo chmod -R 777 ../tests/
```
```shell
ctest -j$(nproc) --rerun-failed --output-on-failure
```
### Install
```shell
sudo make install
```
If it's a first install, you also need:
```shell
sudo systemctl restart systemd-binfmt
```