@@ -32,8 +32,8 @@ data class RustPlatform(
3232}
3333
3434val RUST_TARGETS = listOf (
35- RustPlatform (" aarch64-apple-darwin" , " osx" , " aarch64" , listOf ()), // macOS arm64
36- RustPlatform (" aarch64-unknown-linux-gnu" , " linux" , " aarch64" , listOf (" libUnityTranslateLib.so" )), // Linux aarch64
35+ // RustPlatform("aarch64-apple-darwin", "osx", "aarch64", listOf()), // macOS arm64
36+ // RustPlatform("aarch64-unknown-linux-gnu", "linux", "aarch64", listOf("libUnityTranslateLib.so")), // Linux aarch64
3737 RustPlatform (" x86_64-pc-windows-msvc" , " windows" , " amd64" , listOf (" UnityTranslateLib.dll" )), // Windows x86-64
3838 RustPlatform (" x86_64-unknown-linux-gnu" , " linux" , " amd64" , listOf (" libUnityTranslateLib.so" )), // Linux x86-64
3939)
@@ -71,18 +71,18 @@ val ct2Files = mapOf(
7171 StringBased (" ctranslate2/cudnn64_9.dll" , " cudnn64_9.dll" ),
7272 StringBased (" ctranslate2/libiomp5md.dll" , " libiomp5md.dll" )
7373 ),
74- Platform (" macOS" , " arm64" ) to listOf (
74+ /* Platform("macOS", "arm64") to listOf(
7575 RegexBased(Regex("ctranslate2/\\.dylibs/libctranslate2\\.\\d\\.\\d\\.\\d\\.dylib"), "libctranslate2.dylib")
76- ),
76+ ),*/
7777 Platform (" Linux" , " auto64" ) to listOf (
7878 RegexBased (Regex (" ctranslate2\\ .libs/libctranslate2-\\ w+\\ .so\\ .\\ d\\ .\\ d\\ .\\ d" ), " libctranslate2.so" ),
7979 RegexBased (Regex (" ctranslate2\\ .libs/libcudnn-\\ w+\\ .so\\ .\\ d\\ .\\ d\\ .\\ d" ), " libcudnn.so" ),
8080 RegexBased (Regex (" ctranslate2\\ .libs/libgomp-\\ w+\\ .so\\ .\\ d\\ .\\ d\\ .\\ d" ), " libgomp.so" ),
8181 ),
82- Platform (" Linux" , " aarch64" ) to listOf (
82+ /* Platform("Linux", "aarch64") to listOf(
8383 RegexBased(Regex("ctranslate2\\.libs/libctranslate2-\\w+\\.so\\.\\d\\.\\d\\.\\d"), "libctranslate2.so"),
8484 RegexBased(Regex("ctranslate2\\.libs/libgomp-\\w+\\.so\\.\\d\\.\\d\\.\\d"), "libgomp.so"),
85- )
85+ )*/
8686)
8787
8888tasks {
0 commit comments