]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
No longer default to -m32, causes too many problems
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 28 Nov 2010 02:53:02 +0000 (02:53 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 28 Nov 2010 02:53:02 +0000 (02:53 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1029 e59a4935-1847-0410-ae03-e826735625c1

scripts/Makefile.common

index 955bbaecc9272d1de1b3ef6d5ee89b9e0fa8b06b..71292bfafdd861d6672b106822d1ce4d6a8fc5f2 100644 (file)
 #OPTIMIZE      = -O3 -march=native -fomit-frame-pointer # Maximum optimization
 #OPTIMIZE      = -O3 -march=native -DNDEBUG -DLESSBYTES_PERNODE
 OPTIMIZE      = -O3  -g            # Maximum optimization
-CFLAGS_M32   = -m32
+
+
+#When solving array problems STP creates lots of objects during the conversion to CNF. If STP is compiled 
+#as a 32-bit executable, then these objects are about half the size than they are if STP is compiled as a 64-bit
+#program. That's because lots of the data in the objects are pointers to other objects.  So, if you meet the 
+#following criteria you may want to enable -m32 on your 64-bit machine:
+#1) You are solving array problems. Problems without arrays use another CNF conversion scheme.
+#2) You need STP to use about half the memory.
+#CFLAGS_M32   = -m32
 
 #-fno-inline
 CFLAGS_BASE   = $(OPTIMIZE)