{"id":19680870,"url":"https://github.com/codewars/riscv","last_synced_at":"2025-02-27T06:29:49.014Z","repository":{"id":50372402,"uuid":"518870212","full_name":"codewars/riscv","owner":"codewars","description":"Container image for RISC-V","archived":false,"fork":false,"pushed_at":"2022-12-15T22:47:08.000Z","size":30,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-10T05:35:59.974Z","etag":null,"topics":["code-runner","code-runner-image"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-28T14:03:57.000Z","updated_at":"2023-05-19T08:28:58.000Z","dependencies_parsed_at":"2023-01-29T04:35:10.956Z","dependency_job_id":null,"html_url":"https://github.com/codewars/riscv","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Friscv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Friscv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Friscv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Friscv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewars","download_url":"https://codeload.github.com/codewars/riscv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240989483,"owners_count":19889697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-runner","code-runner-image"],"created_at":"2024-11-11T18:06:19.959Z","updated_at":"2025-02-27T06:29:48.974Z","avatar_url":"https://github.com/codewars.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codewars-riscv64\n\nContainer image for RISCV64 assembly used by CodeRunner.\n\n## Prerequisites\n\nThe container host must support [QEMU user-mode emulation](https://www.qemu.org/docs/master/user/main.html). Install the statically linked binaries for QEMU user-mode emulation **on the container host**, e.g. on Ubuntu 22.04:\n\n```bash\n$ sudo apt update \u0026\u0026 sudo apt install qemu-user-static\n```\n\n## Usage\n\n```bash\n$ ./bin/run\n```\n\nSpecify a container engine (default: `docker`) with environment variable `CONTAINER_ENGINE`. E.g. with Podman:\n\n```bash\n$ CONTAINER_ENGINE=podman ./bin/run\n```\n\nSpecify an example under the `examples/` directory to run (default: `multiply`) by passing a command-line argument. E.g. to run the example under `examples/multiply-failing/`:\n\n```bash\n$ ./bin/run multiply-failing\n```\n\n## Examples\n\n- `multiply` (default): Example of `multiply` function with fixed and random tests\n- `multiply-failing`: Like `multiply`, but with a failing implementation\n- `syntax-error`: An assembly program with syntax errors. Also demonstrates that it shouldn't be possible to cheat by replacing assembly with C\n- `invalid-regname`: An assembly program with an invalid register name `t7` (RISCV64 temporaries only range from `t0` to `t6`)\n\n## Building\n\n```bash\n$ docker build --platform linux/riscv64 -t ghcr.io/codewars/riscv:latest .\n```\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Friscv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewars%2Friscv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Friscv/lists"}