From b62541b5c75ce3701d58ec270ec305a42e17123b Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Mon, 24 Jul 2023 09:59:03 +0200 Subject: [PATCH 1/2] Add wasm-2.0.1 package --- packages/wasm/wasm.2.0.1/opam | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/wasm/wasm.2.0.1/opam diff --git a/packages/wasm/wasm.2.0.1/opam b/packages/wasm/wasm.2.0.1/opam new file mode 100644 index 00000000000..118562fa596 --- /dev/null +++ b/packages/wasm/wasm.2.0.1/opam @@ -0,0 +1,22 @@ +opam-version: "2.0" +maintainer: "Andreas Rossberg " +authors: "Andreas Rossberg " +homepage: "https://github.com/WebAssembly/spec" +bug-reports: "https://github.com/WebAssembly/spec/issues" +license: "Apache-2.0" +dev-repo: "git+https://github.com/WebAssembly/spec.git" +build: [ + [make "-C" "interpreter" "opt" "unopt"] +] +install: [make "-C" "interpreter" "install"] +depends: [ + "ocaml" {>= "4.12.0"} + "ocamlfind" {build} + "ocamlbuild" {build} +] +synopsis: + "Library to read and write WebAssembly (Wasm) files and manipulate their AST" +url { + src: "https://github.com/WebAssembly/spec/archive/opam-2.0.1.zip" + checksum: "md5=031b4dd93143e9791ac7901b5aacbc08" +} From 6f156fa7a559dd7e60cc8b1b37cd399291b35d5b Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Mon, 24 Jul 2023 11:22:25 +0200 Subject: [PATCH 2/2] Update packages/wasm/wasm.2.0.1/opam Co-authored-by: Anil Madhavapeddy --- packages/wasm/wasm.2.0.1/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/wasm/wasm.2.0.1/opam b/packages/wasm/wasm.2.0.1/opam index 118562fa596..407edbf9d78 100644 --- a/packages/wasm/wasm.2.0.1/opam +++ b/packages/wasm/wasm.2.0.1/opam @@ -14,6 +14,7 @@ depends: [ "ocamlfind" {build} "ocamlbuild" {build} ] +conflicts: ["ocaml-option-bytecode-only"] # uses ocamlopt unconconditionally synopsis: "Library to read and write WebAssembly (Wasm) files and manipulate their AST" url {