Skip to content

Commit

Permalink
chore: change warning message for bun on cpus without avx2 (#954)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Monirzadeh and fmartingr committed Jul 12, 2024
1 parent e34cd36 commit 40ae4cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/styles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40ae4cd

Please sign in to comment.