Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install build tools to manually install both #29

Merged
merged 4 commits into from
Nov 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/install_build_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DEPENDENCIES=(
gdb
git)
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --yes --quiet "${DEPENDENCIES[@]}"
# Installing CMake
paulbourelly999 marked this conversation as resolved.
Show resolved Hide resolved
CMAKE_VERSION="3.27.7"
echo "Installing CMake ${CMAKE_VERSION}"
wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.sh
Expand All @@ -24,11 +25,14 @@ echo "export PATH=/opt/cmake-${CMAKE_VERSION}-linux-x86_64/bin:$PATH" >> /root/.
# shellcheck source=/dev/null
export PATH=/opt/cmake-${CMAKE_VERSION}-linux-x86_64/bin:$PATH
echo "CMake installation complete"
# Installing Google Test
GTEST_VERSION="1.14.0"
echo "Installing Google Test ${GTEST_VERSION}"
git clone https://github.com/google/googletest.git -b "v{GTEST_VERSION}"
git clone https://github.com/google/googletest.git -b "v${GTEST_VERSION}"
cd googletest/
cmake -Bbuild
cd build/
make
make install
paulbourelly999 marked this conversation as resolved.
Show resolved Hide resolved
echo "Google Test installation complete"
paulbourelly999 marked this conversation as resolved.
Show resolved Hide resolved
cd -
adamlm marked this conversation as resolved.
Show resolved Hide resolved