When you set "use_llvm" to "off", you disabled those parts of FreeMat
that require LLVM to work -- the JIT compiler, and the "import"
function. If you set "use_llvm" to "on" and rebuild, those pieces
should work again.
Samit
> --
> You received this message because you are subscribed to the Google Groups "freemat" group.
> To post to this group, send email to fre...@googlegroups.com.
> To unsubscribe from this group, send email to freemat+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/freemat?hl=en.
>
>
Yes, I'm aware of the problem. I recently checked in the new
C++-based JIT (it compiles a far larger subset of FreeMat code than
the older JIT, and should be more stable), and am working through some
of the issues now. A couple of pointers:
1. Install the "clang" package. I don't know how you do this on
ubuntu, but clang is part of llvm. You should then be able to build
with the JIT.
2. Install the "libffcall" package. I have actually reverted
FreeMat's import mechanism to the one from FreeMat 3.6 (I had too many
problems with the new one).
With these two steps, you should be OK. I am also committing fixes as
I work through the issues, so update regularly.
Samit
I think everything you need is committed now. Please try again.
Samit
If you don't need the JIT, you can disable it (set USE_LLVM to no).
If you need the JIT, you may need to use a more recent version of
CLANG. I have tested with 2.8 and it works fine.
HTH
Samit
I installed clang via Fedora's "yum" utilitiy, so I didn't have to
build it from source. Where does this error occur? while building
FreeMat? or while building Clang? Do you have the right version of
cmake? Perhaps you should open a ticket so the rest of the FreeMat
group doesn't have to listen :)
Samit
I added llvm 2.9 to the source tree two days ago. Trunk doesn't compile with it yet.