<discocaml>
<darrenldl> (if you are asking for the purpose of scheduling)
<discocaml>
<darrenldl> if you are actually interested in the number of physical cores, i don't know off the top of my head
<discocaml>
<peuk> Now, it is not related to OCaml 5. I have a program that starts external parallel processes. The number of processes is configurable, but I wanted to take as default the number of cores (physical or HT is not really important).
<discocaml>
<peuk> No, it is not related to OCaml 5. I have a program that starts external parallel processes. The number of processes is configurable, but I wanted to take as default the number of cores (physical or HT is not really important).
<discocaml>
<darrenldl> right gotcha
<discocaml>
<darrenldl> linux? or you want cross os?
<discocaml>
<peuk> Ideally cross OS, yup. This is why I hoped for a solution in the standard library.
<discocaml>
<darrenldl> standard library seems devoid of direct mentioning of core count, so that package might be your best bet
<discocaml>
<peuk> Indeed
olle has joined #ocaml
bartholin has joined #ocaml
<reynir>
I am curious how people keep ocaml ci happy: there is a library that has a (non-public) example binary that is not used in tests either. It depends on cmdliner which neither the library nor the tests depend on. CI runs build @install @check @runtest, and the dune build @check part tries to check the example binary.
<reynir>
Now, dune build @check will fail if cmdliner is not installed. Do I add cmdliner as a dependency in the opam file? As a {with-test} dependency? Furthermore, the example binary only works with certain versions of cmdliner, so version constraints could propagate to dependent packages if they are installed with --with-test
alexherbo2 has quit [Remote host closed the connection]
cross has joined #ocaml
jabuxas has joined #ocaml
Anarchos has joined #ocaml
jabuxas has quit [Ping timeout: 268 seconds]
jabuxas has joined #ocaml
waleee has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
bartholin has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neiluj has quit [Quit: WeeChat 4.2.1]
jabuxas has quit [Ping timeout: 256 seconds]
jabuxas has joined #ocaml
jabuxas has quit [Ping timeout: 255 seconds]
n8n has quit [Quit: WeeChat 4.2.2]
Serpent7776 has quit [Ping timeout: 268 seconds]
bartholin has quit [Quit: Leaving]
jabuxas has joined #ocaml
n8n has joined #ocaml
<discocaml>
<nchu> Hi guys! I'm working with some of my classmates on this ocaml extension for vscode. We used menage to make bindings for ocaml -> js (for the extension) - We have created a seperate branch that includes raylib/bogue and we were wondering if it was possible to integrate our bogue with our vscode extension?