Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhhgnik committed Oct 4, 2024
1 parent 5a4f37c commit f6e69e2
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions fedora-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@ set -o xtrace
set -e

# Install system dependencies
dnf update -y && dnf install -y \
gcc gcc-c++ make wget git openssl-devel bzip2-devel libffi-devel \
elfutils-libelf-devel gmp-devel elfutils-devel clang \
libstdc++-devel libcxx libcxx-devel ncurses-compat-libs cairo-devel \

wget https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz \
&& tar xzf Python-3.9.17.tgz \
&& cd Python-3.9.17 \
&& ./configure --enable-optimizations \
&& make altinstall \
&& cd .. && rm -rf Python-3.9.17*

# Ensure Python 3.9 and pip are available
ln -s /usr/local/bin/python3.9 /usr/bin/python3.9 \
&& ln -s /usr/local/bin/pip3.9 /usr/bin/pip3.9
dnf install -y elfutils-libelf-devel gmp-devel python3-devel gcc make libffi-devel openssl-devel wget python3-virtualenv git

# Create a virtual environment
python3 -m venv /tmp/stone-env
Expand Down

0 comments on commit f6e69e2

Please sign in to comment.