Comments (8)
Yeah,I have the same question about compiling goblint . Can anyone solve this ?
from cil.
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.
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.
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.
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.
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.
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.
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)
- How to print GCC function attributes? HOT 3
- --prefix option to configure doesn't seem to work
- Parsing pragmas in CIL
- Does copyFunction handle CFG-computed successors and predecessors lists?
- cilly, nasty command line bug
- CIL does not parse complex data types (C99)
- CIL does not compile with GCC 7 (patch attached) HOT 3
- unknown option '--param=allow-store-data-races' when building linux kernel
- Error linking while using callgraph as a lib
- Trace is a bad choice of name for a module inside CIL
- CIL throws syntax error for file wget1.14/lib/md5.c during compilation to create the library libgnu.a HOT 1
- Respect $MAKE environment variable in myocamlbuild.ml HOT 4
- GCC Builtin Support
- "Initializing non-constant-length array" error when parsing a correct C file. HOT 3
- cilly: Cannot find GNUCC version HOT 2
- Makefile:102: recipe for target 'ocamlbuild' failed
- Is this project abandoned? HOT 4
- Syntactic search does not find variable occurence HOT 1
- Bad link for tutorial HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cil.