forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocaml bindings: add findlib META support
This makes it easier to link against LLVM libs, especially if you are using _oasis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141992 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
3dd1674
commit 4c4b71c
Showing
4 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Low Level Virtual Machine OCaml bindings" | ||
archive(byte) = "llvm.cma" | ||
archive(native) = "llvm.cmxa" | ||
directory = "." | ||
linkopts = "-ccopt -lstdc++" | ||
|
||
package "analysis" ( | ||
requires = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Intermediate representation analysis for LLVM" | ||
archive(byte) = "llvm_analysis.cma" | ||
archive(native) = "llvm_analysis.cmxa" | ||
) | ||
|
||
package "bitreader" ( | ||
requires = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Bitcode reader for LLVM" | ||
archive(byte) = "llvm_bitreader.cma" | ||
archive(native) = "llvm_bitreader.cmxa" | ||
) | ||
|
||
package "bitwriter" ( | ||
requires = "llvm,unix" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Bitcode writer for LLVM" | ||
archive(byte) = "llvm_bitwriter.cma" | ||
archive(native) = "llvm_bitwriter.cmxa" | ||
) | ||
|
||
package "executionengine" ( | ||
requires = "llvm,llvm.target" | ||
version = "@PACKAGE_VERSION@" | ||
description = "JIT and Interpreter for LLVM" | ||
archive(byte) = "llvm_executionengine.cma" | ||
archive(native) = "llvm_executionengine.cmxa" | ||
) | ||
|
||
package "ipo" ( | ||
requires = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "IPO Transforms for LLVM" | ||
archive(byte) = "llvm_ipo.cma" | ||
archive(native) = "llvm_ipo.cmxa" | ||
) | ||
|
||
package "scalar_opts" ( | ||
requires = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Scalar Transforms for LLVM" | ||
archive(byte) = "llvm_scalar_opts.cma" | ||
archive(native) = "llvm_scalar_opts.cmxa" | ||
) | ||
|
||
package "target" ( | ||
requires = "llvm" | ||
version = "@PACKAGE_VERSION@" | ||
description = "Target Information for LLVM" | ||
archive(byte) = "llvm_target.cma" | ||
archive(native) = "llvm_target.cmxa" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters