Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do our binaries include ocamlopt and ocamlrun? Are they really needed? Are we legally allowed to redistribute them? #234

Closed
catalin-hritcu opened this issue May 10, 2015 · 6 comments

Comments

@catalin-hritcu
Copy link
Member

The make package target from the Makefile in src/ocaml-output includes this:

    cp /usr/bin/ocamlopt fstar/bin/ocamlopt || true
    cp /usr/bin/ocamlrun fstar/bin/fsocamlrun || true

@ad-l Why are these OCaml binaries sometimes copied in (and sometimes not, since the hardcoded path seems very fragile)? Are they needed for anything?

If they are really needed we would need to think more seriously about licensing issues. OCaml is released under the rather non-standard Q Public License:
https://ocaml.org/docs/license.html
https://en.wikipedia.org/wiki/Q_Public_License

@avsm
Copy link

avsm commented May 12, 2015

Note that it's possible to get OCaml under the BSD license by joining the Caml Consortium; http://caml.inria.fr/consortium/. (Microsoft is already a member)

@catalin-hritcu
Copy link
Member Author

@avsm This is good to know, thanks a lot. My impression is that we don't need to bundle OCaml with our binaries anyway. In fact we just removed them from the latest release.

@avsm
Copy link

avsm commented May 12, 2015

Nope, it shouldn't be necessary. I'm taking a look at adding an OPAM package for Fstar that'll make it even easier. Just needs Z3 first (ocaml/opam-repository#3298).

@catalin-hritcu
Copy link
Member Author

Having an OPAM package for Fstar would be great, of course. Please let us know when there is something with which we can help.

@ad-l
Copy link
Contributor

ad-l commented May 12, 2015

It is no longer necessary in the current setup.

@ad-l ad-l closed this as completed May 12, 2015
@markulf
Copy link
Contributor

markulf commented Aug 3, 2015

OCaml on windows is still quite broken:
#294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants