Post APda6LS7svQBi5zyIC by icedquinn@blob.cat
 (DIR) More posts by icedquinn@blob.cat
 (DIR) Post #AOS9EfVeyGigwylleC by icedquinn@blob.cat
       2022-10-11T09:08:35.558827Z
       
       1 likes, 0 repeats
       
       i think it is interesting that bsdmake has the filemonitor magic that tup also has. it's a very nice feature.
       
 (DIR) Post #AOSA60PI0RaN6sDsLQ by icedquinn@blob.cat
       2022-10-11T09:18:13.569856Z
       
       0 likes, 0 repeats
       
       i use tup when i can use tup because the filesystem monitor mechanic makes the build scripts very short. it also has shorthand for bundling stuff. so you can do a very terse kind of thing like: foreach t/*.nim |> nim c -o:%o %f |> t/%B.tand then each nim file you put there gets compiled as a unit test and it automatically tracks all of their subdependencies and you basically never spend another minute thinking about the build. whatever you touch just .. it figures its shit out on its own :cirno_shrug: tup isn't a task runner though. which is something that makes also do. i've been using lets-cli for task running for a while if only because void has it and i was very curious. lets actually doesn't do much of anything smart and just reads a yaml file, parses a command and then yeets all that off to a shell. it has very basic dependencies and i t has an option to hash some files but you have to check those hashes in the shell code. i don't hate it necessarily.mk is also very good. would not hate life if had to use. but no intelligent dependencies so you are back to having to manage that again. it's maybe almost as good as ninja/samurai i think. (but ninja/samurai let you control parallel behavior .. mk not so much. so you can tell it to *not* run other shit at the same time as compiling the huge sqlite amalgam.)bsdmake is also ok. i don't know how hard it is to build. i guess it's somewhat available because it's a bsd tool and the bsd's have influence and netbsd's make is portable. honestly this feels probably more huge than it really needs to be. it runs shell shit while trying to figure out how jobs work and while that is powerful (and how ports is able to manage packages using only bsdmake) it's also kinda bullshit. ninja was somewhat right about saying your logic layer should just shit out an instruction set.please.build and the bazels make that mistake too. they're basically running a scripting language which emits build targets. you have to parse and run scripts to figure out what targets even exist to do. but plz is a decent build system anyway so, ymmv. would not necessarily hate life but compiling c/c++ with bazels is bizzare business.i don't think i will change any of my stuff right now. lets runs jobs, tup typically builds. tup doesn't work on CI but there's workarounds. i could use raw fish shell instead of lets if there was a real problem. one thing lets does that make doesn't is it will parse command lines. you can use docopts in commands to put in little flags, which it parses and puts in env vars, which is something you can coerse fish in to doing (it has a getopt) easily, but something bash is retarded at (there are generators afaik), as bash is generally a bad shell which should be shunned :blabcat: bsdmake i would tolerate but i think people would constantly try to run gnu make which would fail and would cause maintenance grief.
       
 (DIR) Post #APda6KhgfaH5O4GsuO by talon@dragonscave.space
       2022-11-15T10:13:42Z
       
       0 likes, 0 repeats
       
       @icedquinn any opinions on xmake?
       
 (DIR) Post #APda6LS7svQBi5zyIC by icedquinn@blob.cat
       2022-11-15T19:23:31.429410Z
       
       0 likes, 0 repeats
       
       @talon I tried it once. The documentation around making custom rules is pretty woozy and poor. You can probably find where I talked about it on their bug tracker and they were less than receptive.
       
 (DIR) Post #APdboG45NTBhhEG036 by talon@dragonscave.space
       2022-11-15T19:36:29Z
       
       1 likes, 0 repeats
       
       @icedquinn Fair. I was curious because I took a quick peak, thought "Oh this looks cool!", but then never went anywhere with it. And you had quite a list, so thought you might have some actual experience. Thanks!
       
 (DIR) Post #APdcBisiP7czjJ7xpY by icedquinn@blob.cat
       2022-11-15T19:46:55.223006Z
       
       0 likes, 0 repeats
       
       @talon i wanted to like it especially for the makefile export feature. it's just full of premade rules (i don't like those) and is unreasonable about the way you make custom ones.i don't use please.build still (although this is because i don't really need what bazel clones offer right now) but i do still use tup a lot.