Skip to content

Commit

Permalink
Add warning for LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Jun 23, 2023
1 parent 5d51b7e commit f427221
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ cd "$SCRIPT_DIR" || exit 1
# Activate the virtual environment
source "$SCRIPT_DIR/venv/bin/activate" || exit 1

# Check if LD_LIBRARY_PATH environment variable exists
if [[ -z "${LD_LIBRARY_PATH}" ]]; then
echo "Warning: LD_LIBRARY_PATH environment variable is not set."
echo "Certain functionalities like 8bit based optimizers may not work correctly."
echo "Please ensure that the required libraries are properly configured."
fi

# Determine the requirements file based on the system
if [[ "$OSTYPE" == "darwin"* ]]; then
if [[ "$(uname -m)" == "arm64" ]]; then
Expand Down

0 comments on commit f427221

Please sign in to comment.