mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 16:57:40 +03:00
fix macOS Bazel cache (#10795)
macOS filesystems have been case-insensitive by default for years, and in particular our laptops are, so if we want the cache to work as expected, CI should be too. Note: this does not apply to Nix, because the Nix partition is a case-sensitive image per @nycnewman's script on laptops too. CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
ed99fe5aa5
commit
4093bbd58c
@ -94,7 +94,7 @@ reset_cache() {
|
||||
fi
|
||||
|
||||
rm -f "${file}.sparseimage"
|
||||
hdiutil create -size 200g -fs 'Case-sensitive APFS' -volname "$file" -type SPARSE "$file"
|
||||
hdiutil create -size 200g -fs APFS -volname "$file" -type SPARSE "$file"
|
||||
mkdir -p $mount_point
|
||||
hdiutil attach "${file}.sparseimage" -mountpoint "$mount_point"
|
||||
echo "Done."
|
||||
|
Loading…
Reference in New Issue
Block a user