Skip to content

Commit

Permalink
install ccache and make from Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Aug 18, 2021
1 parent 1325061 commit fda9065
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/macos_buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ case "$1" in
export VCPKG_OVERLAY_TRIPLETS="${BUILDENV_PATH}/overlay/triplets"
export VCPKG_DEFAULT_TRIPLET=x64-osx
export X_VCPKG_APPLOCAL_DEPS_INSTALL=ON
export CMAKE_MAKE_PROGRAM=gmake

echo_exported_variables() {
echo "VCPKG_ROOT=${VCPKG_ROOT}"
echo "VCPKG_OVERLAY_TRIPLETS=${VCPKG_OVERLAY_TRIPLETS}"
echo "VCPKG_DEFAULT_TRIPLET=${VCPKG_DEFAULT_TRIPLET}"
echo "X_VCPKG_APPLOCAL_DEPS_INSTALL=${X_VCPKG_APPLOCAL_DEPS_INSTALL}"
echo "CMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}"
}

if [ -n "${GITHUB_ENV}" ]; then
Expand All @@ -106,6 +108,9 @@ case "$1" in
echo "Exported environment variables:"
echo_exported_variables
fi

brew install ccache
brew install make # is installed as gmake
;;
*)
echo "Usage: source macos_buildenv.sh [options]"
Expand Down

0 comments on commit fda9065

Please sign in to comment.