From: Clifford Wolf Date: Sun, 20 Jul 2014 23:00:39 +0000 (+0200) Subject: Using relative path names in minisat headers X-Git-Tag: yosys-0.4~513 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6b3f4e0896a4447bad94d816c8677d01cea1e75;p=yosys.git Using relative path names in minisat headers --- diff --git a/libs/minisat/UPDATE.sh b/libs/minisat/UPDATE.sh index 68c7c60ee..fa72ba213 100644 --- a/libs/minisat/UPDATE.sh +++ b/libs/minisat/UPDATE.sh @@ -6,7 +6,7 @@ rm minisat_upstream/minisat/*/Main.cc mv minisat_upstream/LICENSE minisat_upstream/minisat/*/*.{h,cc} . rm -rf minisat_upstream -sed -i -e 's,^#include *"minisat/[^/]\+,#include "libs/minisat,' *.cc *.h +sed -i -e 's,^#include *"minisat/[^/]\+/\?,#include ",' *.cc *.h sed -i -e 's/Minisat::memUsedPeak()/Minisat::memUsedPeak(bool)/' System.cc sed -i -e 's/PRI[iu]64/ & /' Options.h Solver.cc sed -i -e '1 i #define __STDC_LIMIT_MACROS' *.cc