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
256ffe0e
Commit
256ffe0e
authored
Oct 07, 2017
by
xoviat
Committed by
GitHub
Oct 07, 2017
Browse files
osx_utils: add activate_ccache
parent
8156f647
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
osx_utils.sh
osx_utils.sh
+10
-0
No files found.
osx_utils.sh
View file @
256ffe0e
...
@@ -340,3 +340,13 @@ function install_pkg_config {
...
@@ -340,3 +340,13 @@ function install_pkg_config {
# https://github.com/matthew-brett/multibuild/issues/24#issue-221951587
# https://github.com/matthew-brett/multibuild/issues/24#issue-221951587
command
-v
pkg-config
>
/dev/null 2>&1
||
brew
install
pkg-config
command
-v
pkg-config
>
/dev/null 2>&1
||
brew
install
pkg-config
}
}
function
activate_ccache
{
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
}
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