Compare commits

..

5 Commits

Author SHA1 Message Date
David Mak 557ef1ec79 core: Remove lazy_static from dependencies 2023-10-13 16:09:46 +08:00
David Mak a034844b1a flake: Enable thread-safe mode for LLVM
This is required as we use the LLVM APIs from multiple threads.
2023-10-13 15:02:50 +08:00
David Mak 3209f88adf Force single-threaded compilation if LLVM is not thread-safe 2023-10-13 15:02:48 +08:00
David Mak af77898390 standalone: Update help text for `--emit-llvm` 2023-10-13 15:00:39 +08:00
David Mak 8c7cf4f8f3 standalone: Fix run_demo script
- Link main and module*.bc together if using multiple threads
- Fix temporary files not being deleted
2023-10-13 14:57: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
llvm-link -o module.bc main.bc
cp main.bc module.bc
fi
if [ -z "$outfile" ]; then