예제 #1
0
def make():
  monade.environ.pwd = FileSystem.join(monade.environ.src, monade.technicolor.local)
  if monade.environ.target == System.MACOS:
    monade.environ.set('MONADE_SDK', '')
    monade.environ.set('MONADE_ARCH', '')
    # XXX AWFUL
    biroute = '/Users/dmp/buildd/stage.webitup.org/technicolor-yawn/0.9/src/Darwin/boost_1_50_0'
    # pre = 'export PATH=/Users/dmp/buildd/deploy.webitup.org/client/Darwin/bin:$PATH; '
    pre = 'export BOOST_ROOT="%s"' % biroute
    # monade.environ.useclang()
  opts = 'geoip=static \
timer=boost \
ipv6=on \
iconv=on \
asserts=off \
windows-version=xp \
dht-support=on \
encryption=tommath \
resolve-countries=on \
character-set=unicode \
deprecated-functions=off \
logging=none'

  # --buildid=roxee 

  # Dynamic boost
  blink = 'static' if monade.environ.static else 'shared'

  # --without-python
  monade.b2('debug-symbols=on --layout=system --without-python boost=system boost-link=%s runtime-link=shared \
    define="BOOST_FILESYSTEM_VERSION=2" %s install' % (blink, opts), preexec = pre)
예제 #2
0
def make():
#   add = "export PTW32_INCLUDE=/Users/webitup/buildd/technicolor-yawn/0.8/deploy/Windows/include\
# export PTW32_LIB=/Users/webitup/buildd/technicolor-yawn/0.8/deploy/Windows/lib"

  if monade.environ.target == System.MACOS:
    monade.environ.useclang()
  # iostreams --with-iostreams 
  # --buildid=roxee 

  # call b2 -q --build-dir=%BUILDD_TMP% --prefix=%BUILDD_DEPLOY% --toolset=%ROXEE_COMPILER% link=%ROXEE_LINK% variant=%ROXEE_TYPE% %COMMONBOOST% install


  monade.b2('--layout=system debug-symbols=on --with-system --with-filesystem --with-thread --with-date_time threading=multi runtime-link=shared hardcode-dll-paths=true install')