This is a more idiomatic CMake.
Details
Diff Detail
- Repository
 - rL LLVM
 
Event Timeline
| runtimes/CMakeLists.txt | ||
|---|---|---|
| 432 ↗ | (On Diff #114443) | There's one other use case of ":" which is used in cache files, I'm not sure if we should replace that one as well?  | 
| runtimes/CMakeLists.txt | ||
|---|---|---|
| 349 ↗ | (On Diff #114443) | I'm wandering whether we even need list of lists here, we may as well just do set(${runtime_name}-${name} ${runtime_name}) and in llvm_ExternalProject_Add just check if the variable is defined, if so use its value otherwise use it as string. What do you think about that approach?  | 
Sorry for the long delay on this review. It keeps getting lost in my inbox.
I'm totally fine with the patch as-is, but did have some comments below.
I will defer to your judgement on how you think it is best to proceed because you've been doing a phenomenal job with all this.
| runtimes/CMakeLists.txt | ||
|---|---|---|
| 349 ↗ | (On Diff #114443) | Your suggestion here sounds like it might be simpler. I'd say go with the simpler approach.  | 
| 432 ↗ | (On Diff #114443) | Ideally I think we probably should replace it. In general I don't like treating : as special characters.  | 
| runtimes/CMakeLists.txt | ||
|---|---|---|
| 432 ↗ | (On Diff #114443) | I'll do this in a separate patch since it'll require more changes.  |