Skip to content

Conversation

bubblepipe
Copy link

This PR adds a Nix flake script to provide an easy way to install the RISC-V toolchain required for compiling C programs to run on CKB VM.

By running:

$ nix develop 

We can have a working riscv64-none-elf-gcc in our environment.

@XuJiandong
Copy link
Collaborator

We use native clang to compile on-chain script. See https://github.com/cryptape/ckb-script-templates/blob/main/workspace/scripts/find_clang

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

Successfully merging this pull request may close these issues.

2 participants