-
Notifications
You must be signed in to change notification settings - Fork 371
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
Towards a bridge with ocamlfind #1361
Conversation
Show them on `opam show`
No more subsections, only a list of variables.
No, OPAM is not a build system.
To use it: $ opam-admin lib --infer <pkg> Currently, just look at the list of uninstall targets. Could be completed to look into the archive directly.
I think this fits very well with the declarative approach of I do however have the following comments.
For me it seems that this will make it needlessly harder for supporting regular package system with opam packages. Other package system may not like the fact that things are installed in Therefore I would rather suggest that:
|
Agreed with you Daniel. There's just one slightly annoying point: currently, opam relies a lot on |
don't merge yet, seems that the |
Well you can leave that one for opam, it wouldn't be used by other package managers anyway. But the config for packages shouldn't be there. |
@dbuenzli so you reckon that We could distribute an |
Yes |
Or maybe |
Good to merge now. btw, with opam itselft you can already do 1) And yes, providing |
Sure but Regarding |
Awesome, thanks ! |
@AltGr I haven't checked, I think it will break opamfu/opam2web indeed. I'll try to fix that later this week (and move the location of .config files as well). |
This series of patches completely removes the support for custom compilation options which were in OPAM since its beginning. This feature was complex and useless, and I'm sure nobody will miss it. Now we have a clean and clear semantics: every package can defined a
<pkg>.config
file at this root, with global variables which can be read by other packages if necessary.We can now use the
library
andsyntax
field which were here from the beginning, and start filling them with interesting findlib metadata. I've push an example of automatic extraction to opam-repository soon.