From 1fac220fd5727fd78d5b32e26e548b086ebfe6fb Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Fri, 9 Aug 2024 17:30:59 +0800 Subject: [PATCH] fix: check not work on orbstack --- agents/scripts/install_deps_and_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/scripts/install_deps_and_build.sh b/agents/scripts/install_deps_and_build.sh index 07645ee1..45a3ead4 100755 --- a/agents/scripts/install_deps_and_build.sh +++ b/agents/scripts/install_deps_and_build.sh @@ -95,7 +95,7 @@ main() { OS=$1 CPU=$2 - echo -e "#include \n#include \nint main() { __m256d a = _mm256_set_pd(1.0, 2.0, 3.0, 4.0); return 0; }" > /tmp/test.c + echo -e "#include \n#include \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."