docker volume on mac host stuck post- "Configuring done"
i use docker run -vhost/path:container/path ..
a lot to build projects residing on host volume mounted to docker containers (debian). i've often notice that particularly on mac host, it gets stuck at:
-- Configuring done <-- here
-- Generating done
for a while (like 20-30 seconds); which is unexpected because it's specific to non-mounted volume (if repo was cloned in the container and we were building in the container, or repo was cloned on host and building on host it instantly proceeds after that step). the rest of the build / make calls goes blazing fast on M1/M2 machines with docker. is there something special about "Generating done" step which takes longer on mac->linux mounted volume? like, can cmake use some modern/different filesystem api to claim the wasted time if it's I/O bound? none of the other tools (make, apt, git etc.) which deal quite a lot with I/O have this problem.