Skip to content

Commit

Permalink
make plagground JIT work || bug fix in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Menooker committed Mar 8, 2020
1 parent b76c46f commit df3ec8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Birdee/KaleidoscopeJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace llvm {
void KaleidoscopeJIT::setTargetMachine(Module * m)
{
m->setDataLayout(TM->createDataLayout());
m->setTargetTriple(llvm::sys::getProcessTriple());
}

KaleidoscopeJIT::ModuleHandleT KaleidoscopeJIT::addModule(std::unique_ptr<Module> M) {
Expand Down
2 changes: 1 addition & 1 deletion BirdeeRuntime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ clean:
# If .o does not exist, don't stop
rm -f *.o
rm -f $(LIB_DIR)/libBirdeeRuntime.a
$(LIB_DIR)/dllmain.cpp
rm -f $(LIB_DIR)/dllmain.cpp
remake: clean $(LIB_DIR)/libBirdeeRuntime.a $(LIB_DIR)/dllmain.cpp

0 comments on commit df3ec8e

Please sign in to comment.