Skip to content

Commit

Permalink
alive2-regehr: 0-unstable-2024-12-25 -> 0-unstable-2025-01-10
Browse files Browse the repository at this point in the history
rewrites alive2-regehr to be in terms of alive2-aslp, after
the aslp features have been merged into regehr's branch
  • Loading branch information
katrinafyi committed Jan 13, 2025
1 parent 56dedb7 commit f638b74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
8 changes: 5 additions & 3 deletions llvm-translator/alive2-aslp.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib
, alive2-regehr
, alive2-aslp
, llvmPackages
, fetchFromGitHub
, aslp-cpp
Expand All @@ -8,10 +8,10 @@
, perlPackages
, makeWrapper
, runCommand
, alive2-aslp
, alive2
}:

(alive2-regehr.override { inherit llvmPackages; }).overrideAttrs (prev: {
(alive2.override { inherit llvmPackages; }).overrideAttrs (prev: {
pname = "alive2-aslp";
version = "0-unstable-2024-12-26";

Expand All @@ -25,6 +25,8 @@
hash = "sha256-p17JsM6IJeaX35QLo8tXKmAVqtaWblxiMmS2ZM14Tqo=";
};

patches = [ ]; # undoing patch needed for upstream alive2

CXXFLAGS = (prev.CXXFLAGS or "") + " -Wno-error=deprecated-declarations";

cmakeFlags = prev.cmakeFlags
Expand Down
13 changes: 5 additions & 8 deletions llvm-translator/alive2-regehr.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
{ lib
, alive2
, alive2-aslp
, stdenv
, llvmPackages
, fetchFromGitHub
}:

(alive2.override { inherit llvmPackages; }).overrideAttrs (prev: {
(alive2-aslp.override { inherit llvmPackages; }).overrideAttrs (prev: {
pname = "alive2-regehr";
version = "0-unstable-2024-12-25";
version = "0-unstable-2025-01-10";

src = fetchFromGitHub {
owner = "regehr";
repo = "alive2";
rev = "2728ecaafd0572174150652f9910b73b778c2c1e";
hash = "sha256-OQw0GYw0PNYtb/d9ZQfHVAhuxi1k6IQJs/pY8IHBxac=";
rev = "a5642ad047a69dcf318a8c4396dc68f668b5d0a1";
hash = "sha256-qW1w/M0pfHwRupd1J+PHe1rzEc+9kkXSuOyHmsBPgrE=";
};

patches = [ ];
CXXFLAGS = (prev.CXXFLAGS or "")
+ lib.optionalString (!stdenv.isDarwin) " -Wno-error=maybe-uninitialized";
})

0 comments on commit f638b74

Please sign in to comment.