[llvm] 5bb2757 - [OCaml][test] Fix Bindings/OCaml/executionengine.ml test

Josh Berdine via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 19:49:58 PDT 2021


Author: Josh Berdine
Date: 2021-03-16T02:48:36Z
New Revision: 5bb2757e218dfa06662e6f019c13c3378e36c925

URL: https://github.com/llvm/llvm-project/commit/5bb2757e218dfa06662e6f019c13c3378e36c925
DIFF: https://github.com/llvm/llvm-project/commit/5bb2757e218dfa06662e6f019c13c3378e36c925.diff

LOG: [OCaml][test] Fix Bindings/OCaml/executionengine.ml test

It seems that at some point it became necessary to pass `-thread` to
the ocaml compiler for this test.

Differential Revision: https://reviews.llvm.org/D98593

Added: 
    

Modified: 
    llvm/test/Bindings/OCaml/executionengine.ml

Removed: 
    


################################################################################
diff  --git a/llvm/test/Bindings/OCaml/executionengine.ml b/llvm/test/Bindings/OCaml/executionengine.ml
index 72e8bdf20e07..8e735dec38f4 100644
--- a/llvm/test/Bindings/OCaml/executionengine.ml
+++ b/llvm/test/Bindings/OCaml/executionengine.ml
@@ -1,7 +1,7 @@
 (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/executionengine.ml
- * RUN: %ocamlc -g -w +A -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
+ * RUN: %ocamlc -g -w +A -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
  * RUN: %t/executable
- * RUN: %ocamlopt -g -w +A -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
+ * RUN: %ocamlopt -g -w +A -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
  * RUN: %t/executable
  * REQUIRES: native
  * XFAIL: vg_leak


        


More information about the llvm-commits mailing list