nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python313Packages.polars: fix build with Rust 1.88.0

K900 55b0d384 0e49a8d5

+19
+15
pkgs/development/python-modules/polars/avx512.patch
··· 1 + diff --git a/crates/polars-compute/src/lib.rs b/crates/polars-compute/src/lib.rs 2 + index ebe1ef753..6e1eee897 100644 3 + --- a/crates/polars-compute/src/lib.rs 4 + +++ b/crates/polars-compute/src/lib.rs 5 + @@ -5,6 +5,10 @@ 6 + all(feature = "simd", target_arch = "x86_64"), 7 + feature(stdarch_x86_avx512) 8 + )] 9 + +#![cfg_attr( 10 + + all(feature = "simd", target_arch = "x86_64"), 11 + + feature(avx512_target_feature) 12 + +)] 13 + 14 + use arrow::types::NativeType; 15 +
+4
pkgs/development/python-modules/polars/default.nix
··· 59 59 hash = "sha256-OZ7guV/uxa3jGesAh+ubrFjQSNVp5ImfXfPAQxagTj0="; 60 60 }; 61 61 62 + patches = [ 63 + ./avx512.patch 64 + ]; 65 + 62 66 # Do not type-check assertions because some of them use unstable features (`is_none_or`) 63 67 postPatch = '' 64 68 while IFS= read -r -d "" path ; do