From 2cd2f672e2701b2f890415f53511b9bee67d8697 Mon Sep 17 00:00:00 2001 From: Sebastijan K <58827427+sebastijankuzner@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:42:22 +0100 Subject: [PATCH] feat(core): discover libjemalloc.so without installed gcc (#4806) * Support docker without gcc * Empty commit --- packages/core/bin/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/bin/run b/packages/core/bin/run index 9dbfc5a550..423b087f9d 100755 --- a/packages/core/bin/run +++ b/packages/core/bin/run @@ -4,7 +4,7 @@ const child_process = require("child_process"); const jemallocPath = child_process .spawnSync( - `ls -d1H $(gcc -print-search-dirs | grep libraries: | awk '{print $2}' | sed -e 's/:/* /g' -e 's/$/*/' -e 's/^.//') | grep libjemalloc.so`, + `ls -d1H $(gcc -print-search-dirs | grep libraries: | awk '{print $2}' | sed -e 's/:/* /g' -e 's/$/*/' -e 's/^.//') | grep libjemalloc.so || ls -d1H /usr/lib/* | grep libjemalloc.so`, { shell: true }, ) .stdout.toString()