Giter VIP home page Giter VIP logo

Comments (3)

bmmoore avatar bmmoore commented on August 18, 2024

Entries in the patches list seem to be passed directly to curl as a URL.

from c-semantics.

bmmoore avatar bmmoore commented on August 18, 2024

.opam/compilers/4.03.0/4.03.0+k/4.03.0+k.comp

opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/trunk"
patches: ["file:///home/brandon/.opam/compilers/4.03.0/4.03.0+k/files/matching.patch"]
build: [
  ["./configure" "-prefix" prefix "-with-debug-runtime"]
  [make "world"]
  [make "world.opt"]
  [make "install"]
]
packages: [
  "base-unix"
  "base-bigarray"
  "base-threads"
]
env: [[CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"]]

files/matching.patch

--- a/bytecomp/matching.ml  2015-10-19 10:50:12.000000000 -0500
+++ b/bytecomp/matching.ml  2015-10-19 14:50:56.560932567 -0500
@@ -79,7 +79,7 @@
       else small_enough (n-1) rem

 let ctx_lshift ctx =
-  if small_enough 31 ctx then
+  if small_enough (*3*)1 ctx then
     List.map lshift ctx
   else (* Context pruning *) begin
     get_mins le_ctx (List.map lforget ctx)
@@ -2169,7 +2169,7 @@
       | _  -> scan_def ((List.map fst now,idef)::env) later rem in

   let fail_pats = complete_pats_constrs seen in
-  if List.length fail_pats < 32 then begin
+  if List.length fail_pats < (*3*)2 then begin
     let fail,jmps =
       scan_def
         []  

from c-semantics.

bmmoore avatar bmmoore commented on August 18, 2024

Note this was fixed with runtimeverification/k#1807; the opam repo in question is distributed as part of the K framework.

from c-semantics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.