Allow installation on longer paths than 90 characters
The installation is limited to 90 characters. The installer blocks the installation in case of longer path. It prevents problem with ccache and long path build in libraries like libsodium.
Desired state: user can deploy ESP-IDF to longer paths
Another issue discovered with git:
error: unable to create file examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/example_ble_client_throughput.c: Filename too long
Solution:
git config --system core.longpaths true
This displays another problem when updating submodules:
Cloning into 'C:/projects/tmp/0123456789/0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789/3/components/bootloader/subproject/components/micro-ecc/micro-ecc'...
fatal: '$GIT_DIR' too big
This seems to affect all modules with longer path.
This seems to be hardwired in the git: https://github.com/aws/aws-iot-device-sdk-cpp-v2/issues/157#issuecomment-693201747
Alternative installation using ZIP archive also fails on long path:
Running command: cmd.exe /c ""xcopy" /s /e /i /h /q "C:\projects\tmp\AppData\Local\Temp\is-J0AQK.tmp\esp-idf-v4.3.1" "C:\projects\tmp\0123456789\0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\b""
Insufficient memory
WIndows unzip fails in case of extracting to long path even with UNC path
