Skip to content

Commit

Permalink
libhwy: 1.0.7 -> 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
trofi committed Jul 27, 2024
1 parent bd8d034 commit d5c02f7
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkgs/development/libraries/libhwy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@

stdenv.mkDerivation rec {
pname = "libhwy";
version = "1.0.7";
version = "1.2.0";

src = fetchFromGitHub {
owner = "google";
repo = "highway";
rev = version;
hash = "sha256-Z+mAR9nSAbCskUvo6oK79Yd85bu0HtI2aR5THS1EozM=";
hash = "sha256-yJQH5ZkpEdJ6lsTAt6yJSN3TQnVoxNpkbChENaxhcHo=";
};

patches = lib.optional stdenv.hostPlatform.isRiscV
# Adds CMake option HWY_CMAKE_RVV
# https://github.com/google/highway/pull/1743
patches = [
(fetchpatch {
name = "libhwy-add-rvv-optout.patch";
url = "https://github.com/google/highway/commit/5d58d233fbcec0c6a39df8186a877329147324b3.patch";
hash = "sha256-ileSNYddOt1F5rooRB0fXT20WkVlnG+gP5w7qJdBuww=";
});
name = "disable-RVV-runtime-dispatch.patch";
url = "https://github.com/google/highway/commit/c95cc0237d2f7a0f5ca5dc3fb4b5961b2b1dcdfc.patch";
hash = "sha256-oQfyZrjZ9MGcSrFInbbj+0iOLjPng7tgTzli1QTITSg=";
})
];

nativeBuildInputs = [ cmake ninja ];

Expand Down

0 comments on commit d5c02f7

Please sign in to comment.