companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
jpds has quit [Read error: Connection reset by peer]
adanwan has quit [Read error: Connection reset by peer]
Tuplanolla has quit [Quit: Leaving.]
jpds has joined #ocaml
adanwan has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ocaml
raskol has joined #ocaml
gentauro has quit [Ping timeout: 240 seconds]
gentauro has joined #ocaml
gopiandcode has quit [Quit: WeeChat 3.0]
gopiandcode has joined #ocaml
raskol has quit [Ping timeout: 240 seconds]
bobo_ has joined #ocaml
spip has quit [Ping timeout: 255 seconds]
trev has joined #ocaml
xd1le has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mbuf has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
cedric has joined #ocaml
gopiandcode has quit [Ping timeout: 240 seconds]
gopiandcode has joined #ocaml
gopiandcode has quit [Ping timeout: 272 seconds]
gopiandcode has joined #ocaml
mro has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
dextaa has quit [Read error: Connection reset by peer]
dextaa has joined #ocaml
Haudegen has joined #ocaml
Serpent7776 has joined #ocaml
Tuplanolla has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
azimut has quit [Ping timeout: 268 seconds]
<theblatte> can you check what compiler a given opam switch is using? it seems ocaml/setup-ocaml@v2 names my switch /Users/runner/work/infer/infer on mac for some reason instead of 4.14.0+flambda
<theblatte> oh I'm dumb, it shows the compiler by default but I was running with --short
Sankalp has quit [Ping timeout: 244 seconds]
Sankalp has joined #ocaml
tomku has quit [Ping timeout: 272 seconds]
adanwan has quit [Read error: Connection reset by peer]
jpds has quit [Remote host closed the connection]
adanwan has joined #ocaml
jpds has joined #ocaml
<theblatte> strangely trying to install an opam switch myself (not via the setup-ocaml action) on macOs on GitHub fails with sh: /Users/runner/.opam/4.14.0+flambda/bin/ocamlc: cannot execute binary file # Exception: Failure "Bad return from 'ocamlc -where'".
<sim642> That workflow still has the setup-ocaml step though
tomku has joined #ocaml
<sim642> And that build-infer.sh says something about initializing opam and looks for a local switch instead
<sim642> Maybe that messes something up
tomku has quit [Ping timeout: 240 seconds]
wingsorc__ has quit [Ping timeout: 272 seconds]
tomku has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
<theblatte> sim642: I also get this error from setup-ocaml itself: https://github.com/jvillard/infer/runs/7354947630?check_suite_focus=true
mro has quit [Read error: Connection reset by peer]
mro_ has joined #ocaml
<sim642> What's the difference between those two runs? Because setup-ocaml passed in the first one
<sim642> Or is it somehow non-deterministic?
<sim642> Oh, the first one didn't actually install the compiler there, but just got it from a cache or something, because it skips the "Install OCaml" substep
<theblatte> yes, not sure if that's the only reason
<sim642> What's the custom caching for though? setup-ocaml already does some opam caching. Maybe there's something screwed up in that cache
<theblatte> one of the repos (the one in facebook/) has it in cache but the jvillard/ fork doesn't
Serpent7776 has quit [Ping timeout: 272 seconds]
<sim642> But the ubuntu build on the jvillard run link has setup-ocaml getting the compiler from some cache, because it's not building it at that step at all
<theblatte> sim642: ah, right! the custom caching predates the action doing its own caching I think
<theblatte> d'oh! I didn't spot that custom caching, that's probably it, you're right
<theblatte> nuking that part and retrying
adanwan has quit [Remote host closed the connection]
<sim642> In one of the logs it looked like build-infer.sh is still creating a global switch even though setup-ocaml did create a local one
<sim642> And then that custom caching of .opam would cache the global switch I guess
adanwan has joined #ocaml
<theblatte> yes, I've changed that part to tell ./build-infer.sh to use the current switch instead
<theblatte> thanks!
<sim642> Although I'm not sure how having some global switch could break the compilation of the compiler into a new local switch by setup-ocaml
<theblatte> yes the error is pretty mysterious
<theblatte> only on mac for some reason (maybe cache-related reasons)
mro_ has quit [Remote host closed the connection]
<vsiles> blame M1
Haudegen has quit [Quit: Bin weg.]
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp has joined #ocaml
mro has joined #ocaml
mro has quit [Client Quit]
<d_bot> <Pluton> Cats
<sim642> But GitHub Actions standard runners don't offer M1, do they?
raskol has joined #ocaml
jpds has quit [Remote host closed the connection]
jpds has joined #ocaml
mro has joined #ocaml
Haudegen has joined #ocaml
<vsiles> dunno, I just wanted to troll on Mac :D
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Everything has joined #ocaml
xd1le has quit [Quit: xd1le]
Everything has quit [Quit: leaving]
<theblatte> it's working now :'D thanks for the help sim642
waleee has quit [Ping timeout: 264 seconds]
ns12 has joined #ocaml
rgrinberg has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
bobo_ has quit [Ping timeout: 244 seconds]
bobo_ has joined #ocaml
mro has quit [Remote host closed the connection]
zebrag has joined #ocaml
mro has joined #ocaml
szkl has joined #ocaml
dnh has joined #ocaml
adanwan_ has joined #ocaml
adanwan has quit [Ping timeout: 268 seconds]
azimut has joined #ocaml
kakadu has quit [Remote host closed the connection]
adanwan_ has quit [Remote host closed the connection]
raskol has quit [Ping timeout: 276 seconds]
mbuf has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
adanwan has joined #ocaml
mro has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
mro has quit [Read error: Connection reset by peer]
mro_ has joined #ocaml
mro_ has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
trev has quit [Remote host closed the connection]
raskol has joined #ocaml
raskol has quit [Ping timeout: 240 seconds]
mro has joined #ocaml
adanwan has quit [Remote host closed the connection]
adanwan has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has quit [Ping timeout: 244 seconds]
mro has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has joined #ocaml
raskol has joined #ocaml
adanwan has quit [Remote host closed the connection]
azimut has quit [Remote host closed the connection]
adanwan has joined #ocaml
azimut has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 268 seconds]
mro has joined #ocaml
raskol has quit [Ping timeout: 260 seconds]
lobo has quit [Quit: lobo]
mro has quit [Quit: Leaving...]
lobo has joined #ocaml
rgrinberg has joined #ocaml
jmiven has joined #ocaml
zebrag has quit [Ping timeout: 260 seconds]
raskol has joined #ocaml
wingsorc__ has joined #ocaml
wingsorc__ has quit [Quit: Leaving]
wingsorc has joined #ocaml
raskol has quit [Ping timeout: 240 seconds]
zebrag has joined #ocaml
TakinOver has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tuplanolla has quit [Quit: Leaving.]