Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
80d54833
Commit
80d54833
authored
Mar 30, 2020
by
Tiago Peixoto
Browse files
CI: enable -flto to speedup compilation
parent
9b9d74ee
Pipeline
#598
passed with stage
in 646 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
80d54833
job_gcc_amd64
:
script
:
-
./autogen.sh
-
./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
-
./configure CXX="ccache g++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
CXXFLAGS="-O3 -flto=12" LDFLAGS="-flto=12"
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
...
...
@@ -14,7 +14,7 @@ job_gcc_amd64:
job_clang_amd64
:
script
:
-
./autogen.sh
-
./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
-
./configure CXX="ccache clang++" PYTHON=python3 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
CXXFLAGS="-O3 -flto" LDFLAGS="-flto"
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment