diff options
author | Josh Blum | 2013-08-06 17:47:40 -0700 |
---|---|---|
committer | Josh Blum | 2013-08-06 17:47:40 -0700 |
commit | 57c4b3db55dacbdc83fcfc5c3965d3f612ab96e3 (patch) | |
tree | 7be06f26e25bf6d8fe5434d35b572679565b4ac5 | |
parent | 7be806728c5ac342b49928662138611769a18ca4 (diff) | |
download | sandhi-57c4b3db55dacbdc83fcfc5c3965d3f612ab96e3.tar.gz sandhi-57c4b3db55dacbdc83fcfc5c3965d3f612ab96e3.tar.bz2 sandhi-57c4b3db55dacbdc83fcfc5c3965d3f612ab96e3.zip |
gras: missing ifdef for jit factory w/o llvm
-rw-r--r-- | lib/jit_factory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/jit_factory.cpp b/lib/jit_factory.cpp index 596fae8..8d7ef89 100644 --- a/lib/jit_factory.cpp +++ b/lib/jit_factory.cpp @@ -85,6 +85,7 @@ static ExecutionEngineMonitor &get_eemon(void) /*********************************************************************** * Helper function to call a clang compliation -- execs clang **********************************************************************/ +#ifdef HAVE_LLVM static llvm::Module *call_clang_exe(const std::string &source_file, const std::vector<std::string> &flags) { std::cout << "GRAS compiler: compile source into bitcode..." << std::endl; @@ -141,6 +142,7 @@ static llvm::Module *call_clang_exe(const std::string &source_file, const std::v if (not error.empty()) throw std::runtime_error("GRAS compiler: ParseBitcodeFile " + error); return module; } +#endif //HAVE_LLVM /*********************************************************************** * Helper function to call a clang compliation -- uses clang API |