Skip to content

Commit

Permalink
Fixed Qrepo script for Linux and Windows portability.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 15, 2024
1 parent b2749ad commit 54b792a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion qrepo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
"description": "RISC-V virtual runtime in C/C++ SDK made for ESP32-WROVER with PSRAM.",
"git": "https://github.com/rishka-esp32/rishka-sdk.git",
"scripts": {
"compile": [
"windows:compile": [
"riscv64-unknown-elf-g++ -march=rv64im -mabi=lp64 -nostdlib -Wl,-T,scripts/link.ld -O2 -o dist/{{2}}.out -Isdk sdk/librishka_impl.cpp {{1}} scripts/launcher.s",
"riscv64-unknown-elf-objcopy -O binary dist/{{2}}.out dist/{{2}}.bin",
"rm dist/{{2}}.out"
],
"linux:compile": [
"mkdir -p dist",
"riscv64-linux-gnu-g++-13 -march=rv64im -mabi=lp64 -nostdlib -Wl,-T,scripts/link.ld -O2 -o dist/{{2}}.out -Isdk sdk/librishka_impl.cpp {{1}} scripts/launcher.s",
"riscv64-linux-gnu-objcopy -O binary dist/{{2}}.out dist/{{2}}.bin",
Expand Down

0 comments on commit 54b792a

Please sign in to comment.