companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Inline has quit [Remote host closed the connection]
Inline has joined #ocaml
cr1901_ has quit [Read error: Connection reset by peer]
jabuxas has joined #ocaml
gzar has quit [Quit: WeeChat 4.3.2]
cr1901 has joined #ocaml
chrisz has quit [Ping timeout: 264 seconds]
chrisz has joined #ocaml
vb has quit [Ping timeout: 264 seconds]
vb has joined #ocaml
mbuf has joined #ocaml
jabuxas has quit [Ping timeout: 268 seconds]
hannes has quit [Ping timeout: 268 seconds]
hannes has joined #ocaml
YuGiOhJCJ has joined #ocaml
hannes has quit [Quit: leaving]
masterbuilder has quit [Read error: Connection reset by peer]
masterbuilder has joined #ocaml
dstein64 has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
Serpent7776 has joined #ocaml
anpad has quit [Ping timeout: 246 seconds]
anpad has joined #ocaml
jsoo has quit [Quit: ZNC 1.8.2 - https://znc.in]
jsoo has joined #ocaml
slothby has quit [Ping timeout: 256 seconds]
dstein64 has joined #ocaml
gooby323 has joined #ocaml
torretto_ has joined #ocaml
torretto has quit [Ping timeout: 260 seconds]
<discocaml> <witty_91> Hello, everyone
<discocaml> <witty_91> I am looking for a Next.js developer
<discocaml> <witty_91> More than 3 years experience
<discocaml> <witty_91> Location: India, Pakistan
<discocaml> <witty_91> If somebody interest, DM me
<gooby323> Is that relevant to an OCaml community x)
dstein64 has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
dstein64 has joined #ocaml
Inline has quit [Remote host closed the connection]
Inline has joined #ocaml
gooby323 has quit [Quit: Konversation terminated!]
gooby323 has joined #ocaml
bartholin has joined #ocaml
Guest97 has joined #ocaml
Guest97 has quit [Quit: Client closed]
waleee has joined #ocaml
Inline has quit [Remote host closed the connection]
Inline has joined #ocaml
gooby323 has quit [Quit: Konversation terminated!]
gooby323 has joined #ocaml
Anarchos has joined #ocaml
<Anarchos> how to create a switch from a local compiler source tree ?
<discocaml> <otini_> opam switch create .
<discocaml> <otini_> that will do the whole configure, build and install
<discocaml> <otini_> the command is to be run from the compiler source root, if that wasn’t clear
<Anarchos> otini_ and how to give it a candier name than the folder path ?
<discocaml> <._null._> The idea is for local switch to be anonymous, only referred to from their paths
<Anarchos> so a global switch using my local version of the compiler, it is not achievable ?
<discocaml> <._null._> Yes it is, you can pin your local compiler for any switch
<Anarchos> with opam pin /.../local/.../ocaml later ?
<discocaml> <._null._> You pin the source directory, not an executable
<Anarchos> yes, ocaml is a directory containing my compiler
<discocaml> <._null._> As long as it contains the .opam files, it's good
<Anarchos> thanks
Markus_Elfring_ has joined #ocaml
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #ocaml
waleee has quit [Quit: WeeChat 4.1.2]
Markus_Elfring_ has quit [Quit: Konversation terminated!]
<gooby323> Is it a good idea to link up local switches to a global compiler? Just to avoid the long compilation and unnecessary duplication when creating switches
<discocaml> <otini_> what do you mean by a global compiler?
discocaml_ has joined #ocaml
chrisz_ has joined #ocaml
chrisz has quit [*.net *.split]
bibi_ has quit [*.net *.split]
Soni has quit [*.net *.split]
amk has quit [*.net *.split]
noddy has quit [*.net *.split]
discocaml has quit [*.net *.split]
abbe__ has quit [*.net *.split]
caasih has quit [*.net *.split]
soni_ is now known as soni
soni is now known as 074AAVAZH
amk has joined #ocaml
bibi_ has joined #ocaml
Soni has joined #ocaml
noddy has joined #ocaml
caasih has joined #ocaml
abbe__ has joined #ocaml
Markus_Elfring has joined #ocaml
<gooby323> otini_: the compiler being used by a global switch
<gooby323> let's say the default switch
hannes has joined #ocaml
jabuxas has joined #ocaml
CalimeroTeknik has quit [Changing host]
CalimeroTeknik has joined #ocaml
bibi_ has quit [*.net *.split]
Soni has quit [*.net *.split]
amk has quit [*.net *.split]
noddy has quit [*.net *.split]
abbe__ has quit [*.net *.split]
caasih has quit [*.net *.split]
Soni has joined #ocaml
bibi_ has joined #ocaml
amk has joined #ocaml
caasih has joined #ocaml
abbe__ has joined #ocaml
noddy has joined #ocaml
<discocaml_> <holmdunc> IIRC there's also the `ocaml-system` thing where the compiler doesn't have to live in any switch, even the default one
ocra8 has joined #ocaml
jabuxas has quit [Ping timeout: 256 seconds]
<discocaml_> <otini_> gooby323: I don’t know about ocaml-system but sure you can do
<discocaml_> <otini_> `opam switch create <SWITCH NAME> --empty`
<discocaml_> <otini_> then from a compiler source tree
<discocaml_> <otini_> `opam pin add -k path . -n`
<discocaml_> <otini_> (`-k path` is to pin the files and not the git head, `-n` says not to build anything yet)
<discocaml_> <otini_> then you can either `opam install .` or configure+build manually and then `opam install . --assume-built`
<discocaml_> <otini_> Beware that opam < 2.2.0 has a bug that prevents to use `--assume-built` in this way.
<gooby323> Ooo I see, that helps a lot, thanks
<discocaml_> <otini_> note that you will still need to rebuild all the switch packages if you rebuild the compiler
<discocaml_> <otini_> If you want to avoid that (at your own risk), opam-custom-install is an option
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
gzar has joined #ocaml
<Anarchos> otini_ thanks for this solution
<discocaml_> <._null._> ocaml-system is the compiler installed from the global package manager, which is an easy way to have switches share a compiler
gooby323 has quit [Quit: Konversation terminated!]
gooby323 has joined #ocaml
torretto_ has quit [Remote host closed the connection]
torretto has joined #ocaml
Anarchos has quit [Quit: Client closed]
ocra8 has quit [Quit: WeeChat 4.3.2]
gooby323 has quit [Quit: Konversation terminated!]
Markus_Elfring has quit [Quit: Konversation terminated!]
waleee has joined #ocaml
Inline has quit [Remote host closed the connection]
Inline has joined #ocaml
jabuxas has joined #ocaml
Tuplanolla has joined #ocaml
jabuxas has quit [Quit: oops :p]
jabuxas has joined #ocaml
jabuxas has quit [Ping timeout: 255 seconds]
waleee has quit [Ping timeout: 252 seconds]
mbuf has quit [Quit: Leaving]
Inline has quit [Quit: Leaving]
Inline has joined #ocaml
waleee has joined #ocaml
jabuxas has joined #ocaml
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
jabuxas has quit [Ping timeout: 255 seconds]
bartholin has quit [Quit: Leaving]
vb has quit [Ping timeout: 256 seconds]
Tuplanolla has quit [Quit: Leaving.]
vb has joined #ocaml