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>
This commit is contained in:
Monirzadeh 2024-07-12 20:53:03 +03:30 committed by GitHub
parent e34cd36e3f
commit 40ae4cd1b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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