Skip to content

[Specs] Introduce COMPILATION_CACHE_ENABLE_CACHING for controlling all the compiler-specific caching settings#370

Merged
akyrtzi merged 1 commit intoswiftlang:mainfrom
akyrtzi:akyrtzi/pr/caching-setting
Apr 18, 2025
Merged

[Specs] Introduce COMPILATION_CACHE_ENABLE_CACHING for controlling all the compiler-specific caching settings#370
akyrtzi merged 1 commit intoswiftlang:mainfrom
akyrtzi:akyrtzi/pr/caching-setting

Conversation

@akyrtzi
Copy link
Copy Markdown
Contributor

@akyrtzi akyrtzi commented Apr 1, 2025

Also make the new setting, along with COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS show up in settings UI.

@akyrtzi
Copy link
Copy Markdown
Contributor Author

akyrtzi commented Apr 1, 2025

@swift-ci Please test

Comment thread Sources/SWBUniversalPlatform/Specs/Clang LLVM 1.0.xcspec Outdated
…all the compiler-specific caching settings

Also make the new setting, along with `COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS` show up in settings UI.
@akyrtzi akyrtzi force-pushed the akyrtzi/pr/caching-setting branch from 259e00b to 97df01b Compare April 17, 2025 23:05
@akyrtzi
Copy link
Copy Markdown
Contributor Author

akyrtzi commented Apr 17, 2025

@swift-ci Please test

@akyrtzi
Copy link
Copy Markdown
Contributor Author

akyrtzi commented Apr 17, 2025

Changes since last time:

  • Made CLANG_ENABLE_COMPILE_CACHE and SWIFT_ENABLE_COMPILE_CACHE boolean macros.
  • Newly introduced COMPILATION_CACHE_ENABLE_CACHING also gets a default value from COMPILATION_CACHE_ENABLE_CACHING_DEFAULT

@akyrtzi akyrtzi merged commit f974e0d into swiftlang:main Apr 18, 2025
3 checks passed
@akyrtzi akyrtzi deleted the akyrtzi/pr/caching-setting branch April 18, 2025 16: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.

6 participants