Skip to content

Commit

Permalink
add ubuntu lite install script
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Nov 5, 2024
1 parent e71430e commit 17b37db
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion install_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 20

# Configure Python virtual environment.
sudo apt install -y python3.11 python3.11-dev
sudo apt install -y python3.11 python3.11-dev python3.11-venv
python3.11 -m venv test_suite_env
source test_suite_env/bin/activate

Expand Down
18 changes: 18 additions & 0 deletions install_ubuntu_lite.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Install the toolkit on Ubuntu without cloning targets.

# Configure GCC.
sudo apt install -y build-essential software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install -y gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 20

# Configure Python virtual environment.
sudo apt install -y python3.11 python3.11-dev python3.11-venv
python3.11 -m venv test_suite_env
source test_suite_env/bin/activate

# Bootstrap environment.
pip install -e ".[dev]"
pre-commit install

0 comments on commit 17b37db

Please sign in to comment.