USCPOSH / AMS_KGD

A repository for Known Good Designs (KGDs). Does not contain any design files with NDA-sensitive information.
Apache License 2.0
36 stars 2 forks source link

7464294753eefc090527535c5bbcc2a1.dac_8bit_ideal.ahdlcmi/Linux-64/obj/optimize/5.0': Filename too long #1

Open solocirfa opened 10 months ago

solocirfa commented 10 months ago

While cloning of this SAR ADS test bench netlist a warning is reported. ADC/SAR_ADC/PTM45nm/USC_PTM_SAR_ADC_8bit_1G_2019/Netlists/Testbench/tb_chip_core_TI_2/spectre/schematic/netlist/input.ahdlSimDB

fatal: cannot create directory at 'ADC/SAR_ADC/PTM45nm/USC_PTM_SAR_ADC_8bit_1G_2019/Netlists/Testbench/tb_chip_core_TI_2/spectre/schematic/netlist/input.ahdlSimDB/7464294753eefc090527535c5bbcc2a1.dac_8bit_ideal.ahdlcmi/Linux-64/obj/optimize/5.0': Filename too long warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

I doubt if the cached file name is necessary for the functionality of the test bench. But in case it becomes needed than a rename should suffice .

solocirfa commented 10 months ago

This has been resolved using these steps on a MINGW64 command prompt window in your local GitHub directory:

  1. rm -rf AMS_KGD ;this is done to remove erroneous local repository completely
  2. git config --system core.longpaths true ; to allow long file name
  3. git config --global core.longpaths true ; not sure if this really necessary but I found comments to try it if 2 did not help
  4. git clone "https://github.com/USCPOSH/AMS_KGD.git" ;this locally clones your target repository
  5. On the GitHub Desktop GUI select File/New repository
  6. Enter AMS_KGD in the Name part for repository name
  7. "This directory appears to be a Git repository. Would you like to add this repository instead!" will be reported in red text.
  8. "add this repository" is in blue text (an active link). Click it and a fetch should start the AMS_KGD should be in the repository list. All the best