I noticed the recent check-ins that mistakenly modify Makefile.common; let me suggest a change to scripts/Makefile.common to optionally load scripts/Makefile.local for local configurations:
https://bitbucket.org/khooyp/stp-khooyp/src/f1972c763806/makefile-local
I'll check it in if that sounds good.
Yit
January 10, 2012
From: Khoo Yit Phang <kho...@cs.umd.edu>
To: stp-users <stp-...@googlegroups.com>
Cc: Khoo Yit Phang <kho...@cs.umd.edu>
Sent: Wednesday, 11 January 2012 2:53 PM
Subject: Local configuration in scripts/Makefile.local
Hi Yit,Thanks for working so hard! They look good to me except for the bitblaster-vector-data patch, see below.conditional-march-native: Yes.fix-bitblaster-hash-set: Yes This was me being lazy. Thanks.fix-simplifyingnodefactory-creation: Yes, thanks.
fix-bitblaster-vector-data: This was introduced by Peter Collingbourne to get STP compiling on clang. I don't remember why. We'd need to check if it still compiles on clang / whether this is required.
local-svn-version: thanks.Trev.
Sent: Thursday, 12 January 2012 1:54 AM
Subject: Re: Local configuration in scripts/Makefile.local
std::vector::data() was standardised in C++11, but the C++ standard has
always required vector elements to be stored contiguously (i.e. like
an array) -- see C++98 [lib.vector].
So we can either use &v[0] instead of v.data(), or pass vectors around
as in your patch. I don't really mind which.
I changed these to use vectors and &v[0], and made a few other
changes to fix Clang compilation in r1501.
Thanks,
--
Peter
On Wed, Jan 11, 2012 at 10:46:41AM -0500, Khoo Yit Phang wrote:
So we can either use &v[0] instead of v.data(), or pass vectors around
as in your patch. I don't really mind which.