boost.ver.bump

This commit is contained in:
Rmys
2020-01-07 22:41:13 +03:00
parent e5ac7d83a9
commit afba30e9e1
2 changed files with 21 additions and 13 deletions
+10 -10
View File
@@ -17,15 +17,15 @@ def setup():
shelltools.cd("boost-%s" % get.srcVERSION())
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-36" % get.srcVERSION())
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2.7 --prefix=%s/usr" % get.installDIR())
#shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-36" % get.srcVERSION())
shelltools.cd("../boost-%s-36" % get.srcVERSION())
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} ;@' \
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.cd("../boost-%s-38" % get.srcVERSION())
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}} ;@' \
-i bootstrap.sh")
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.6 --prefix=%s/usr" % get.installDIR())
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.8 --prefix=%s/usr" % get.installDIR())
shelltools.cd("..")
@@ -42,7 +42,7 @@ def build():
cflags=-fno-strict-aliasing \
--layout=system")
shelltools.cd("../boost-%s-36" % get.srcVERSION())
shelltools.cd("../boost-%s-38" % get.srcVERSION())
shelltools.system("./b2 \
variant=release \
debug-symbols=off \
@@ -50,7 +50,7 @@ def build():
runtime-link=shared \
link=shared,static \
toolset=gcc \
python=3.6 \
python=3.8 \
cflags=-fno-strict-aliasing \
--layout=system")
@@ -58,14 +58,14 @@ def build():
def install():
pisitools.dobin("b2")
pisitools.dobin("bjam")
pisitools.dobin("tools/build/src/engine/bjam")
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared")
shelltools.cd("../boost-%s-36" % get.srcVERSION())
shelltools.cd("../boost-%s-38" % get.srcVERSION())
pisitools.dobin("b2")
pisitools.dobin("bjam")
pisitools.dobin("tools/build/src/engine/bjam")
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared")