Mercurial > octave-nkf
comparison src/pt-jit.h @ 14932:1f914446157d
Locate and link with LLVM properly
* build-aux/common.mk: Add LLVM flags.
* configure.ac: Add llvm-config option, use llvm-config more correctly,
fix compile check, and add jit-debug option.
* src/pt-eval.cc: Check HAVE_LLVM.
* src/pt-jit.h: Check HAVE_LLVM.
* src/pt-jit.cc: Check HAVE_LLVM and OCTAVE_JIT_DEBUG.
author | Max Brister <max@2bass.com> |
---|---|
date | Sun, 03 Jun 2012 15:38:40 -0500 |
parents | 39d52aa37a08 |
children | 5801e031a3b5 |
comparison
equal
deleted
inserted
replaced
14931:3b067a247c1d | 14932:1f914446157d |
---|---|
20 | 20 |
21 */ | 21 */ |
22 | 22 |
23 #if !defined (octave_tree_jit_h) | 23 #if !defined (octave_tree_jit_h) |
24 #define octave_tree_jit_h 1 | 24 #define octave_tree_jit_h 1 |
25 | |
26 #ifdef HAVE_LLVM | |
25 | 27 |
26 #include <list> | 28 #include <list> |
27 #include <map> | 29 #include <map> |
28 #include <set> | 30 #include <set> |
29 #include <stdexcept> | 31 #include <stdexcept> |
1707 jited_function function; | 1709 jited_function function; |
1708 | 1710 |
1709 std::vector<std::pair<std::string, bool> > arguments; | 1711 std::vector<std::pair<std::string, bool> > arguments; |
1710 type_bound_vector bounds; | 1712 type_bound_vector bounds; |
1711 }; | 1713 }; |
1712 | |
1713 #endif | 1714 #endif |
1715 #endif |