ruki
ruki
> @waruqi I am unable to run as I am hitting this [xmake-io/xmake-repo#5180](https://github.com/xmake-io/xmake-repo/issues/5180) after a clean install try it again. https://github.com/xmake-io/xmake-repo/issues/5180#issuecomment-2339494658
Can you provide a new stuck backtrace?
I still don't understand what you want to do, is there something wrong with add_configfiles currently?
> because already manages similar feats internally:add_configfiles I still don't understand what you need now. If you need configfiles to be written only when the file content changes, doesn't add_configfiles...
Why can't we do it with config.h.in and configvars? I thought it could do anything, even generating from a string as you said. config.h.in ``` ${CONTENT} ``` ```lua target("xxx") add_configfiles("config.h.in")...
> ETA: Another downside of that approach, relative to is that all configfiles are generated, even if their containing isn't depended upon by the built root targets.maybe_writefiletarget So, this is...
you can make package and push to these repositories.
There's no time to pack and maintain them in over here. Currently, packages for arch, debian, nixos, alpine, fedora and other distributions are maintained and packaged by other people. https://github.com/xmake-io/xmake/issues/941
我暂时没有 cuda 环境,你可以自己在这个位置加上 `cuda.build` 的 rule 试试,然后提个 pr 过来。。 https://github.com/xmake-io/xmake/blob/6295d86eeb3be2761a61ffa1672c0b2ca4492643/xmake/plugins/project/ninja/build_ninja.lua#L38
> ```diff > +-- add rules for complier (cuda/nvcc) > +function _add_rules_for_compiler_cuda(ninjafile, sourcekind, program) > + ninjafile:print("rule %s", sourcekind) > + ninjafile:print(" command = %s -c $ARGS $in -o $out",...