Skip to content

Commit d30db8c

Browse files
committed
fix: check not work on orbstack
1 parent 8318476 commit d30db8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agents/scripts/install_deps_and_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ main() {
9595
OS=$1
9696
CPU=$2
9797

98-
echo -e "#include <stdio.h>\n#include <immintrin.h>\nint main() { __m256d a = _mm256_set_pd(1.0, 2.0, 3.0, 4.0); return 0; }" > /tmp/test.c
98+
echo -e "#include <stdio.h>\n#include <immintrin.h>\nint main() { __m256 a = _mm256_setzero_ps(); return 0; }" > /tmp/test.c
9999
if gcc -mavx2 /tmp/test.c -o /tmp/test && ! /tmp/test; then
100100
echo "FATAL: unsupported platform."
101101
echo " Please UNCHECK the 'Use Rosetta for x86_64/amd64 emulation on Apple Silicon' Docker Desktop setting if you're running on mac."

0 commit comments

Comments
 (0)