Skip to content

Commit

Permalink
Fix Linux ppc64le build.
Browse files Browse the repository at this point in the history
Fix Linux ppc64le build.
  • Loading branch information
ghuls committed Jul 8, 2024
1 parent 908396a commit 65381a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ crate-type = ["cdylib"]
bgzip = { git = "https://github.com/informationsea/bgzip-rs/", rev = "4492b5d6abb3e191c2eb007f148b704b654d528e", default-features = false, features = ["rust_backend", "rayon", "log"] }
itertools = "0.12.1"
pyo3 = { version = "0.20.2", features = ["abi3-py38", "extension-module"] }
rust-htslib = { version = "0.45.0", default-features = false, features = ["libdeflate"] }

[target.'cfg(not(all(target_os = "linux", target_arch = "powerpc64")))'.dependencies]
rust-htslib = { version = "0.47.0", default-features = false, features = ["libdeflate"] }
[target.'cfg(all(target_os = "linux", target_arch = "powerpc64"))'.dependencies]
rust-htslib = { version = "0.47.0", default-features = false }

0 comments on commit 65381a7

Please sign in to comment.