Skip to content

Work around too-large LLVM files #7

@dscho

Description

@dscho

Latest night's sync failed with one error and two warnings:

[...]
+ git push origin refs/heads/main
remote: warning: File clangarm64/bin/llvm-exegesis.exe is 78.99 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB        
remote: warning: File clangarm64/bin/libclang-cpp.dll is 52.36 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB        
remote: error: Trace: 309641135192764786c9dc4a0d2bbb1accf9f8214e1fc5d81d84470a67062f34        
remote: error: See https://gh.io/lfs for more information.        
remote: error: File clangarm64/bin/libLLVM-16.dll is 103.60 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com./
[...]

Unfortunately, there is no way around the 100MB restriction (other than going the Git LFS route).

One possibility to address this that comes to my mind is to store a compressed libLLVM-16.dll.gz (it compresses down to 34MB via gzip-1) and uncompress it via /etc/profile.d/<something> (and add the uncompressed file to .gitignore).

/cc @dennisameling

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions