summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.appveyor.yml1
-rw-r--r--appveyor/build_task.bat3
2 files changed, 3 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index a797853753..b2447e79c9 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -39,6 +39,7 @@ environment:
OPCACHE: 0
- THREAD_SAFE: 1
OPCACHE: 1
+ INTRINSICS: AVX
services:
# the setup scripts have to be touched, once some other db version is used
diff --git a/appveyor/build_task.bat b/appveyor/build_task.bat
index 051601d3fb..b8db279724 100644
--- a/appveyor/build_task.bat
+++ b/appveyor/build_task.bat
@@ -36,7 +36,8 @@ if %errorlevel% neq 0 exit /b 3
cmd /c buildconf.bat --force
if %errorlevel% neq 0 exit /b 3
-if "%THREAD_SAFE%" equ "0" set ADD_CONF=--disable-zts
+if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts
+if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
set EXT_EXCLUDE_FROM_TEST=snmp,oci8_12c,pdo_oci,pdo_firebird,interbase,ldap,imap,ftp
if "%OPCACHE%" equ "0" set EXT_EXCLUDE_FROM_TEST=%EXT_EXCLUDE_FROM_TEST%,opcache