Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scikit-learn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ian Johnson
scikit-learn
Commits
84b36e00
Commit
84b36e00
authored
8 years ago
by
Loic Esteve
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[MRG] Use ccache on Travis (#9006)
parent
2f661d0e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-0
1 addition, 0 deletions
.travis.yml
build_tools/travis/install.sh
+9
-6
9 additions, 6 deletions
build_tools/travis/install.sh
with
10 additions
and
6 deletions
.travis.yml
+
1
−
0
View file @
84b36e00
...
...
@@ -7,6 +7,7 @@ cache:
apt
:
true
directories
:
-
$HOME/.cache/pip
-
$HOME/.ccache
dist
:
trusty
...
...
This diff is collapsed.
Click to expand it.
build_tools/travis/install.sh
+
9
−
6
View file @
84b36e00
...
...
@@ -13,15 +13,16 @@
set
-e
# Fix the compilers to workaround avoid having the Python 3.4 build
# lookup for g++44 unexpectedly.
export
CC
=
gcc
export
CXX
=
g++
echo
'List files from cached directories'
echo
'pip:'
ls
$HOME
/.cache/pip
export
CC
=
/usr/lib/ccache/gcc
export
CXX
=
/usr/lib/ccache/g++
# Useful for debugging how ccache is used
# export CCACHE_LOGFILE=/tmp/ccache.log
# ~60M is used by .ccache when compiling from scratch at the time of writing
ccache
--max-size
100M
--show-stats
if
[[
"
$DISTRIB
"
==
"conda"
]]
;
then
# Deactivate the travis-provided virtual environment and setup a
...
...
@@ -99,8 +100,10 @@ try:
except ImportError:
pass
"
python setup.py develop
ccache
--show-stats
# Useful for debugging how ccache is used
# cat $CCACHE_LOGFILE
fi
if
[[
"
$RUN_FLAKE8
"
==
"true"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment