Has anyone encountered the following error when ru...
# caravel
g
Has anyone encountered the following error when running
make pdk
on the mpw-5b tag?
Copy code
Removing temporary files from destination.
Done with PDK migration.
echo "Ended SKY130 PDK migration on "`date` >> sky130A_install.log
set -f ; ../common/foundry_install.py -std_format -target /tapeout/pdks/open_pdks/sky130/sky130A -clean
Done removing staging area.
touch /tapeout/pdks/sky130A/SOURCES
touch: cannot touch '/tapeout/pdks/sky130A/SOURCES': Permission denied
make[1]: *** [/tapeout/caravel_mpw5_prga/caravel/Makefile:1233: gen-sources] Error 1
make[1]: Leaving directory '/tapeout/caravel_mpw5_prga'
make: *** [Makefile:39: pdk] Error 2
v
This is due a very old git version (1.8.3.1) used in the Magic docker image, if you manage to upgrade it to a newer one, and you add "-v $(PDK_ROOT):$(PDK_ROOT)" to the docker invocation in the "caravel/Makefile" it will be fixed. Alternatively you could call the make cmd with sudo and let the involved pdk files with root ownership.
g
Thanks for the feedback. The changes to the Makefile were enough to resolve the issue.