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 cb72196 commit fb8e025
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fedora-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ dnf update -y && dnf install -y \
python3.9 python3.9-devel \
&& dnf clean all && rm -rf /var/cache/dnf

# Install pip for Python 3.9
wget https://bootstrap.pypa.io/get-pip.py -O get-pip.py
python3.9 get-pip.py

# Create a virtual environment with Python 3.9
python3.9 -m venv /tmp/stone-env

# Activate the virtual environment
source /tmp/stone-env/bin/activate

# Set a writable pip cache directory
export PIP_CACHE_DIR=/tmp/pip-cache
mkdir -p $PIP_CACHE_DIR

# Upgrade pip within the virtual environment
pip install --upgrade pip
pip install --upgrade pip --cache-dir $PIP_CACHE_DIR

# Install Python dependencies
pip install cpplint pytest numpy sympy==1.12.1 cairo-lang==0.12.0
# Install Python dependencies without using the cache
pip install --no-cache-dir cpplint pytest numpy sympy==1.12.1 cairo-lang==0.12.0

# Download and install Bazelisk
wget "https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64"
Expand Down

0 comments on commit fb8e025

Please sign in to comment.