Skip to content

Commit

Permalink
Merge pull request #1858 from Disty0/dev
Browse files Browse the repository at this point in the history
IPEX add DISABLE_VENV_LIBS env variable and use TCMalloc
  • Loading branch information
bmaltais authored Jan 9, 2024
2 parents 74d0b52 + 4cf587e commit 1c8a9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fi
#Set OneAPI if it's not set by the user
if [[ "$@" == *"--use-ipex"* ]]
then
if [ -d "$SCRIPT_DIR/venv" ]; then
if [ -d "$SCRIPT_DIR/venv" ] && [[ -z "${DISABLE_VENV_LIBS}" ]]; then
export LD_LIBRARY_PATH=$(realpath "$SCRIPT_DIR/venv")/lib/:$LD_LIBRARY_PATH
fi
export NEOReadDebugKeys=1
Expand All @@ -82,7 +82,7 @@ then
STARTUP_CMD=ipexrun
if [[ -z "$STARTUP_CMD_ARGS" ]]
then
STARTUP_CMD_ARGS="--multi-task-manager taskset --memory-allocator jemalloc"
STARTUP_CMD_ARGS="--multi-task-manager taskset --memory-allocator tcmalloc"
fi
fi
fi
Expand Down

0 comments on commit 1c8a9f9

Please sign in to comment.