Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
3df0d7fd
Commit
3df0d7fd
authored
Sep 25, 2017
by
xoviat
Committed by
GitHub
Sep 25, 2017
Browse files
osx: link up ccache
This installs ccache from homebrew, activates it, and verfies its operation.
parent
4936bf7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
travis_osx_steps.sh
travis_osx_steps.sh
+10
-0
No files found.
travis_osx_steps.sh
View file @
3df0d7fd
...
...
@@ -13,6 +13,16 @@ source $MULTIBUILD_DIR/library_builders.sh
# config.sh can override any function defined here.
function
before_install
{
if
[
$USE_CCACHE
==
1
]
;
then
brew
install
ccache
export
PATH
=
/usr/local/opt/ccache/libexec:
$PATH
export
CCACHE_MAXSIZE
=
200M
export
CCACHE_CPP2
=
1
# Prove to the developer that ccache is activated
which clang
fi
export
CC
=
clang
export
CXX
=
clang++
get_macpython_environment
$MB_PYTHON_VERSION
venv
...
...
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