Skip to content

Commit

Permalink
Use manylinux build in place of bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Jun 5, 2024
1 parent 349c125 commit e98bd8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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-bionic-' + libzim_version + '.tar.gz'
libzim_base_url + 'libzim_linux-x86_64-manylinux-' + libzim_version + '.tar.gz'
])
dest buildDir
overwrite true
Expand All @@ -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-bionic-" + libzim_version + ".tar.gz")
from tarTree(buildDir.path + "/libzim_linux-x86_64-manylinux-" + libzim_version + ".tar.gz")
into buildDir
}

Expand Down Expand Up @@ -155,7 +155,7 @@ tasks.register('copyLibzimHeaderAndSoFiles', Copy) {

copy {
// copying linux_x86_64 so file
from buildDir.path + "/libzim_linux-x86_64-bionic/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
from buildDir.path + "/libzim_linux-x86_64-manylinux/lib/x86_64-linux-gnu/libzim.so." + getActualLibraryVersion(libzim_version)
into buildDir.path
}
}
Expand Down

0 comments on commit e98bd8b

Please sign in to comment.