Closed Flakebi closed 10 months ago
but how does it interact with the in-flight change to have a version library?
Not that good, seems like get_target_property(LIT_DEFINITIONS LLVMlgc COMPILE_DEFINITIONS)
only returns definitions that are immediately on the target but not on dependencies.
I guess we can change it to get_target_property(LIT_DEFINITIONS llpc_version INTERFACE_COMPILE_DEFINITIONS)
when the version library exists? (Note the INTERFACE_COMPILE_DEFINITIONS)
Closing as this depends on the llpc_version
library, which was only merged internally. (This change will see the light in this repo on the next promotion.)
The flags exposed to lit are not interface flags (because lgc is not an interface library), this was a copy-paste error.