SAIFIINDUSTRIES's picture
Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified
Raw History Blame Contribute Delete
672 Bytes
#!/usr/bin/env bash
# Get the directory of the current script
script_dir="$(dirname "${BASH_SOURCE[0]}")"
# Check if the activation script exists
venv_path="$script_dir/autotuner_env/bin/activate"
if [ ! -f "$venv_path" ]; then
echo "Error: Virtual environment activation script not found at $venv_path"
echo "Please run installer.sh for installing the packages."
exit 1
fi
# Source the activation script to activate the virtual environment
source "$venv_path"
echo "Virtual environment activated successfully."
# Make autotuner shared folder
AUTOTUNER_SHARED_DIR=$HOME/.local/shared-data/autotuner
mkdir -p $AUTOTUNER_SHARED_DIR
chmod 777 $AUTOTUNER_SHARED_DIR