Merge pull request #8355 from Rmys/master

boost rebuild
This commit is contained in:
Rmys
2020-04-06 16:05:17 +03:00
committed by GitHub
2 changed files with 28 additions and 7 deletions
+14 -6
View File
@@ -19,13 +19,21 @@ def setup():
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % 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-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc \
--with-icu \
--with-python=/usr/bin/python2.7 \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("../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}} ;@' \ shelltools.system("./bootstrap.sh --with-toolset=gcc \
-i bootstrap.sh") --with-icu \
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.8 --prefix=%s/usr" % get.installDIR()) --with-python=/usr/bin/python3 \
--with-libraries=python \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("..") shelltools.cd("..")
@@ -71,4 +79,4 @@ def install():
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR()) shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared") shelltools.system("./b2 install threading=multi link=shared")
# some packages need this library as : libboost_python3.so # some packages need this library as : libboost_python3.so
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so") pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")
+14 -1
View File
@@ -16,6 +16,7 @@
<Archive sha1sum="88866e4075e12255e7a7189d0b8a686e0b1ee9c1" type="tarbz2">https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2</Archive> <Archive sha1sum="88866e4075e12255e7a7189d0b8a686e0b1ee9c1" type="tarbz2">https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>bzip2</Dependency> <Dependency>bzip2</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>icu4c-devel</Dependency> <Dependency>icu4c-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
@@ -23,6 +24,8 @@
<!-- libsxlt is needed for xsltproc --> <!-- libsxlt is needed for xsltproc -->
<Dependency>libxslt</Dependency> <Dependency>libxslt</Dependency>
<!--Dependency>openmpi-devel</Dependency--> <!--Dependency>openmpi-devel</Dependency-->
<Dependency>python-numpy</Dependency>
<Dependency>python3-numpy</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!--<Patch>pythonfix.patch</Patch> --> <!--<Patch>pythonfix.patch</Patch> -->
@@ -34,6 +37,7 @@
<Summary>Peer-reviewed portable C++ source libraries</Summary> <Summary>Peer-reviewed portable C++ source libraries</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>zlib</Dependency> <Dependency>zlib</Dependency>
<Dependency>zstd</Dependency>
<Dependency>bzip2</Dependency> <Dependency>bzip2</Dependency>
<Dependency>icu4c</Dependency> <Dependency>icu4c</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
@@ -69,6 +73,7 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/libboost_numpy27.so*</Path>
<Path fileType="library">/usr/lib/libboost_python27.so*</Path> <Path fileType="library">/usr/lib/libboost_python27.so*</Path>
</Files> </Files>
</Package> </Package>
@@ -81,11 +86,19 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/libboost_numpy38.so*</Path>
<Path fileType="library">/usr/lib/libboost_python38.so*</Path> <Path fileType="library">/usr/lib/libboost_python38.so*</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="12">
<Date>2020-04-06</Date>
<Version>1.72.0</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="11"> <Update release="11">
<Date>2020-02-10</Date> <Date>2020-02-10</Date>
<Version>1.72.0</Version> <Version>1.72.0</Version>
@@ -164,4 +177,4 @@
<Email>karaguzelibrahim@gmail.com</Email> <Email>karaguzelibrahim@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>