Compilation 在启用JIT编译Octave-4.0.0时,如何解决这些警告?

Compilation 在启用JIT编译Octave-4.0.0时,如何解决这些警告?,compilation,llvm,octave,jit,Compilation,Llvm,Octave,Jit,我试图用JIT特性编译octave-4.0.0源代码。首先,我安装了LLVM并通过配置启用了JIT功能: $ ./configure --prefix=/usr --enable-shared --enable-jit 但是,我得到了这些警告: configure: WARNING: llvm/IR/Verifier.h: present but cannot be compiled configure: WARNING: llvm/IR/Verifier.h: check for missi

我试图用JIT特性编译octave-4.0.0源代码。首先,我安装了LLVM并通过配置启用了JIT功能:

$ ./configure --prefix=/usr --enable-shared --enable-jit
但是,我得到了这些警告:

configure: WARNING: llvm/IR/Verifier.h: present but cannot be compiled
configure: WARNING: llvm/IR/Verifier.h: check for missing prerequisite headers?
configure: WARNING: llvm/IR/Verifier.h: see the Autoconf documentation
configure: WARNING: llvm/IR/Verifier.h: section "Present But Cannot Be Compiled"
configure: WARNING: llvm/IR/Verifier.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to http://octave.org/bugs.html ##
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING: Missing LLVM file TargetData.h.  JIT compiler is disabled.
为了解决缺少LLVM文件的警告,我查看了LLVM的头文件,发现TargetData.h不存在于
/usr/include/LLVM/target
中,因此我手动复制到路径。然而,当我重新配置时,同样的警告再次出现

另一个警告(存在但无法编译)对我来说也是一个问题

有人知道如何处理这两个警告吗(我需要启用八度jit编译器)


另外,我尝试过使用LLVM 3.7.0和LLVM 3.5.0,这两个版本都没有将TargetData.h安装到
您的前缀/include/LLVM/Target

中,您使用哪个发行版?而且不要期望在八度音程中从JIT获得太多优化。目前只有简单的循环从JIT中受益。您最好手动将代码矢量化。