Use linux build in place of manylinux.

This commit is contained in:
MohitMaliFtechiz 2024-06-06 15:34:26 +05:30
parent e98bd8bd8c
commit 4747f3a3e5

View File

@ -93,7 +93,7 @@ tasks.register('downloadLibzimSoAndHeaderFiles', Download) {
libzim_base_url + 'libzim_android-arm64-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_android-x86-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_android-x86_64-' + libzim_version + '.tar.gz',
libzim_base_url + 'libzim_linux-x86_64-manylinux-' + libzim_version + '.tar.gz'
libzim_base_url + 'libzim_linux-x86_64-' + libzim_version + '.tar.gz'
])
dest buildDir
overwrite true
@ -114,7 +114,7 @@ tasks.register('unzipLibzim', Copy) {
from tarTree(buildDir.path + "/libzim_android-x86_64-" + libzim_version + ".tar.gz")
into buildDir
// unzip linux x86_64
from tarTree(buildDir.path + "/libzim_linux-x86_64-manylinux-" + libzim_version + ".tar.gz")
from tarTree(buildDir.path + "/libzim_linux-x86_64-" + libzim_version + ".tar.gz")
into buildDir
}
@ -155,7 +155,7 @@ tasks.register('copyLibzimHeaderAndSoFiles', Copy) {
copy {
// copying linux_x86_64 so file
from buildDir.path + "/libzim_linux-x86_64-manylinux/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
from buildDir.path + "/libzim_linux-x86_64/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
into buildDir.path
}
}