yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01823
[Branch ~yade-dev/yade/trunk] Rev 1721: SConstruct: remove obsolete (unused) standalone openmp option
------------------------------------------------------------
revno: 1721
committer: Václav Šmilauer <vaclav@flux>
branch nick: trunk
timestamp: Sat 2009-08-22 21:29:31 +0200
message:
SConstruct: remove obsolete (unused) standalone openmp option
modified:
SConstruct
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'SConstruct'
--- SConstruct 2009-08-20 09:38:22 +0000
+++ SConstruct 2009-08-22 19:29:31 +0000
@@ -109,9 +109,9 @@
print '@@@ Using profile',profile,'('+optsFile+') @@@'
# defaults for various profiles
-if profile=='default': defOptions={'debug':1,'variant':'','optimize':0,'openmp':False}
-elif profile=='opt': defOptions={'debug':0,'variant':'-opt','optimize':1,'openmp':False}
-else: defOptions={'debug':0,'optimize':0,'variant':'-'+profile,'openmp':True}
+if profile=='default': defOptions={'debug':1,'variant':'','optimize':0}
+elif profile=='opt': defOptions={'debug':0,'variant':'-opt','optimize':1}
+else: defOptions={'debug':0,'optimize':0,'variant':'-'+profile}
opts=Variables(optsFile)
@@ -133,7 +133,6 @@
BoolVariable('debug', 'Enable debugging information and disable optimizations',defOptions['debug']),
BoolVariable('gprof','Enable profiling information for gprof',0),
BoolVariable('optimize','Turn on heavy optimizations',defOptions['optimize']),
- BoolVariable('openmp','Compile with openMP parallelization support',defOptions['openmp']),
ListVariable('exclude','Yade components that will not be built','none',names=['qt3','gui','extra','common','dem','fem','lattice','mass-spring','realtime-rigidbody','snow']),
EnumVariable('PGO','Whether to "gen"erate or "use" Profile-Guided Optimization','',['','gen','use'],{'no':'','0':'','false':''},1),
# OK, dummy prevents bug in scons: if one selects all, it says all in scons.config, but without quotes, which generates error.