Compare commits

..

5 Commits

Author SHA1 Message Date
David Mak c6450befd9 core: Remove lazy_static from dependencies 2023-10-16 12:23:01 +08:00
David Mak 768bdda8ef flake: Enable thread-safe mode for LLVM
This is required as we use the LLVM APIs from multiple threads.
2023-10-16 12:23:01 +08:00
David Mak 63c3e236b5 Force single-threaded compilation if LLVM is not thread-safe 2023-10-16 12:23:01 +08:00
David Mak 625ce12383 standalone: Update help text for `--emit-llvm` 2023-10-16 12:20:17 +08:00
David Mak d7dfab863a standalone: Fix run_demo script
- Link main and module*.bc together if using multiple threads
- Fix temporary files not being deleted
2023-10-16 12:20:16 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ else
if ls module*.bc >/dev/null 2>&1; then
llvm-link -o module.bc module*.bc main.bc
else
cp main.bc module.bc
llvm-link -o module.bc main.bc
fi
if [ -z "$outfile" ]; then