Skip to content

Commit

Permalink
Add bundling for apple silicon macs
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Nov 18, 2021
1 parent 6361849 commit 02d1fa3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions upload_clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ def OnMac():
],
}
},
'arm64-apple-darwin': {
'url': 'https://github.com/ycm-core/llvm/'
'releases/download/{llvm_version}/{llvm_package}',
'format': 'lzma',
'llvm_package': 'clang+llvm-{llvm_version}-{os_name}.tar.xz',
'clangd_package': {
'name': 'clangd-{llvm_version}-{os_name}.tar.bz2',
'files_to_copy': [
os.path.join( 'bin', 'clangd' ),
]
},
'libclang_package': {
'name': 'libclang-{llvm_version}-{os_name}.tar.bz2',
'files_to_copy': [
os.path.join( 'lib', 'libclang.dylib' ),
],
}
},
'x86_64-unknown-linux-gnu': {
'url': ( 'https://github.com/ycm-core/llvm/'
'releases/download/{llvm_version}/{llvm_package}' ),
Expand Down

0 comments on commit 02d1fa3

Please sign in to comment.