Skip to content

Rebuilding targets after project configuration updates a config file made with configure_file() #11227

Answered by eli-schwartz
mitchburnett asked this question in Q&A
Discussion options

You must be logged in to vote

From the discussions around originally adding cuda support to Meson: #1003 (comment)

nvcc doesn't implement good Makefile depfile generation. A fuller explanation is in the source, but basically NVCC insists on doing depfile generation and compilation in two steps, doesn't support -MMD, -MQ or -MF but does support the inferior -MT, and there seems to be no easy way to square this with Ninja's needs (e.g. not possible to run two command for one rule, and nvcc prints its dependencies lists to stdout and not to a file).

cuda's backend in Meson doesn't implement get_dependency_gen_args(), so no depfile is created. As a result, ninja doesn't know when cuda's headers are updated and the sourc…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mitchburnett
Comment options

@eli-schwartz
Comment options

@obilaniu
Comment options

@obilaniu
Comment options

@mitchburnett
Comment options

Answer selected by mitchburnett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants