summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2017-10-29 23:46:05 -0700
committerJames R. Barlow <jim@purplerock.ca>2017-10-29 23:46:05 -0700
commit8140143e95ed541fc6814e6d61ded75e5a0d58c6 (patch)
treea12ca2524e3d257c6e0b14a3c1a8a787e652cbd7 /.travis.yml
parent09a9b81217df420572b83c95a2aa6b871df0df37 (diff)
While using CXX=c++ allows pogeo toolchain to build, auditwheel rejects
Suspect that it would work to compile & link qpdf under the manylinux1 toolchain and then build pikepdf on its own with g++-7.2, since that is equivalent how Parselmouth does it. For now, wait for cibuildwheel to gain Docker image support and then fork the image, because building with two different toolchains exceeds cibuildwheel's capabilities. Message: auditwheel: error: cannot repair "/tmp/built_wheel/pikepdf-0.1.dev50+g09a9b81-cp35-cp35m-linux_x86_64.whl" to "manylinux1_x86_64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 7bb777d..df3392d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,13 +59,13 @@ matrix:
install:
- pip install pybind11
- pip install cibuildwheel # https://github.com/jbarlow83/cibuildwheel/archive/master.zip
- - mkdir gcc-x86_64 && wget -q https://github.com/Noctem/pogeo-toolchain/releases/download/v1.4/gcc-7.2-binutils-2.29-centos5-x86-64.tar.bz2 -O - | tar xj -C gcc-x86_64 --strip-components=1
+ #- mkdir gcc-x86_64 && wget -q https://github.com/Noctem/pogeo-toolchain/releases/download/v1.4/gcc-7.2-binutils-2.29-centos5-x86-64.tar.bz2 -O - | tar xj -C gcc-x86_64 --strip-components=1
#- mkdir ccache && wget -q https://www.samba.org/ftp/ccache/ccache-3.3.4.tar.bz2 -O - | tar xj -C ccache --strip-components=1
- mkdir qpdf && wget -q https://github.com/qpdf/qpdf/archive/release-qpdf-7.0.0.tar.gz -O - | tar xz -C qpdf --strip-components=1
script:
#- export CIBW_ENVIRONMENT='ARCH=x86_64 PATH="`pwd`/gcc-$ARCH/bin:$PATH" CC="ccache cc" CXX="ccache c++" CXXFLAGS="-static-libstdc++" LD_LIBRARY_PATH="`pwd`/gcc-$ARCH/lib" CCACHE_BASEDIR=`python -c "import tempfile; import os; print(os.path.realpath(tempfile.gettempdir()))"` CCACHE_DIR=/host'$HOME'/.ccache'
#- export CIBW_BEFORE_BUILD='{pip} install pybind11 && [ -d ccache/$ARCH ] || (unset CC CXX CXXFLAGS && mkdir ccache/$ARCH && cd ccache/$ARCH && ../configure && make install)'
- - export CIBW_ENVIRONMENT='ARCH=x86_64 PATH="`pwd`/gcc-$ARCH/bin:$PATH" CC="cc" CXX="c++" CXXFLAGS="-static-libstdc++" LD_LIBRARY_PATH="`pwd`/gcc-$ARCH/lib:$LD_LIBRARY_PATH"'
+ #- export CIBW_ENVIRONMENT='ARCH=x86_64 PATH="`pwd`/gcc-$ARCH/bin:$PATH" CC="cc" CXX="c++" CXXFLAGS="-static-libstdc++" LD_LIBRARY_PATH="`pwd`/gcc-$ARCH/lib:$LD_LIBRARY_PATH"'
- export CIBW_BEFORE_BUILD='yum install -y libjpeg-devel zlib-devel && cd qpdf && ./autogen.sh && ./configure && make install && cd .. && {pip} install pybind11'
- export CIBW_SKIP="cp27-* cp33-* cp34-* *i686"
- cibuildwheel