Browse Source

Fix "illegal instruction" errors on some CPUs (#177)

This is done by pinning gmp to a fork of `esy-packages/esy-gmp` that uses the `--enable-fat` argument, suggested by @ulrikstrid.

Here's the description of the open PR for `esy-packages/esy-gmp` https://github.com/esy-packages/esy-gmp/pull/3:

> GMP uses [Intel ADX](https://en.wikipedia.org/wiki/Intel_ADX) to do math stuff when capable for performance reasons. The pick whether to use ADX or not is being chosen on compile time, unless you specify `--enable-fat` which creates a "fat" binary that decides on runtime whether to use these custom instructions:
> 
> > Using --enable-fat selects a “fat binary” build on x86, where optimized low level subroutines are chosen at runtime according to the CPU detected. This means more code, but gives good performance on all x86 chips. (This option might become available for more architectures in the future.)
> 
> Without this flag, users can get "illegal hardware instruction" errors when running their binaries on a machine without Intel ADX.
> 
> So, in other words, this PR enables building gmp into a binary on CI which _has Intel ADX_, and then using it on a machine that does not have it (like AMD or older Intels)
> 
> To me, it sounds like a sane default.
remotes/origin/add-simple-redirecting-site
Gal Schlezinger 5 years ago committed by GitHub
parent
commit
7dd568475d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .ci/esy-build-steps.yml
  2. 2123
      esy.lock/index.json
  3. 6
      esy.lock/opam/cohttp-lwt-unix.2.5.0/opam
  4. 4
      esy.lock/opam/cohttp-lwt.2.4.0/opam
  5. 8
      esy.lock/opam/cohttp.2.4.0/opam
  6. 2
      esy.lock/opam/conduit-lwt-unix.2.0.2/opam
  7. 4
      esy.lock/opam/conduit-lwt.2.0.2/opam
  8. 4
      esy.lock/opam/conduit.2.0.2/opam
  9. 8
      esy.lock/opam/conf-gmp.1/files/test.c
  10. 29
      esy.lock/opam/conf-gmp.1/opam
  11. 8
      esy.lock/opam/cstruct-lwt.5.1.1/opam
  12. 12
      esy.lock/opam/cstruct-sexp.5.1.1/opam
  13. 9
      esy.lock/opam/cstruct.5.1.1/opam
  14. 2
      esy.lock/opam/ipaddr-sexp.4.0.0/opam
  15. 4
      esy.lock/opam/ipaddr.4.0.0/opam
  16. 38
      esy.lock/opam/lambdasoup.0.6.4/opam
  17. 19
      esy.lock/opam/lwt.4.2.1/opam
  18. 8
      esy.lock/opam/lwt_ppx.2.0.0/opam
  19. 2
      esy.lock/opam/macaddr.4.0.0/opam
  20. 13
      esy.lock/opam/markup.0.8.2/opam
  21. 13
      esy.lock/opam/merlin.3.3.3/opam
  22. 4
      esy.lock/opam/nocrypto.0.5.4-2/opam
  23. 33
      esy.lock/opam/ocplib-endian.1.0/opam
  24. 16
      esy.lock/opam/ppx_cstruct.5.1.1/opam
  25. 22
      esy.lock/opam/seq.0.2.2/opam
  26. 5
      esy.lock/opam/tls.0.10.5/opam
  27. 8
      esy.lock/opam/uri-sexp.3.1.0/opam
  28. 8
      esy.lock/opam/uri.3.1.0/opam
  29. 0
      esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/.gitignore
  30. 2
      esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/package.json
  31. 0
      esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/test/package.json
  32. 0
      esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/test/test.c
  33. 15
      esy.lock/overrides/opam__s__conf_gmp_opam__c__1_opam_override/package.json
  34. 14
      esy.lock/overrides/opam__s__dune_opam__c__1.11.4_opam_override/package.json
  35. 2
      esy.lock/overrides/opam__s__ocb_stubblr_opam__c__0.1.1_1_opam_override/package.json
  36. 13
      esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/files/esy-fix.patch
  37. 41
      esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/files/ocplib-endian-0.8.patch
  38. 34
      esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/package.json
  39. 5
      package.json

2
.ci/esy-build-steps.yml

@ -6,7 +6,7 @@ steps: @@ -6,7 +6,7 @@ steps:
versionSpec: '8.9'
- script: npm install -g esy@latest
displayName: 'npm install -g esy@latest'
- script: esy install
- script: esy
displayName: 'esy install'
- script: esy verify-fnm-package
displayName: 'Verify Fnm__Package.re file'

2123
esy.lock/index.json

File diff suppressed because it is too large Load Diff

6
esy.lock/opam/cohttp-lwt-unix.2.4.0/opam → esy.lock/opam/cohttp-lwt-unix.2.5.0/opam

@ -45,9 +45,9 @@ build: [ @@ -45,9 +45,9 @@ build: [
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
url {
src:
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.4.0/cohttp-v2.4.0.tbz"
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.0/cohttp-v2.5.0.tbz"
checksum: [
"sha256=b2dc17836e7dd5803bb919aff5dde1b9a071becb874c8a4afc81b2a466c792f4"
"sha512=73a5ef380ea6aad421870b526e5e1305ad0a0d14cee7ca7fdbf5a94f878c66bc91a9f7c30327caaf235f3e55c678299ad55645ef2899e11b137efb6ecfc5d0be"
"sha256=f07905bbe3138425572406844585e83ecb19ba94a8932b8e12d705cc32eada5a"
"sha512=02af7b18cea62241bae3dd6112a4fc0152c978b87358cf03fa4338ff9dadfcf6b86facbcdd7dd71c5dba5b6e98232099b80b2803d4a282feafa998cd895f3ce8"
]
}

4
esy.lock/opam/cohttp-lwt.2.4.0/opam

@ -29,8 +29,8 @@ depends: [ @@ -29,8 +29,8 @@ depends: [
"dune" {>= "1.1.0"}
"cohttp" {=version}
"lwt" {>= "2.5.0"}
"sexplib0" {< "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"sexplib0" {< "v0.14"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
"logs"
]
build: [

8
esy.lock/opam/cohttp.2.4.0/opam

@ -37,10 +37,10 @@ depends: [ @@ -37,10 +37,10 @@ depends: [
"re" {>= "1.9.0"}
"uri" {>= "2.0.0"}
"uri-sexp"
"fieldslib" {< "v0.13"}
"sexplib0" {< "v0.13"}
"ppx_fields_conv" {>= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"fieldslib" {< "v0.14"}
"sexplib0" {< "v0.14"}
"ppx_fields_conv" {>= "v0.9.0" & < "v0.14"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
"stringext"
"base64" {>= "3.1.0"}
"stdlib-shims"

2
esy.lock/opam/conduit-lwt-unix.2.0.2/opam

@ -11,7 +11,7 @@ depends: [ @@ -11,7 +11,7 @@ depends: [
"ocaml" {>= "4.03.0"}
"dune"
"base-unix"
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
"conduit-lwt" {=version}
"lwt" {>= "3.0.0"}
"uri" {>= "1.9.4"}

4
esy.lock/opam/conduit-lwt.2.0.2/opam

@ -11,8 +11,8 @@ depends: [ @@ -11,8 +11,8 @@ depends: [
"ocaml" {>= "4.03.0"}
"dune"
"base-unix"
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"sexplib" {< "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
"sexplib" {< "v0.14"}
"conduit" {=version}
"lwt" {>= "3.0.0"}
]

4
esy.lock/opam/conduit.2.0.2/opam

@ -11,8 +11,8 @@ bug-reports: "https://github.com/mirage/ocaml-conduit/issues" @@ -11,8 +11,8 @@ bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
"ocaml" {>= "4.03.0"}
"dune"
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"sexplib" {< "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
"sexplib" {< "v0.14"}
"astring"
"uri"
"logs" {>= "0.5.0"}

8
esy.lock/opam/conf-gmp.1/files/test.c

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
#include <gmp.h>
#ifndef __GMP_H__
#error "No GMP header"
#endif
void test(void) {
__gmp_init();
}

29
esy.lock/opam/conf-gmp.1/opam

@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
opam-version: "2.0"
maintainer: "nbraud"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depexts: [
["libgmp-dev"] {os-family = "debian"}
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-distribution = "fedora"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}
["gmp-dev"] {os-distribution = "alpine"}
["gmp-devel"] {os-family = "suse"}
]
synopsis: "Virtual package relying on a GMP lib system installation"
description:
"This package can only install if the GMP lib is installed on the system."
authors: "nbraud"
extra-files: ["test.c" "md5=ec8cc21ab709bdd57103de36e7b0b53f"]
flags: conf

8
esy.lock/opam/cstruct-lwt.5.0.0/opam → esy.lock/opam/cstruct-lwt.5.1.1/opam

@ -16,9 +16,9 @@ build: [ @@ -16,9 +16,9 @@ build: [
depends: [
"ocaml" {>= "4.03.0"}
"base-unix"
"dune"
"lwt"
"cstruct" {=version}
"dune" {>= "1.0"}
]
synopsis: "Access C-like structures directly from OCaml"
description: """
@ -27,9 +27,9 @@ structures directly from OCaml. It supports both reading and writing to these @@ -27,9 +27,9 @@ structures directly from OCaml. It supports both reading and writing to these
structures, and they are accessed via the `Bigarray` module."""
url {
src:
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.0.0/cstruct-v5.0.0.tbz"
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.1.1/cstruct-v5.1.1.tbz"
checksum: [
"sha256=eb8a4e4438ca4ab59e9d98ca70177edd8b590136fe7a200fe8e5bf69051e80fc"
"sha512=414c2c780200252b5ebf16dd4fd1db28ffa483dba5be1c0092e08327d1d870f688c6f671892dcd8bbcf579f56e3d27b345ec0a96209fb25c0a984825b2e144f5"
"sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3"
"sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab"
]
}

12
esy.lock/opam/cstruct-sexp.5.0.0/opam → esy.lock/opam/cstruct-sexp.5.1.1/opam

@ -17,9 +17,9 @@ build: [ @@ -17,9 +17,9 @@ build: [
]
depends: [
"ocaml" {>= "4.03.0"}
"dune" {>= "1.0"}
"sexplib" {< "v0.13"}
"cstruct" {>= "3.6.0"}
"dune"
"sexplib"
"cstruct" {=version}
"alcotest" {with-test}
]
synopsis: "S-expression serialisers for C-like structures"
@ -31,9 +31,9 @@ structures, and they are accessed via the `Bigarray` module. @@ -31,9 +31,9 @@ structures, and they are accessed via the `Bigarray` module.
This library provides Sexplib serialisers for the Cstruct.t values."""
url {
src:
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.0.0/cstruct-v5.0.0.tbz"
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.1.1/cstruct-v5.1.1.tbz"
checksum: [
"sha256=eb8a4e4438ca4ab59e9d98ca70177edd8b590136fe7a200fe8e5bf69051e80fc"
"sha512=414c2c780200252b5ebf16dd4fd1db28ffa483dba5be1c0092e08327d1d870f688c6f671892dcd8bbcf579f56e3d27b345ec0a96209fb25c0a984825b2e144f5"
"sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3"
"sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab"
]
}

9
esy.lock/opam/cstruct.5.0.0/opam → esy.lock/opam/cstruct.5.1.1/opam

@ -17,10 +17,11 @@ build: [ @@ -17,10 +17,11 @@ build: [
]
depends: [
"ocaml" {>= "4.03.0"}
"dune" {>= "1.0"}
"dune"
"bigarray-compat"
"alcotest" {with-test}
]
conflicts: [ "js_of_ocaml" {<"3.5.0"} ]
synopsis: "Access C-like structures directly from OCaml"
description: """
Cstruct is a library and syntax extension to make it easier to access C-like
@ -28,9 +29,9 @@ structures directly from OCaml. It supports both reading and writing to these @@ -28,9 +29,9 @@ structures directly from OCaml. It supports both reading and writing to these
structures, and they are accessed via the `Bigarray` module."""
url {
src:
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.0.0/cstruct-v5.0.0.tbz"
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.1.1/cstruct-v5.1.1.tbz"
checksum: [
"sha256=eb8a4e4438ca4ab59e9d98ca70177edd8b590136fe7a200fe8e5bf69051e80fc"
"sha512=414c2c780200252b5ebf16dd4fd1db28ffa483dba5be1c0092e08327d1d870f688c6f671892dcd8bbcf579f56e3d27b345ec0a96209fb25c0a984825b2e144f5"
"sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3"
"sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab"
]
}

2
esy.lock/opam/ipaddr-sexp.4.0.0/opam

@ -17,7 +17,7 @@ depends: [ @@ -17,7 +17,7 @@ depends: [
"ipaddr" {=version}
"ipaddr-cstruct" {with-test & =version}
"ounit" {with-test}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.14"}
]
build: [
["dune" "subst"] {pinned}

4
esy.lock/opam/ipaddr.4.0.0/opam

@ -30,10 +30,10 @@ depends: [ @@ -30,10 +30,10 @@ depends: [
"ocaml" {>= "4.04.0"}
"dune" {>="1.9.0"}
"macaddr" {=version}
"sexplib0" {< "v0.13"}
"sexplib0" {< "v0.14"}
"domain-name" {>= "0.3.0"}
"ounit" {with-test}
"ppx_sexp_conv" {with-test & >= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {with-test & >= "v0.9.0" & < "v0.14"}
]
build: [
["dune" "subst"] {pinned}

38
esy.lock/opam/lambdasoup.0.6.3/opam → esy.lock/opam/lambdasoup.0.6.4/opam

@ -1,23 +1,31 @@ @@ -1,23 +1,31 @@
opam-version: "2.0"
version: "0.6.3"
homepage: "https://github.com/aantron/lambda-soup"
doc: "http://aantron.github.io/lambda-soup"
bug-reports: "https://github.com/aantron/lambda-soup/issues"
license: "BSD-3-Clause"
synopsis: "Easy functional HTML scraping and manipulation with CSS selectors"
version: "0.6.4"
license: "MIT"
homepage: "https://github.com/aantron/lambdasoup"
doc: "https://aantron.github.io/lambdasoup"
bug-reports: "https://github.com/aantron/lambdasoup/issues"
authors: "Anton Bachin <antonbachin@yahoo.com>"
maintainer: "Anton Bachin <antonbachin@yahoo.com>"
dev-repo: "git+https://github.com/aantron/lambda-soup.git"
dev-repo: "git+https://github.com/aantron/lambdasoup.git"
depends: [
"ocaml"
"jbuilder" {>= "1.0+beta10"}
# As a consequence of depending on Dune, Lambda Soup requires OCaml 4.02.3.
"dune"
"markup" {>= "0.7.1"}
"ounit" {with-test}
"ocaml" {>= "4.02.0"}
"bisect_ppx" {dev & >= "2.0.0"}
"ounit" {dev}
]
build: [
["jbuilder" "build" "-p" name "-j" jobs]
["dune" "build" "-p" name "-j" jobs]
]
synopsis: "Easy functional HTML scraping and manipulation with CSS selectors"
description: """
Lambda Soup is an HTML scraping library inspired by Python's Beautiful Soup. It
provides lazy traversals from HTML nodes to their parents, children, siblings,
@ -28,8 +36,10 @@ The DOM tree is mutable. You can use Lambda Soup for automatic HTML rewriting in @@ -28,8 +36,10 @@ The DOM tree is mutable. You can use Lambda Soup for automatic HTML rewriting in
scripts. Lambda Soup rewrites its own ocamldoc page this way.
A major goal of Lambda Soup is to be easy to use, including in interactive
sessions, and to have a minimal learning curve. It is a very simple library."""
sessions, and to have a minimal learning curve. It is a very simple library.
"""
url {
src: "https://github.com/aantron/lambda-soup/archive/0.6.3.tar.gz"
checksum: "md5=89f0596aa05a6e7a33bf9d74797905f1"
src: "https://github.com/aantron/lambda-soup/archive/0.6.4.tar.gz"
checksum: "md5=b697aec8575bcc543558d89317e8e047"
}

19
esy.lock/opam/lwt.4.4.0/opam → esy.lock/opam/lwt.4.2.1/opam

@ -2,7 +2,6 @@ opam-version: "2.0" @@ -2,7 +2,6 @@ opam-version: "2.0"
synopsis: "Promises and event-driven I/O"
version: "4.4.0"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/manual/"
@ -14,23 +13,22 @@ authors: [ @@ -14,23 +13,22 @@ authors: [
]
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
"Mauricio Fernandez <mfp@acm.org>"
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
]
dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"cppo" {build & >= "1.1.0"}
"dune" {>= "1.7.0"}
"dune-configurator"
"mmap" {>= "1.1.0"} # mmap is needed as long as Lwt supports OCaml < 4.06.0.
"dune"
"mmap" # mmap is needed as long as Lwt supports OCaml < 4.06.0.
"ocaml" {>= "4.02.0"}
"ocplib-endian"
"result" # result is needed as long as Lwt supports OCaml 4.02.
"seq" # seq is needed as long as Lwt supports OCaml < 4.07.0.
"bisect_ppx" {dev & >= "1.3.0"}
"ocamlfind" {dev & >= "1.7.3-1"}
]
depopts: [
"base-threads"
"base-unix"
@ -41,11 +39,6 @@ conflicts: [ @@ -41,11 +39,6 @@ conflicts: [
"ocaml-variants" {= "4.02.1+BER"}
]
post-messages: [
"Lwt 5.0.0 will make some breaking changes in November 2019. See
https://github.com/ocsigen/lwt/issues/584"
]
build: [
["dune" "build" "-p" name "-j" jobs]
]
@ -60,6 +53,6 @@ a single thread by default. This reduces the need for locks or other @@ -60,6 +53,6 @@ a single thread by default. This reduces the need for locks or other
synchronization primitives. Code can be run in parallel on an opt-in basis."
url {
src: "https://github.com/ocsigen/lwt/archive/4.4.0.tar.gz"
checksum: "md5=8bfc70c2944020fa08dd04877747f5f9"
src: "https://github.com/ocsigen/lwt/archive/4.2.1.tar.gz"
checksum: "md5=9d648386ca0a9978eb9487de36b781cc"
}

8
esy.lock/opam/lwt_ppx.1.2.4/opam → esy.lock/opam/lwt_ppx.2.0.0/opam

@ -2,7 +2,7 @@ opam-version: "2.0" @@ -2,7 +2,7 @@ opam-version: "2.0"
synopsis: "PPX syntax for Lwt, providing something similar to async/await from JavaScript"
version: "1.2.4"
version: "2.0.0"
license: "MIT"
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/api/Ppx_lwt"
@ -17,7 +17,7 @@ maintainer: [ @@ -17,7 +17,7 @@ maintainer: [
dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"dune"
"dune" {>= "1.1"}
"lwt"
"ocaml" {>= "4.02.0"}
"ocaml-migrate-parsetree" {>= "1.4.0"}
@ -29,6 +29,6 @@ build: [ @@ -29,6 +29,6 @@ build: [
]
url {
src: "https://github.com/ocsigen/lwt/archive/4.4.0.tar.gz"
checksum: "md5=8bfc70c2944020fa08dd04877747f5f9"
src: "https://github.com/ocsigen/lwt/archive/5.0.0.tar.gz"
checksum: "md5=a4ffc0e3aa692d2e7d800f4cf2dd3db0"
}

2
esy.lock/opam/macaddr.4.0.0/opam

@ -11,7 +11,7 @@ depends: [ @@ -11,7 +11,7 @@ depends: [
"ocaml" {>= "4.04.0"}
"dune" {>="1.9.0"}
"ounit" {with-test}
"ppx_sexp_conv" {with-test & >= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {with-test & >= "v0.9.0" & < "v0.14"}
]
conflicts: [ "ipaddr" {< "3.0.0"} ]
build: [

13
esy.lock/opam/markup.0.8.1/opam → esy.lock/opam/markup.0.8.2/opam

@ -2,8 +2,8 @@ opam-version: "2.0" @@ -2,8 +2,8 @@ opam-version: "2.0"
synopsis: "Error-recovering functional HTML5 and XML parsers and writers"
version: "0.8.1"
license: "BSD-3-Clause"
version: "0.8.2"
license: "MIT"
homepage: "https://github.com/aantron/markup.ml"
doc: "http://aantron.github.io/markup.ml"
bug-reports: "https://github.com/aantron/markup.ml/issues"
@ -14,15 +14,14 @@ dev-repo: "git+https://github.com/aantron/markup.ml.git" @@ -14,15 +14,14 @@ dev-repo: "git+https://github.com/aantron/markup.ml.git"
depends: [
"dune"
"ocaml" {>= "4.02.0"}
"uchar"
"uutf" {>= "1.0.0"}
"bisect_ppx" {dev & >= "1.3.0"}
"bisect_ppx" {dev & >= "2.0.0"}
"ounit" {dev}
]
# Markup.ml implicitly requires OCaml 4.02.3, as this is a contraint of Dune.
# Without that, Markup.ml implicitly requires OCaml 4.01.0, as this is a
# constraint of Uutf. Without *that*, Markup.ml works on OCaml 3.11 or earlier.
build: [
["dune" "build" "-p" name "-j" jobs]
@ -49,6 +48,6 @@ a single pass. They automatically detect the character encoding of the input @@ -49,6 +48,6 @@ a single pass. They automatically detect the character encoding of the input
stream, and convert everything to UTF-8."""
url {
src: "https://github.com/aantron/markup.ml/archive/0.8.1.tar.gz"
checksum: "md5=d9cd1bdd9ee5d65af7d36ad5900cc0e2"
src: "https://github.com/aantron/markup.ml/archive/0.8.2.tar.gz"
checksum: "md5=0fe6b3a04d941ca40a5efdd082f1183d"
}

13
esy.lock/opam/merlin.3.3.2/opam → esy.lock/opam/merlin.3.3.3/opam

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
opam-version: "2.0"
name: "merlin"
maintainer: "defree@gmail.com"
authors: "The Merlin team"
homepage: "https://github.com/ocaml/merlin"
@ -8,13 +7,15 @@ dev-repo: "git+https://github.com/ocaml/merlin.git" @@ -8,13 +7,15 @@ dev-repo: "git+https://github.com/ocaml/merlin.git"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.02.1" & < "4.09"}
"ocaml" {>= "4.02.1" & < "4.10"}
"dune" {>= "1.8.0"}
"ocamlfind" {>= "1.5.2"}
"yojson"
"yojson" {>= "1.6.0"}
"mdx" {with-test & >= "1.3.0"}
"conf-jq" {with-test}
]
synopsis:
"Editor helper, provides completion, typing and source browsing in Vim and Emacs"
@ -62,9 +63,9 @@ See https://github.com/OCamlPro/opam-user-setup @@ -62,9 +63,9 @@ See https://github.com/OCamlPro/opam-user-setup
]
url {
src:
"https://github.com/ocaml/merlin/releases/download/v3.3.2/merlin-v3.3.2.tbz"
"https://github.com/ocaml/merlin/releases/download/v3.3.3/merlin-v3.3.3.tbz"
checksum: [
"sha256=1d1c71e663b1e58acf19069cebd1e8d18f7dbe513c6065347d162cdd2c2de801"
"sha512=3ae021669808a40b4449f1cbdaca40b605ea5779a6204addd8b0ee4af9f14f528d55ca43a8dd3c7d547fb8e4cb256c09a9151d5559ef24dad83b5ab05aa146a2"
"sha256=72909ef47eea1f6fca13b4109a34dccf8fe3923a3c026f1ed1db9eb5ee9aae15"
"sha512=2a5f39d966be56c1322982effc05bc98fd5f66cd12f1f76953f8daa9eca74a58c92a186854f4e601e2f0bb038720691446e7591b4613982accded3e579fedb23"
]
}

4
esy.lock/opam/nocrypto.0.5.4-2/opam

@ -22,13 +22,13 @@ depends: [ @@ -22,13 +22,13 @@ depends: [
"cpuid" {build}
"ocb-stubblr" {build}
"ppx_deriving"
"ppx_sexp_conv" {>= "113.33.01" & != "v0.11.0" & < "v0.13"}
"ppx_sexp_conv" {>= "113.33.01" & != "v0.11.0" & < "v0.14"}
"ounit" {with-test}
"cstruct" {>= "3.0.0"}
"cstruct-lwt"
"zarith"
"lwt"
"sexplib" {< "v0.13"}
"sexplib" {< "v0.14"}
"mirage-no-xen" | ("mirage-xen" & "zarith-xen")
"mirage-no-solo5" | ("mirage-solo5" & "zarith-freestanding")
]

33
esy.lock/opam/ocplib-endian.1.0/opam

@ -1,33 +0,0 @@ @@ -1,33 +0,0 @@
opam-version: "2.0"
authors: "Pierre Chambart"
maintainer: "pierre.chambart@ocamlpro.com"
homepage: "https://github.com/OCamlPro/ocplib-endian"
build: [
["ocaml" "setup.ml" "-configure" "--disable-debug" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
]
install: [
["ocaml" "setup.ml" "-install"]
]
remove: ["ocamlfind" "remove" "ocplib-endian"]
depends: [
"ocaml"
"base-bytes"
"ocamlfind"
"cppo" {>= "1.1.0"}
"ocamlbuild" {build}
]
dev-repo: "git+https://github.com/OCamlPro/ocplib-endian.git"
bug-reports: "https://github.com/OCamlPro/ocplib-endian/issues"
synopsis:
"Optimised functions to read and write int16/32/64 from strings and bigarrays, based on new primitives added in version 4.01."
description: """
The library implements three modules:
* [EndianString](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianString.cppo.mli) works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBytes](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBytes.cppo.mli) works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
* [EndianBigstring](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBigstring.cppo.mli) works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;"""
flags: light-uninstall
url {
src: "https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz"
checksum: "md5=74b45ba33e189283170a748c2a3ed477"
}

16
esy.lock/opam/ppx_cstruct.5.0.0/opam → esy.lock/opam/ppx_cstruct.5.1.1/opam

@ -13,19 +13,21 @@ tags: [ "org:mirage" "org:ocamllabs" ] @@ -13,19 +13,21 @@ tags: [ "org:mirage" "org:ocamllabs" ]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml:version < "4.08.0"}
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.03.0"}
"dune" {>= "1.0"}
"dune"
"cstruct" {=version}
"ounit" {with-test}
"ppx_tools_versioned" {>= "5.0.1"}
"ocaml-migrate-parsetree"
"ppx_sexp_conv" {with-test & < "v0.13"}
"sexplib" {< "v0.13"}
"ppx_sexp_conv" {with-test}
"sexplib" {>="v0.9.0"}
"cstruct-sexp" {with-test}
"cppo" {with-test}
"cstruct-unix" {with-test & =version}
"stdlib-shims"
]
synopsis: "Access C-like structures directly from OCaml"
description: """
@ -34,9 +36,9 @@ structures directly from OCaml. It supports both reading and writing to these @@ -34,9 +36,9 @@ structures directly from OCaml. It supports both reading and writing to these
structures, and they are accessed via the `Bigarray` module."""
url {
src:
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.0.0/cstruct-v5.0.0.tbz"
"https://github.com/mirage/ocaml-cstruct/releases/download/v5.1.1/cstruct-v5.1.1.tbz"
checksum: [
"sha256=eb8a4e4438ca4ab59e9d98ca70177edd8b590136fe7a200fe8e5bf69051e80fc"
"sha512=414c2c780200252b5ebf16dd4fd1db28ffa483dba5be1c0092e08327d1d870f688c6f671892dcd8bbcf579f56e3d27b345ec0a96209fb25c0a984825b2e144f5"
"sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3"
"sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab"
]
}

22
esy.lock/opam/seq.0.2/opam → esy.lock/opam/seq.0.2.2/opam

@ -2,21 +2,23 @@ opam-version: "2.0" @@ -2,21 +2,23 @@ opam-version: "2.0"
synopsis:
"Compatibility package for OCaml's standard iterator type starting from 4.07"
maintainer: "simon.cruanes.2007@m4x.org"
authors: "Simon Cruanes"
license: "LGPL2.1"
tags: ["iterator" "seq" "pure" "list" "compatibility" "cascade"]
homepage: "https://github.com/c-cube/seq/"
bug-reports: "https://github.com/c-cube/seq/issues"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"dune" {>= "1.1.0"}
"ocaml" {< "4.07.0"}
"ocaml"
]
build: ["dune" "build" "-p" name "-j" jobs]
tags: [ "iterator" "seq" "pure" "list" "compatibility" "cascade" ]
homepage: "https://github.com/c-cube/seq/"
bug-reports: "https://github.com/c-cube/seq/issues"
dev-repo: "git+https://github.com/c-cube/seq.git"
authors: "Simon Cruanes"
url {
src: "https://github.com/c-cube/seq/archive/0.2.tar.gz"
src: "https://github.com/c-cube/seq/archive/0.2.2.tar.gz"
checksum: [
"md5=1d5a9d0aba27b22433f518cdc495d0fd"
"sha512=b2571225a18e624b79dad5e1aab91b22e2fda17702f2e23c438b75d2a71e24c55ee8672005f5cc4b17ae79e3b277b1918b71b5d0d674b8b12ea19b3fb2d747cb"
"md5=9033e02283aa3bde9f97f24e632902e3"
"sha512=cab0eb4cb6d9788b7cbd7acbefefc15689d706c97ff7f75dd97faf3c21e466af4d0ff110541a24729db587e7172b1a30a3c2967e17ec2e49cbd923360052c07c"
]
}
}

5
esy.lock/opam/tls.0.10.5/opam

@ -23,12 +23,12 @@ depends: [ @@ -23,12 +23,12 @@ depends: [
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"ppx_sexp_conv" {< "v0.13"}
"ppx_sexp_conv" {< "v0.14"}
"ppx_deriving"
"ppx_cstruct" {>= "3.0.0"}
"cstruct" {>= "4.0.0"}
"cstruct-sexp"
"sexplib" {< "v0.13"}
"sexplib" {< "v0.14"}
"nocrypto" {>= "0.5.4"}
"x509" {>= "0.7.0"}
"domain-name" {>= "0.3.0"}
@ -45,6 +45,7 @@ depopts: [ @@ -45,6 +45,7 @@ depopts: [
]
conflicts: [
"lwt" {<"2.4.8"}
"lwt" {with-test & >= "5.0.0"}
"mirage-kv" {<"3.0.0"}
"mirage-flow" {<"2.0.0"}
"mirage-clock" {<"3.0.0"}

8
esy.lock/opam/uri-sexp.3.0.0/opam → esy.lock/opam/uri-sexp.3.1.0/opam

@ -15,7 +15,7 @@ depends: [ @@ -15,7 +15,7 @@ depends: [
"uri" {= version}
"dune" {>= "1.2.0"}
"ppx_sexp_conv" {>= "v0.9.0"}
"sexplib0" {< "v0.14"}
"sexplib0"
"ounit" {with-test}
]
build: [
@ -25,9 +25,9 @@ build: [ @@ -25,9 +25,9 @@ build: [
]
url {
src:
"https://github.com/mirage/ocaml-uri/releases/download/v3.0.0/uri-v3.0.0.tbz"
"https://github.com/mirage/ocaml-uri/releases/download/v3.1.0/uri-v3.1.0.tbz"
checksum: [
"sha256=8fb334fba6ebbf879e2e82d80d6adee8bdaf6cec3bb3da248110d805477d19fa"
"sha512=553c18032a7c96cccdc8e37f497ce34e821b9dd089cfc8685783b7ade1d4dfa422722e4724abcba8b1171b51fa91a2bee297396fc7c349118069b6352e07881e"
"sha256=c452823fd870cf7cffe51aef3e9ca646a382dc6f87282f2b16bfe30a7515ac43"
"sha512=c015576bb077fd243022bcd8804e628d23a253dcd8bbdda8dc2a57e86cfeb9fd629087ec7d7e23dc71dd7cd137450ca2c5ecf8fb7d184ec9d1d4e41f6f83ee38"
]
}

8
esy.lock/opam/uri.3.0.0/opam → esy.lock/opam/uri.3.1.0/opam

@ -16,7 +16,7 @@ depends: [ @@ -16,7 +16,7 @@ depends: [
"ocaml" {>= "4.04.0"}
"dune" {>= "1.2.0"}
"ounit" {with-test & >= "1.0.2"}
"ppx_sexp_conv" {with-test & >= "v0.9.0" & < "v0.13"}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
"re" {>= "1.9.0"}
"stringext" {>= "1.4.0"}
]
@ -27,9 +27,9 @@ build: [ @@ -27,9 +27,9 @@ build: [
]
url {
src:
"https://github.com/mirage/ocaml-uri/releases/download/v3.0.0/uri-v3.0.0.tbz"
"https://github.com/mirage/ocaml-uri/releases/download/v3.1.0/uri-v3.1.0.tbz"
checksum: [
"sha256=8fb334fba6ebbf879e2e82d80d6adee8bdaf6cec3bb3da248110d805477d19fa"
"sha512=553c18032a7c96cccdc8e37f497ce34e821b9dd089cfc8685783b7ade1d4dfa422722e4724abcba8b1171b51fa91a2bee297396fc7c349118069b6352e07881e"
"sha256=c452823fd870cf7cffe51aef3e9ca646a382dc6f87282f2b16bfe30a7515ac43"
"sha512=c015576bb077fd243022bcd8804e628d23a253dcd8bbdda8dc2a57e86cfeb9fd629087ec7d7e23dc71dd7cd137450ca2c5ecf8fb7d184ec9d1d4e41f6f83ee38"
]
}

0
esy.lock/overrides/186b93889ee6682b3910ff6984313567/.gitignore → esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/.gitignore vendored

2
esy.lock/overrides/186b93889ee6682b3910ff6984313567/package.json → esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/package.json

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
"buildsInSource": true,
"build": [
"find ./ -exec touch -t 200905010101 {} +",
"./configure --prefix=#{self.install} #{os == 'windows' ? '--host x86_64-w64-mingw32' : ''} --with-pic",
"./configure --enable-fat --prefix=#{self.install} #{os == 'windows' ? '--host x86_64-w64-mingw32' : ''} --with-pic",
"make"
],
"install": [

0
esy.lock/overrides/186b93889ee6682b3910ff6984313567/test/package.json → esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/test/package.json

0
esy.lock/overrides/186b93889ee6682b3910ff6984313567/test/test.c → esy.lock/overrides/7e96a8d6f059163f08fee9f6b9790b0b/test/test.c

15
esy.lock/overrides/opam__s__conf_gmp_opam__c__1_opam_override/package.json

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
{
"build": [
[
"#{os == 'windows' ? 'x86_64-w64-mingw32-gcc' : 'cc'}",
"-c",
"${CFLAGS:--g}",
"$CPPFLAGS",
"$LDFLAGS",
"test.c"
]
],
"dependencies": {
"esy-gmp": "esy-packages/esy-gmp#a945c56e10e02bde2d2c76f5debd13bcc461abbc"
}
}

14
esy.lock/overrides/opam__s__dune_opam__c__1.11.4_opam_override/package.json

@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
{
"build": [
[
"ocaml",
"bootstrap.ml"
],
[
"./boot.exe",
"--release",
"-j",
"4"
]
]
}

2
esy.lock/overrides/opam__s__ocb_stubblr_opam__c__0.1.1_1_opam_override/package.json

@ -12,6 +12,6 @@ @@ -12,6 +12,6 @@
]
],
"dependencies": {
"@esy-ocaml/fauxpam": "0.1.0"
"@esy-ocaml/fauxpam": "0.2.0"
}
}

13
esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/files/esy-fix.patch

@ -1,13 +0,0 @@ @@ -1,13 +0,0 @@
--- ./setup.ml
+++ ./setup.ml
@@ -6331,9 +6331,7 @@
[
"-classic-display";
"-no-log";
- "-no-links";
- "-install-lib-dir";
- (Filename.concat (standard_library ()) "ocamlbuild")
+ "-no-links"
]
else
[];

41
esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/files/ocplib-endian-0.8.patch

@ -1,41 +0,0 @@ @@ -1,41 +0,0 @@
--- ./myocamlbuild.ml
+++ ./myocamlbuild.ml
@@ -573,6 +573,24 @@
Add a dependency after dropping support for 4.01 and earlier. *)
let dispatch_cppo = function
| After_rules -> begin
+ let is_directory s =
+ let slen = String.length s in
+ let s =
+ if Sys.os_type <> "Win32" || slen < 2 then
+ s
+ else
+ match s.[slen-1] with
+ | '\\' | '/' ->
+ if slen <> 3 || s.[1] <> ':' then
+ String.sub s 0 (slen -1)
+ else
+ (match s.[0] with
+ | 'A' .. 'Z' | 'a' .. 'z' -> s
+ | _ -> String.sub s 0 (slen -1))
+ | _ -> s
+ in
+ Pathname.is_directory s
+ in
let cppo_rules ext =
let dep = "%(name).cppo"-.-ext
and prod1 = "%(name: <*> and not <*.cppo>)"-.-ext
@@ -591,11 +609,11 @@
pflag ["cppo"] "cppo_D" (fun s -> S [A "-D"; A s]) ;
pflag ["cppo"] "cppo_U" (fun s -> S [A "-U"; A s]) ;
pflag ["cppo"] "cppo_I" (fun s ->
- if Pathname.is_directory s then S [A "-I"; P s]
+ if is_directory s then S [A "-I"; P s]
else S [A "-I"; P (Pathname.dirname s)]
) ;
pdep ["cppo"] "cppo_I" (fun s ->
- if Pathname.is_directory s then [] else [s]) ;
+ if is_directory s then [] else [s]) ;
flag ["cppo"; "cppo_q"] (A "-q") ;
flag ["cppo"; "cppo_s"] (A "-s") ;
flag ["cppo"; "cppo_n"] (A "-n") ;

34
esy.lock/overrides/opam__s__ocplib_endian_opam__c__1.0_opam_override/package.json

@ -1,34 +0,0 @@ @@ -1,34 +0,0 @@
{
"build": [
[
"bash",
"-c",
"#{os == 'windows' ? 'patch -p1 < ocplib-endian-0.8.patch' : 'true'}"
],
[
"bash",
"-c",
"#{os == 'windows' ? 'patch -p1 < esy-fix.patch' : 'true'}"
],
[
"ocaml",
"setup.ml",
"-configure",
"--disable-debug",
"--prefix",
"#{self.install}"
],
[
"ocaml",
"setup.ml",
"-build"
]
],
"install": [
[
"ocaml",
"setup.ml",
"-install"
]
]
}

5
package.json

@ -93,7 +93,7 @@ @@ -93,7 +93,7 @@
"@opam/cohttp-lwt-unix": "^2.0.0",
"@opam/dune": "^1.9.3",
"@opam/lambdasoup": "^0.6.3",
"@opam/lwt": "^4.2.1",
"@opam/lwt": "4.2.1",
"@opam/lwt_ppx": "^1.2.2",
"@opam/ppx_deriving": "^4.2.1",
"@opam/ppx_deriving_yojson": "3.5.1",
@ -114,6 +114,9 @@ @@ -114,6 +114,9 @@
"lint-staged": "*",
"lerna-changelog": "*"
},
"resolutions": {
"@opam/conf-gmp": "Schniz/esy-gmp#b48f9d1d0cf9df2d939371819635cbe72b0c281c"
},
"changelog": {
"repo": "Schniz/fnm",
"labels": {

Loading…
Cancel
Save