Skip to content

Commit 867a1b7

Browse files
committed
Do not use ccache
1 parent 4f75eea commit 867a1b7

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,26 @@ env:
2222
- ZEND_DONT_UNLOAD_MODULES=1
2323
- USE_ZEND_ALLOC=0
2424
matrix:
25-
- CC="ccache gcc"
26-
- CC="ccache clang"
25+
- CC="gcc"
26+
- CC="clang"
2727

2828
matrix:
2929
fast_finish: true
3030
allow_failures:
3131
- php: nightly
3232
include:
33-
- env: CC="ccache gcc"
33+
- env: CC="gcc"
3434
php: nightly
3535
compiler: gcc
36-
- env: CC="ccache clang"
36+
- env: CC="clang"
3737
php: nightly
3838
compiler: clang
3939

4040
cache:
4141
apt: true
42-
ccache: true
4342
timeout: 691200
4443
directories:
4544
- vendor
46-
- $HOME/.ccache
4745
- $HOME/.composer/cache
4846

4947
install:

install-development

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ CC=${CC:-}
3333
GCC_BIN=$(command -v gcc 2>/dev/null)
3434
CLANG_BIN=$(command -v clang 2>/dev/null)
3535
RE2C_BIN=$(command -v re2c 2>/dev/null)
36-
CCACHE_BIN=$(command -v ccache 2>/dev/null)
3736
PHPIZE_BIN=$(command -v phpize 2>/dev/null)
3837
PHPCONFIG_BIN=$(command -v php-config 2>/dev/null)
3938

@@ -58,13 +57,9 @@ if [ x"$CC" == x ]; then
5857
fi
5958

6059
if [ x"$CC" == xclang ]; then
61-
export CFLAGS="-g3 -O0 -fcolor-diagnostics -Wall -std=gnu90"
60+
export CFLAGS="-g3 -O0 -fcolor-diagnostics -Wall -march=native -std=gnu90"
6261
else
63-
export CFLAGS="-g3 -O0 -fno-delete-null-pointer-checks -Wall -fvisibility=hidden -std=gnu90"
64-
fi
65-
66-
if [ x"$CCACHE_BIN" != x ]; then
67-
export CC="ccache ${CC}"
62+
export CFLAGS="-g3 -O0 -fno-delete-null-pointer-checks -Wall -fvisibility=hidden -march=native -std=gnu90"
6863
fi
6964

7065
# Translate long options to short

0 commit comments

Comments
 (0)