Skip to content

Commit

Permalink
Adding 3.8 python for 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
berndgassmann committed Jan 25, 2024
1 parent bdc2162 commit 23985c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ python_native_pkgs="libpython3-dev python3 python3-pip python3-setuptools python
python3_8_pkgs="libpython3.8-dev python3.8 python3.8-pip python3.8-setuptools python3.8-wheel"
other_pkgs="build-essential castxml cmake libboost-all-dev libgtest-dev liblapacke-dev libopenblas-dev libpugixml-dev sqlite3"

if [ `lsb_release -a | grep Release | grep 22.04 | wc -l` == 1 ]; then
sudo echo "deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu/ jammy main" >> /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
fi

sudo apt-get update
sudo apt-get install -y lsb-core
sudo apt-get install -y --no-install-recommends ${other_pkgs} ${python3_pkgs} ${python3_8_pkgs}
Expand Down

0 comments on commit 23985c2

Please sign in to comment.