fix bytecode retrieval, update readme

This commit is contained in:
dzaima 2021-06-11 04:43:22 +03:00
parent 47390958ce
commit e6730dcfe8
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
build/run: build/run:
1. `./genRuntime path/to/mlochbaum/BQN` 1. (optional) run `./genRuntime path/to/mlochbaum/BQN`; Otherwise, the necessary precompiled bytecode will be retrieved from `remotes/origin/bytecode`
2. Optionally choose what to build by changing `src/h.h` 2. If needed, customize settings in `src/h.h`
3. `make` 3. `make`
- Options: `make o3`, `make debug` (`make rtperf`, `make heapverify` and `make rtverify` also exist for further testing/debugging) - Options: `make o3`, `make debug` (`make rtperf`, `make heapverify` and `make rtverify` also exist for further testing/debugging)
- Do `make clean` or `make [o3|debug|…]-clean` before to force recompile - Do `make clean` or `make [o3|debug|…]-clean` before to force recompile

View File

@ -33,7 +33,7 @@ core: i32arr.o c32arr.o f64arr.o harr.o fillarr.o stuff.o derv.o mm.o heap.o
../../src/gen/src: ../../src/gen/src:
@echo "no precompiled bytecode found; copying from the bytecode branch" @echo "no precompiled bytecode found; copying from the bytecode branch"
git checkout bytecode ../../src/gen/{compiler,formatter,runtime0,runtime1,src} git checkout remotes/origin/bytecode ../../src/gen/{compiler,formatter,runtime0,runtime1,src}
git reset ../../src/gen/{compiler,formatter,runtime0,runtime1,src} git reset ../../src/gen/{compiler,formatter,runtime0,runtime1,src}
load.o: ../../src/gen/src load.o: ../../src/gen/src