this repo has no description
1opam-version: "2.0"
2synopsis: "Compiler and toolchain infrastructure library for WebAssembly"
3description: """
4 Binaryen is a compiler and toolchain infrastructure library for WebAssembly.
5 It aims to make compiling to WebAssembly easy, fast, and effective.
6"""
7maintainer: "Jérôme Vouillon <jerome@tarides.com>"
8license: "Apache-2.0"
9authors: ["Alon Zakai" "Thomas Lively"]
10homepage: "https://github.com/WebAssembly/binaryen/"
11bug-reports: "https://github.com/ocaml-wasm/wasm_of_ocaml/issues"
12dev-repo: "git+https://github.com/WebAssembly/binaryen.git"
13depends: ["conf-cmake" "conf-ninja" {os-family != "windows"} "conf-c++" ]
14build: [
15 ["cmake" "-G" "Ninja" "." "-DBUILD_STATIC_LIB=ON" "-DBUILD_TESTS=off" "-DINSTALL_LIBS=off" "-DENABLE_WERROR=off"] {os-family != "windows" & arch != "x86_32" }
16 ["ninja"] {os-family != "windows" & arch != "x86_32"}
17 ["cmake" "." "-DBUILD_STATIC_LIB=ON" "-DBUILD_TESTS=off" "-DINSTALL_LIBS=off" "-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc"] {os-family = "windows"}
18 ["cmake" "." "-DBUILD_STATIC_LIB=ON" "-DBUILD_TESTS=off" "-DINSTALL_LIBS=off"] {os-family != "windows" & arch = "x86_32"}
19 [make "-j" jobs] {os-family = "windows" | arch = "x86_32"}
20]
21install: [
22 ["cp" "bin/wasm-opt" "bin/wasm-metadce" "bin/wasm-merge" "%{bin}%"] { os-family != "windows" }
23 ["cp" "bin/wasm-opt.exe" "bin/wasm-metadce.exe" "bin/wasm-merge.exe" "%{bin}%"] { os-family = "windows" }
24]
25url {
26 src:
27 "https://github.com/WebAssembly/binaryen/archive/refs/tags/version_119.tar.gz"
28 checksum: [
29 "md5=4dfd979d4f46aaa9ea983bd77c33c414"
30 "sha512=c49053cbdfdabd33dda1e04d2b50761b92b24245d6b8d9c9fec242f35624d57e6d346f54b764fdccfa07fb1b5617df3b6c535fc2cde56f619899394b2a4e3f1c"
31 ]
32}