mirror of https://gitee.com/openkylin/rvtrans.git
ec5c288df5
Merge pull request !49 from 张瑞安/master |
||
---|---|---|
src | ||
system | ||
tests | ||
tests32 | ||
wrapperhelper | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE | ||
README.md | ||
cmake_uninstall.cmake.in | ||
postinst | ||
rebuild_wrappers.py | ||
rebuild_wrappers_32.py | ||
runTest.cmake |
README.md
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