On Thu, Oct 10, 2013 at 09:29:56AM -0700, Jonathan Kotker wrote:
> Since I am using Python to execute the Cilly driver, I managed to find a
> way to dynamically set the environment variable OCAMLPATH (albeit
> temporarily) from within my Python script, and it works beautifully once
> the OCaml code has been compiled.

Glad it works for you.  I realized later that you do not even need to
use findlib at all: you can also use --load path/to/plugin.cmxs
explicitly.  The only downside is that you need to take care of loading
dependencies in the correct order in that case (whereas findlib will
figure it out, using META files).

Best,
-- 
Gabriel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to