Skip to content

Commit 1137699

Browse files
committed
Test how fast clang is
1 parent 1f7f2a1 commit 1137699

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.cirrus.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ asan_task:
5353
`#snmp-mibs-downloader`
5454
`#freetds-dev`
5555
`#unixodbc-dev`
56-
`#llvm`
56+
llvm
57+
clang
5758
libc-client-dev
5859
dovecot-core
5960
dovecot-pop3d
@@ -77,6 +78,8 @@ asan_task:
7778
--prefix=/usr
7879
--enable-phpdbg
7980
--enable-fpm
81+
--enable-opcache
82+
--disable-opcache-jit
8083
--with-pdo-mysql=mysqlnd
8184
--with-mysqli=mysqlnd
8285
`#--with-pgsql`
@@ -144,7 +147,9 @@ asan_task:
144147
`#--with-pdo-firebird`
145148
`#--with-pdo-dblib`
146149
--enable-werror
147-
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC -Wno-stringop-overread' LDFLAGS='-fsanitize=undefined,address'
150+
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'
151+
CC=clang
152+
CXX=clang++
148153
- make -j2
149154
- make install
150155
- mkdir -p /etc/php.d

0 commit comments

Comments
 (0)