Skip to content

Commit

Permalink
Minor update on setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
takaxp committed Mar 31, 2024
1 parent c9f52a6 commit 200f779
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions build/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ function setup_homebrew () {
(echo 'eval "$(/usr/local/bin/brew shellenv)"') >> ${HOME}/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
fi
echo $HOMEBREW_PREFIX
echo $HOMEBREW_CELLAR
echo $HOMEBREW_REPOSITORY
echo $PATH
echo $MANPATH
echo $INFOPATH
echo "--- Installed."
echo "PREFIX: $HOMEBREW_PREFIX"
echo "CELLAR: $HOMEBREW_CELLAR"
echo "REPOSITORY: $HOMEBREW_REPOSITORY"
echo "PATH: $PATH"
echo "MANPATH: $MANPATH"
echo "INFOPATH: $INFOPATH"
}
function install_deps () {
brew install autoconf automake pkg-config gnutls texinfo jansson
# Required to install for Native Comp
# Required to support NativeComp
brew install gcc libgccjit
}

Expand All @@ -32,10 +33,15 @@ function install_xcode () {
xcode-select --install
}

function remove_homebrew () {
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
}

setup_homebrew
install_tool
install_deps
# install_xcode
# remove_homebrew

echo "----------------"
echo "OK, let's start to build GNU Emacs with inline-patch."
Expand Down

0 comments on commit 200f779

Please sign in to comment.