From 40ae4cd1b3efb77bce84f5cdbd0a6a3db6a8bfee Mon Sep 17 00:00:00 2001 From: Monirzadeh <25131576+Monirzadeh@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:53:03 +0330 Subject: [PATCH] chore: change warning message for bun on cpus without avx2 (#954) * change massage to use bun build without need AVX2 * better massage Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com> --------- Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com> --- scripts/styles.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/styles.sh b/scripts/styles.sh index 475d44c01..77cd1a611 100755 --- a/scripts/styles.sh +++ b/scripts/styles.sh @@ -12,8 +12,7 @@ case `uname -o` in GNU/Linux) # Detect support of avx2 in linux hosts if ! grep -q avx2 /proc/cpuinfo; then - BUN="sde -chip-check-disable -- bun" - echo "Your CPU does not support avx2 so we use sde, for more information please look at https://github.com/oven-sh/bun/issues/762#issuecomment-1186505847" + echo "It seems that your CPU does not support AVX2, if you experience long build times (>1m) ensure that you use bun's baseline builds. More information at https://github.com/oven-sh/bun/issues/67" fi ;; esac