mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-18 12:30:52 -07:00
Merge pull request #15544 from cabelo/master
Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+
This commit is contained in:
commit
ce19a7baef
1 changed files with 1 additions and 1 deletions
2
webui.sh
2
webui.sh
|
|
@ -243,7 +243,7 @@ prepare_tcmalloc() {
|
|||
for lib in "${TCMALLOC_LIBS[@]}"
|
||||
do
|
||||
# Determine which type of tcmalloc library the library supports
|
||||
TCMALLOC="$(PATH=/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
|
||||
TCMALLOC="$(PATH=/sbin:/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
|
||||
TC_INFO=(${TCMALLOC//=>/})
|
||||
if [[ ! -z "${TC_INFO}" ]]; then
|
||||
echo "Check TCMalloc: ${TC_INFO}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue