Replacing ENV CLANG_PROFILE_DATA_DIRECTORY with CLANG_COVERAGE_MAPPING when generating an environment fingerprint.
CLANG_PROFILE_DATA_DIRECTORY was added to make artifacts with enabled/disabled code coverage exclusive. That value is "" for a build with disabled code coverage and contains an absolute path like
/Users/somePath/DerivedData/ProjectName/Build/ProfileData when building with code coverage. To not lead into cache miss when absolute paths are different on a consumer and producer (very likely), CLANG_COVERAGE_MAPPING can be used instead. Its value is simple:
Replacing ENV
CLANG_PROFILE_DATA_DIRECTORY
withCLANG_COVERAGE_MAPPING
when generating an environment fingerprint.CLANG_PROFILE_DATA_DIRECTORY
was added to make artifacts with enabled/disabled code coverage exclusive. That value is""
for a build with disabled code coverage and contains an absolute path like/Users/somePath/DerivedData/ProjectName/Build/ProfileData
when building with code coverage. To not lead into cache miss when absolute paths are different on a consumer and producer (very likely),CLANG_COVERAGE_MAPPING
can be used instead. Its value is simple:YES
""
(not defined)Fixes #31