Conversation
|
We need special build files for x86 and for arm64 because 7-Zip contains assembler code files for x86-64 and for arm64. But we have no assembler code files for riscv. So we can compile for riscv via default files. |
@ip7z Thanks for response, yeah, I get it that is why it compiles fine with pure gcc/g++. Can we also release it for RISC-V this way? |
|
@ip7z Also I would love to contribute to the 7zip with RISC-V asm and I've reviewed some of the algo. and optimizations in 7zip/Asm, I can help in that too. Is there any other details on these which can give me more idea or are there any hidden files too for this? Would really appreciate your support in this regard. |
|
It's open source software. So you can release it as you want. |
TL;DR
Added the native riscv build files. I've tested the setup on Milk-V Pioneer Box. Please let me know if requires any additional changes.
I'm Akif from @10xEngineers. I'm mainly working on increasing the SW support for RISC-V and with that intension I'm creating this PR, hoping to get this merged and have release from ip7z for riscv too.
I was also hopping to setup the CI but I don't see any .workflow files in this repo, so, just adding the build files for now, please let me know how the release works would love to also help in that.
Host Details
Build Instructions/Flow
and tested 7z, 7za, 7zr like this:
Attaching the logs..
And after successful build I see the binaries like these:
and