Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for compiling for RISC-V ISA (Data-caching) #439

Open
vincejhan98 opened this issue Nov 21, 2023 · 3 comments
Open

Instructions for compiling for RISC-V ISA (Data-caching) #439

vincejhan98 opened this issue Nov 21, 2023 · 3 comments

Comments

@vincejhan98
Copy link

Reading from the Workload Status Matrix, the Data-caching application supports running on RISC-V ISA.

We are currently trying to compile this program to RISC-V binary, particularly the server-side "memcached". However, I could not find any instructions on the READ.ME file on how to do so. I was also unable to find RISC-V options in the configure file or the Makefile.

Is there a workload pipeline on how to set the target machine/architecture to RISC-V to output a risc-v binary? Thank you!

@xusine
Copy link
Contributor

xusine commented Nov 21, 2023

Hello,

Yes. Other workloads are containerized, so you may want to build the docker image for RISC-V, instead of the binary itself. You can follow the tutorial on how to cross-compile docker image with buildx, or check our Github Action script.

Hope this is helpful!

Best,

@vincejhan98
Copy link
Author

Hi Cyan,

Thank you so much for your reply! I'm assuming that you're referring to this tutorial : https://github.com/parsa-epfl/cloudsuite/blob/main/docs/buildx.md

However, I had trouble figuring out how to open the specific docker file for riscv. I believe this is the container I hope to open: https://hub.docker.com/layers/cloudsuite/data-caching/server/images/sha256-53a8161de10aa991a3b90ff4aad10f8e904cc7957fca0c5210d6ed30194a3859?context=explore

I could only find the base-os for riscv and could not figure out how to run riscv for dc-server. Can you provide some step-by-step guides like the md file for data-caching? https://github.com/parsa-epfl/cloudsuite/blob/main/docs/benchmarks/data-caching.md

Thank you so much, it would be much appreciated.

@xusine
Copy link
Contributor

xusine commented Nov 23, 2023

Hello,

Sorry for my delay. In theory you should be able to follow the same document to run Data Caching on RISC-V machine: The image for RISC-V is ready and docker on RISC-V can figure it out and download the correct message.

There is no specific docker file for RISC-V. All architectures share the same docker file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants