Skip to content

Commit d552816

Browse files
committed
Simplify script
and use two processes for ccache compilation
1 parent 65115e0 commit d552816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/osx-deps

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cached_download() {
2525
shasum=$3
2626
path="$HOME/Downloads/$file"
2727
if [[ ! -f "$path"
28-
|| "$(shasum -a 256 "$HOME/Downloads/$file" | awk '{print $1}')" != "$shasum" ]]
28+
|| "$(shasum -a 256 "$path" | awk '{print $1}')" != "$shasum" ]]
2929
then
3030
curl -L -o "$path" "$url"
3131
fi
@@ -47,7 +47,7 @@ cached_download ccache-3.7.11.tar.xz \
4747
tar xf "$HOME"/Downloads/ccache-3.7.11.tar.xz
4848
pushd ccache-3.7.11
4949
./configure --prefix=/usr/local
50-
make
50+
make -j2
5151
make install
5252
popd
5353
for compiler in clang clang++ cc gcc c++ g++; do

0 commit comments

Comments
 (0)