Skip to content

Set compiler file hash cache variable#1558

Merged
BillyONeal merged 5 commits into
microsoft:mainfrom
autoantwort:feature/cache-compiler-hash-2
Jan 16, 2025
Merged

Set compiler file hash cache variable#1558
BillyONeal merged 5 commits into
microsoft:mainfrom
autoantwort:feature/cache-compiler-hash-2

Conversation

@autoantwort

Copy link
Copy Markdown
Contributor

"Needed" for microsoft/vcpkg#42994

inline constexpr StringLiteral FileBaselineDotJson = "baseline.json";
inline constexpr StringLiteral FileBin = "bin";
inline constexpr StringLiteral FileControl = "CONTROL";
inline constexpr StringLiteral FileCompilerFileHashCacheDotJson = "compiler-file-hash-cache.json";

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't put it here initially because you could put the file anywhere and wouldn't break anyone. I don't know what the exact rule is (when to put stuff in this header and when not).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the idea is that any 'magic names' should go in here. This thing mostly exists to prevent typoing the name should we need to reference it somewhere else again, at least that's my understanding based on @ras0219-msft 's feedback that created this header in the first place.

@BillyONeal BillyONeal enabled auto-merge (squash) January 16, 2025 08:28
@BillyONeal

Copy link
Copy Markdown
Member

Thanks!

@BillyONeal BillyONeal merged commit 89068dd into microsoft:main Jan 16, 2025
@autoantwort autoantwort deleted the feature/cache-compiler-hash-2 branch January 16, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants