Hi there, I have been trying to push my synthesize...
# caravel
l
Hi there, I have been trying to push my synthesized files into efabless git server. Our team's design files are quite large (total >2GB) so I need to use Git LFS; but while pushing normal code to server works well, the
git push
for Git LFS files just did not work. Note that I can still push Git LFS files into Github. I would really appreciate help to fix this problem. Thanks!
t
We avoid using LFS at all costs. The workarounds are to use the best compression you can on any large file, and if that's not enough, then split the file into parts that are small enough not to trigger the need for LFS. You should be able to recover the original file by concatenation of the parts. If it's GDS that's the big file, then use Oasis instead. If the file is something that can be re-created, then don't push it to the repository. Those are all the recommendations I have.
l
Thanks for your reply! But could I ask how to concatenate all of the files after pushing it to efabless server? Do we have like a remote terminal?
m
The scripts are setup to automatically recognize split files. You shouldn’t have to do anything.
l
Then which command should I use to split the files?
t
There is a linux
split
command; it has various options and I don't think the automation understands all possible formats; The caravel build system itself creates split files in this format:
Copy code
caravel_0002001d.gds.gz.00.split 
caravel_0002001d.gds.gz.01.split 
caravel_0002001d.gds.gz.02.split 
caravel_0002001d.gds.gz.03.split 
caravel_0002001d.gds.gz.04.split
👀 1
❤️ 1
m
make compress
❤️ 1
t
Oh, I should have known that there's a "make" target for that.