z3_opt: remove and replace with z3

Z3 has supported optimization features since the 4.4.x release, so this can be
removed.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp
2017-09-02 04:15:20 -05:00
parent 583ebc086c
commit 54ae0aa1b0
3 changed files with 2 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, makeWrapper
, llvmPackages_4, hiredis, z3_opt, gtest
, llvmPackages_4, hiredis, z3, gtest
}:
let
@@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
cp -v ./souper $out/bin/
cp -v ./clang-souper $out/bin/
wrapProgram "$out/bin/souper" \
--add-flags "-z3-path=\"${z3_opt}/bin/z3\""
--add-flags "-z3-path=\"${z3}/bin/z3\""
'';
meta = with stdenv.lib; {