Skip to content

Commit

Permalink
Update OpenSlide/c-blosc (qupath#1724)
Browse files Browse the repository at this point in the history
Use 1.21.6+01 for blosc (includes linux arm64) and 4.0.0.6 release for openslide

---------

Co-authored-by: Alan O'Callaghan <alan.ocallaghan@outlook.com>
  • Loading branch information
petebankhead and alanocallaghan authored Dec 10, 2024
1 parent 5c68ffd commit 8ddde08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public enum Platform {
MAC("macosx", "darwin-x86_64", "icns", "pkg"),
MAC_AARCH64("macosx", "darwin-aarch64", "icns", "pkg"),
LINUX("linux", "linux-x86_64", "png", "deb"),
LINUX_AARCH64("linux-arm64", "linux-arm64", "png", "deb"),
LINUX_AARCH64("linux", "linux-aarch64", "png", "deb"),
UNKNOWN();

private final String platformName;
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
bioformats = "8.0.1"
bioimageIoSpec = "0.1.0"
omeZarrReader = "0.5.2"
blosc = "1.21.5"
blosc = "1.21.6+01"

commonmark = "0.24.0"
commonsMath3 = "3.6.1"
Expand Down Expand Up @@ -39,7 +39,7 @@ logviewer = "0.2.0"

javadocviewer = "0.1.1"

openslide = "4.0.0.3"
openslide = "4.0.0.6"

picocli = "4.7.6"
qupath-fxtras = "0.1.5"
Expand Down
7 changes: 1 addition & 6 deletions qupath-extension-bioformats/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,7 @@ dependencies {
exclude(group="ome", module="formats-api") // Through bioformats_package
}

// TODO: Don't have linux aarch64 support yet
if (platform == PlatformPlugin.Platform.LINUX_AARCH64) {
println("c-blosc native library not yet provided for linux-arm64")
} else {
implementation("io.github.qupath:blosc:${libs.versions.blosc.get()}:${platform.classifier}")
}
implementation("io.github.qupath:blosc:${libs.versions.blosc.get()}:${platform.classifier}")

// testImplementation("ome:bioformats_package:${bioformatsVersion}")
testImplementation("ome:bio-formats_plugins:${bioformatsVersion}")
Expand Down
6 changes: 1 addition & 5 deletions qupath-extension-openslide/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ val platform = Utils.currentPlatform()
dependencies {
implementation(project(":qupath-core"))
implementation(project(":qupath-gui-fx"))
if (platform == PlatformPlugin.Platform.LINUX_AARCH64) {
println("OpenSlide native libraries not yet available for linux-arm64")
} else {
implementation("io.github.qupath:openslide:${libs.versions.openslide.get()}:${platform.classifier}")
}
implementation("io.github.qupath:openslide:${libs.versions.openslide.get()}:${platform.classifier}")
implementation(libs.jna)
implementation(libs.qupath.fxtras)
}

0 comments on commit 8ddde08

Please sign in to comment.