[PATCH] D157325: [OCaml] Replace ctypes.foreign with ctypes in META file
Alan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 13:41:23 PDT 2023
alan created this revision.
Herald added a project: All.
alan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
ctypes.foreign is only necessary for tests. This change is mainly
for the benefit of people packaging the OCaml bindings.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157325
Files:
llvm/bindings/ocaml/llvm/META.llvm.in
llvm/test/Bindings/OCaml/executionengine.ml
Index: llvm/test/Bindings/OCaml/executionengine.ml
===================================================================
--- llvm/test/Bindings/OCaml/executionengine.ml
+++ 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 -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
+ * RUN: %ocamlc -g -w +A -thread -package ctypes.foreign,llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
* RUN: %t/executable
- * RUN: %ocamlopt -g -w +A -thread -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
+ * RUN: %ocamlopt -g -w +A -thread -package ctypes.foreign,llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable
* RUN: %t/executable
* REQUIRES: native
* XFAIL: vg_leak
Index: llvm/bindings/ocaml/llvm/META.llvm.in
===================================================================
--- llvm/bindings/ocaml/llvm/META.llvm.in
+++ llvm/bindings/ocaml/llvm/META.llvm.in
@@ -30,7 +30,7 @@
)
package "executionengine" (
- requires = "llvm,llvm.target,ctypes.foreign"
+ requires = "llvm,llvm.target,ctypes"
version = "@PACKAGE_VERSION@"
description = "JIT and Interpreter for LLVM"
archive(byte) = "llvm_executionengine.cma"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157325.547934.patch
Type: text/x-patch
Size: 1338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/190b65ab/attachment.bin>
More information about the llvm-commits
mailing list