mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Check if AVX2 is supported when running sb-simd.impure.lisp
This commit is contained in:
parent
7af84ff2c7
commit
7790dffb61
|
|
@ -15,6 +15,10 @@
|
|||
(t
|
||||
(error "Unexpected error: ~A" c)))))
|
||||
|
||||
(when (zerop (sb-alien:extern-alien "avx2_supported" int))
|
||||
(format t "~&Skipping test of sb-simd~%")
|
||||
(invoke-restart 'run-tests::skip-file))
|
||||
|
||||
(with-compilation-unit ()
|
||||
(dolist (file '("packages.lisp"
|
||||
"numbers.lisp"
|
||||
|
|
|
|||
Loading…
Reference in a new issue