Commit 215139ef authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Reduce CI parellelism

parent 046a379e
......@@ -14,7 +14,7 @@ RUN cp LICENSE debian/copyright
ADD git2debchangelog.sh .
RUN /bin/bash git2debchangelog.sh > debian/changelog
RUN ./autogen.sh
RUN dpkg-buildpackage -us -uc -j8
RUN dpkg-buildpackage -us -uc -j2
WORKDIR ..
RUN mkdir build
RUN mv python3-graph-tool*.deb build/
......
......@@ -6,7 +6,7 @@ include /usr/share/cdbs/1/class/autotools.mk
export SPARSEHASH_CFLAGS=-I/usr/include
export SPARSEHASH_LIBS=-L/usr/lib
export CXXFLAGS=-flto=8 -ffunction-sections -fdata-sections
export CXXFLAGS=-flto=2 -ffunction-sections -fdata-sections
export LDFLAGS=-Wl,--gc-sections
DEB_CONFIGURE_EXTRA_FLAGS += --enable-openmp --docdir=/usr/share/doc/python3-graph-tool PYTHON=python3 --with-sparsehash-prefix=google
......@@ -29,7 +29,7 @@ WORKDIR ${MAKEPKG_ROOT}
USER ${MAKEPKG_USER}
ADD PKGBUILD PKGBUILD
RUN makepkg PKGBUILD --needed GIT_REF=$GIT_REF CXXFLAGS="-mtune=generic -O3 -pipe -flto=8 -ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections"
RUN makepkg PKGBUILD --needed GIT_REF=$GIT_REF CXXFLAGS="-mtune=generic -O3 -pipe -flto=2 -ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections"
USER root
RUN mv -v "${MAKEPKG_ROOT}/"python-graph-tool-*-x86_64.pkg.tar.xz /tmp/python-graph-tool.pkg.tar.xz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment