mirror of
https://github.com/go-shiori/shiori.git
synced 2025-03-10 14:59:39 +08:00
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:
parent
e34cd36e3f
commit
40ae4cd1b3
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue