GithubHelp home page GithubHelp logo

opam package for OCaml 4.02? about cil HOT 8 OPEN

cil-project avatar cil-project commented on July 17, 2024
opam package for OCaml 4.02?

from cil.

Comments (8)

charlesxiong avatar charlesxiong commented on July 17, 2024

Yeah,I have the same question about compiling goblint . Can anyone solve this ?

from cil.

vogler avatar vogler commented on July 17, 2024

Concerning Goblint: You should be able to run make setup which pins cil to the develop branch. You need at least opam 1.2.0 for this to work. If you still have problems, open an issue there.

from cil.

charlesxiong avatar charlesxiong commented on July 17, 2024

If I run make setup to compile goblint(using opam pin -y add cil https://github.com/kerneis/cil.git#develop) , it will produce an error
How do I modify the cil version ?

[cil] Fetching https://github.com/kerneis/cil/tree/develop
# opam-version 1.2.0
# os           linux
# command      git fetch origin +HEAD:refs/remotes/opam-ref
# path         /home/charles/.opam/4.02.1/packages.dev/cil
# exit-code    128
# env-file     /home/charles/.opam/log/log-28148-6d07ae.env
# stdout-file  /home/charles/.opam/log/log-28148-6d07ae.out
# stderr-file  /home/charles/.opam/log/log-28148-6d07ae.err
### stderr ###
# fatal: repository 'https://github.com/kerneis/cil/tree/develop/' not found

from cil.

vogler avatar vogler commented on July 17, 2024

Haha, interesting.
It should say [cil] Fetching https://github.com/kerneis/cil.git#develop.
What shell is your /bin/sh? Apparently bash has no problem with the #.
Anyhow, I fixed make.sh by quoting the URL.

from cil.

charlesxiong avatar charlesxiong commented on July 17, 2024

Still the same question if I quote the URL . My machine is Ubuntu 14.10 , bash shell .
Actually If I use opam pin -y add cil "https://github.com/kerneis/cil#develop" .The url still redirect to the [cil] Fetching https://github.com/kerneis/cil/tree/develop and produce an error .

from cil.

kerneis avatar kerneis commented on July 17, 2024

A release is hopefully coming, but in the meantime, develop is the
default branch on github anyway, so you should be able to just give it
github.com/kerneis/cil. Or did I miss something?

from cil.

vogler avatar vogler commented on July 17, 2024

You're right, it also works without specifying the branch.
I don't know why it doesn't work in your case, but without the branch it should be fine:

$ git clone https://github.com/kerneis/cil/tree/develop
Cloning into 'develop'...
fatal: repository 'https://github.com/kerneis/cil/tree/develop/' not found

$ git clone https://github.com/kerneis/cil/
Cloning into 'cil'...

from cil.

charlesxiong avatar charlesxiong commented on July 17, 2024

Yeah , knowing the small detail that cil default branch is develop ,I compiled the goblint and it worked . Thank you all for answering my questions - vogler and kerneis . ^-^

from cil.

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.