Skip to content

Commit

Permalink
fix: check not work on orbstack
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Aug 9, 2024
1 parent 8318476 commit d30db8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/scripts/install_deps_and_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ main() {
OS=$1
CPU=$2

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
echo -e "#include <stdio.h>\n#include <immintrin.h>\nint main() { __m256 a = _mm256_setzero_ps(); return 0; }" > /tmp/test.c
if gcc -mavx2 /tmp/test.c -o /tmp/test && ! /tmp/test; then
echo "FATAL: unsupported platform."
echo " Please UNCHECK the 'Use Rosetta for x86_64/amd64 emulation on Apple Silicon' Docker Desktop setting if you're running on mac."
Expand Down

0 comments on commit d30db8c

Please sign in to comment.