From 21bb17612dec27213805321fb656788ec423453f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 4 Aug 2013 18:02:04 -0700 Subject: gras: jit factory automatically adds GRAS_ROOT include path --- grextras | 2 +- lib/jit_factory.cpp | 6 ++++++ lib/module_loader.cpp | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/grextras b/grextras index 08a5747..3aa900e 160000 --- a/grextras +++ b/grextras @@ -1 +1 @@ -Subproject commit 08a5747bff911f3c8722224d3d2a4f2f8fa68b10 +Subproject commit 3aa900e4908d82d222806a3a7d17faf94505d86e diff --git a/lib/jit_factory.cpp b/lib/jit_factory.cpp index cdcfc03..882ee05 100644 --- a/lib/jit_factory.cpp +++ b/lib/jit_factory.cpp @@ -23,6 +23,9 @@ #include #include +//defined in module loader +std::string get_gras_runtime_include_path(void); + /*********************************************************************** * Helper function to call a clang compliation **********************************************************************/ @@ -60,6 +63,9 @@ static std::string call_clang(const std::string &source, const std::vector