ziyourenxiang has quit [Ping timeout: 246 seconds]
rpg has joined #ocaml
benmachine has joined #ocaml
<benmachine>
I am trying to work out when installing ocaml-ipaddr gets you the ipaddr.unix findlib package, I think it's iff you installed base-unix, can anyone point me in the right direction? https://github.com/mirage/ocaml-ipaddr
Merv__ has quit [Remote host closed the connection]
Merv_ has joined #ocaml
olibjerd has joined #ocaml
Anarchos has joined #ocaml
Merv_ has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 245 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
govg has joined #ocaml
cggong has quit [Quit: cggong]
maarhart has joined #ocaml
kakadu__ has quit [Quit: Konversation terminated!]
maarhart has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
mengu has joined #ocaml
govg has quit [Quit: leaving]
zpe has quit [Remote host closed the connection]
jlam_ has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
jlam__ has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 255 seconds]
enterprisey has joined #ocaml
raphaelss has quit [Ping timeout: 260 seconds]
jnavila has quit [Remote host closed the connection]
<orbifx[m]>
How is jbuilder regarded compared to ocamlbuild?
<rgrinberg>
Extremely favorably
average has joined #ocaml
<rgrinberg>
I have no reason to use ocamlbuild myself anymore
jbrown has joined #ocaml
Guest35363 has quit [Quit: leaving]
lostman has quit [Quit: Connection closed for inactivity]
boojinks has joined #ocaml
govg has joined #ocaml
govg has quit [Client Quit]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Merv_ has joined #ocaml
kakadu has joined #ocaml
govg has joined #ocaml
raphaelss has joined #ocaml
govg has quit [Client Quit]
antismap has joined #ocaml
antismap has quit [Client Quit]
antismap has joined #ocaml
ygrek__ has joined #ocaml
govg has joined #ocaml
govg_ has joined #ocaml
govg_ has quit [Client Quit]
olibjerd has quit [Quit: olibjerd]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
sepp2k has joined #ocaml
<orbifx[m]>
rgrinberg: point or two on what's bette?
<orbifx[m]>
Better*
yomimono has joined #ocaml
ia0 has quit [Quit: reboot]
<companion_cube>
there are solutions for ppx,cppo,… now right?
ia0 has joined #ocaml
fraggle_ has joined #ocaml
<rgrinberg>
Yes. Cppo always worked though. Just with annoying boilerplate
<rgrinberg>
orbifx[m]: for starters, it's much faster and it supports multiple opam packages out of 1 build well.
<rgrinberg>
but there are many other advantages. it all depends on what project you have
_andre has quit [Quit: leaving]
<orbifx[m]>
What parameters?
keyjoo_ has joined #ocaml
pierpa has joined #ocaml
argent_smith has quit [Quit: Leaving.]
<rgrinberg>
parameters?
enterprisey has quit [Remote host closed the connection]
govg has quit [Quit: "switching PCs"]
<orbifx[m]>
For making the judgment on. You said it depends on the project
ryanartecona has quit [Quit: ryanartecona]
<rgrinberg>
when compared to pure ocamlbuild right? or vs. ocamlbuild + oasis?
<companion_cube>
vs oasis, for me
<rgrinberg>
sure: supports module alias, doesn't make you checkin generated crap, uses omp out of the box, supports multi package builds, supports jsoo, generates .install files for opam.
<companion_cube>
omp ?
<companion_cube>
rgrinberg: yeah but it doesn't do configure, does it? :.
<rgrinberg>
ocaml-migrate-parsetree
<orbifx[m]>
+ oasis for me too
<companion_cube>
ah
<rgrinberg>
configure in what sense?
<companion_cube>
./configure
<companion_cube>
stateful configuration of sub-libraries
<orbifx[m]>
How did you find the documentation?
<rgrinberg>
hmm, you'd have to tell me what exactly you'd expect that to do.
<rgrinberg>
companion_cube: but if you mean common things like checking whether native code is present and deciding how to build executables depending on that. jbuilder supports a lot of configuration like that out of the box
shinnya has joined #ocaml
<companion_cube>
no, I mean like enabling/disabling stuff by running a command
mengu has quit [Remote host closed the connection]
<rgrinberg>
well, the way oasis does that stuff is really ass backwards I think. if you don't want to build a certain target
<rgrinberg>
just tell jbuilder which targets you want to build
<companion_cube>
I'd need a script then…
<companion_cube>
(during dev I need this kind of things, usually)
<rgrinberg>
i actually think that you really wouldn't unless you have something very very particular. so it's best that you just describe your use case :)
<rgrinberg>
I'll give you an example, of how i replaced a common use of oasis' flags in jbuilder
<companion_cube>
well I develop something and I don't want to have all the parts activated when I develop one part
<rgrinberg>
why not? something being "active" only means that jbuilder evaluated the build rules for it.
<Drup>
yes, that work fine
<companion_cube>
I mean I don't want to compile it -_-
<rgrinberg>
then just tell jbuilder to compile what you want. e.g. $ jbuilder build containers-unix.install or something
<rgrinberg>
that would only build your containers-unix opam subpackage
<companion_cube>
I'll say it differently. I have `make watch` which recompiles in a loop, and it needs some stateful info to only rebuild what I'm interested in currently.
<Drup>
I wonder how much you still need that when your build system runs between 4 and 10 time faster
<Drup>
(no, this is not an exaggeration)
<companion_cube>
10×? I have a hard time believing this.
<companion_cube>
jbuilder can't possibly make flambda suddenly much faster :p
<rgrinberg>
Drup: ha, but a make watch is still something useful. I use one with jbuilder but i just tell it to rebuild my entire project on every change. works well enough
<rgrinberg>
companion_cube: how do you tell your make watch which target to build?
<rgrinberg>
seems like you need some support of source -> targets you're interested mapping
<companion_cube>
rgrinberg: by ./configure disabling/enabling these parts
<companion_cube>
since oasis builds eveything activated this way, and not more
<orbifx[m]>
so I guess the only shortcoming is that it sounds like it's written in Java :P
<rgrinberg>
ok so instead of thinking about flags which enable/disable part of your build. Think about which parts of the build you want "enabled". Convert those to targets and pass them to jbuilder. That's your build command for your make watch
mengu has joined #ocaml
<rgrinberg>
I don't know what you use for your `make watch`. But I use watch man. here's something that I'd use to rebuild only the cohttp-lwt-unix package on a change
<rgrinberg>
ok well, i really think you should listen to drup and just rebuild everything. it's pretty fast... :)
<companion_cube>
hmm.
<rgrinberg>
but you will need a different make command telling jbuilder what exactly you need to build
<Drup>
at least try
<Drup>
if it's not fast enough, you can probably do a script thingy
<rgrinberg>
i don't think that's very different than passing some configure options though
<companion_cube>
Drup: I need to convert 300 lines of _oasis… flemme
<companion_cube>
one day, probably
pierpa_ has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
<rgrinberg>
companion_cube: you mean zipperposition right? it would be a really quick port if your project structure was compatible
<rgrinberg>
right now you split a single library into multiple source dirs, which jbuilder doesn't like
<companion_cube>
that's not very important though (can be changed)
<companion_cube>
but it's full of packs, whch worries me more
mengu has joined #ocaml
<rgrinberg>
well the packs shouldn't worry you :)
<companion_cube>
also I have a auto-generated file, a few stupid things like that
<rgrinberg>
i actually gave porting zipperposition a try a long time ago. the only limitation apart from the project structure was the lack of menhir support
<companion_cube>
ouch
<companion_cube>
that's a no-no indeed
<rgrinberg>
but i specifically added menhir to try and port zipperposition
<rgrinberg>
that was a while ago
<rgrinberg>
I should revisit it :P
<companion_cube>
that's nice of you
mengu has quit [Ping timeout: 260 seconds]
pierpa has quit [Remote host closed the connection]
<rgrinberg>
is opam kin to downgrade ocamlfind for other people as well?
copy` has quit [Quit: Connection closed for inactivity]
al-damiri has quit [Quit: Connection closed for inactivity]
yomimono has quit [Quit: Ex-Chat]
chat_ has joined #ocaml
pete_8 has quit [Ping timeout: 240 seconds]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
pete_8 has joined #ocaml
mengu has joined #ocaml
tane has quit [Quit: Leaving]
jlam__ has joined #ocaml
boojinks has quit [Quit: Lost terminal]
<apache2>
https://www.ocaml.org shows error in browser because someone forgot to include the www. label in the x509 cert
kakadu_ has quit [Read error: Connection reset by peer]
jlam_ has quit [Ping timeout: 260 seconds]
jlam1 has joined #ocaml
kakadu_ has joined #ocaml
jlam__ has quit [Ping timeout: 260 seconds]
pete_8 has quit [Ping timeout: 240 seconds]
mengu has quit [Ping timeout: 240 seconds]
jlam_ has joined #ocaml
jlam1 has quit [Ping timeout: 255 seconds]
jlam__ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
jeffmo has quit [Ping timeout: 365 seconds]
jcloud has quit [Ping timeout: 365 seconds]
jeffmo_ has joined #ocaml
jcloud has joined #ocaml
ygrek_ has joined #ocaml
ygrek__ has quit [Remote host closed the connection]
keyjoo_ has quit [Ping timeout: 259 seconds]
breitenj has quit [Excess Flood]
madroach has quit [Remote host closed the connection]