[OCaml] [autoconf] Migrate to ocamlfind.
[oota-llvm.git] / test / Bindings / Ocaml / ipo_opts.ml
index d79006e56101313c71641ce82bff13c342bffaf7..26037f2fd938d2fda5418319a909031d91f3e6ec 100644 (file)
@@ -1,7 +1,5 @@
-(* RUN: rm -rf %t.builddir
- * RUN: mkdir -p %t.builddir
- * RUN: cp %s %t.builddir
- * RUN: %ocamlcomp -warn-error A llvm.%cma llvm_ipo.%cma llvm_target.%cma %t.builddir/ipo_opts.ml -o %t
+(* RUN: cp %s %T/ipo_opts.ml
+ * RUN: %ocamlcomp -warn-error A -package llvm.ipo -linkpkg %T/ipo_opts.ml -o %t
  * RUN: %t %t.bc
  * XFAIL: vg_leak
  *)