ship libssl and libcrypto in macos (#1097)

This commit is contained in:
Henry Ruhs
2026-05-11 13:54:52 +02:00
committed by henryruhs
parent 450075e20e
commit 9321b41e8e
3 changed files with 30 additions and 10 deletions
+22 -2
View File
@@ -57,16 +57,36 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'datachannel':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libdatachannel.hash'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libdatachannel.hash'),
'path': resolve_relative_path('../.libraries/libdatachannel.hash')
},
'crypto':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libcrypto.hash'),
'path': resolve_relative_path('../.libraries/libcrypto.hash')
},
'ssl':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libssl.hash'),
'path': resolve_relative_path('../.libraries/libssl.hash')
}
},
'sources':
{
'datachannel':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libdatachannel.dylib'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libdatachannel.dylib'),
'path': resolve_relative_path('../.libraries/libdatachannel.dylib')
},
'crypto':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libcrypto.dylib'),
'path': resolve_relative_path('../.libraries/libcrypto.dylib')
},
'ssl':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libssl.dylib'),
'path': resolve_relative_path('../.libraries/libssl.dylib')
}
}
}
+4 -4
View File
@@ -17,7 +17,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'opus':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'linux/libopus.hash'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'linux/libopus.hash'),
'path': resolve_relative_path('../.libraries/libopus.hash')
}
},
@@ -25,7 +25,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'opus':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'linux/libopus.so'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'linux/libopus.so'),
'path': resolve_relative_path('../.libraries/libopus.so')
}
}
@@ -38,7 +38,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'opus':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libopus.hash'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libopus.hash'),
'path': resolve_relative_path('../.libraries/libopus.hash')
}
},
@@ -46,7 +46,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'opus':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libopus.dylib'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libopus.dylib'),
'path': resolve_relative_path('../.libraries/libopus.dylib')
}
}
+4 -4
View File
@@ -17,7 +17,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'vpx':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'linux/libvpx.hash'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'linux/libvpx.hash'),
'path': resolve_relative_path('../.libraries/libvpx.hash')
}
},
@@ -25,7 +25,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'vpx':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'linux/libvpx.so'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'linux/libvpx.so'),
'path': resolve_relative_path('../.libraries/libvpx.so')
}
}
@@ -37,7 +37,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'vpx':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libvpx.hash'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libvpx.hash'),
'path': resolve_relative_path('../.libraries/libvpx.hash')
}
},
@@ -45,7 +45,7 @@ def create_static_library_set() -> Optional[LibrarySet]:
{
'vpx':
{
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0', 'macos/libvpx.dylib'),
'url': resolve_download_url_by_provider('huggingface', 'libraries-4.0.0-a', 'macos/libvpx.dylib'),
'path': resolve_relative_path('../.libraries/libvpx.dylib')
}
}