Skip to content

Commit 906316f

Browse files
authored
Merge pull request torvalds#325 from libos-nuse/fix-linus-tree-cache
lkl: cache linus tree for checkpatch
2 parents 307e241 + 32d5d7c commit 906316f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

circle.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,32 @@ machine:
77
environment:
88
CROSS_COMPILE: $(case $CIRCLE_NODE_INDEX in 0) host='' ;; 1) host='i686-w64-mingw32-' ;; 2) host='arm-linux-androideabi-' ;; esac; echo $host)
99
MKARG: $(case $CIRCLE_NODE_INDEX in 0) mkarg='dpdk=yes' ;; 1) host='i686-w64-mingw32-' ;; 2) host='arm-linux-androideabi-' ;; esac; echo $mkarg)
10-
PATH: /home/ubuntu/android-toolchain/bin:${PATH}
10+
1111

1212
## Customize dependencies
1313
dependencies:
1414
pre:
1515
# required for 14.04 container
1616
# - sudo dpkg --add-architecture i386
17-
- sudo apt-get update; sudo apt-get install bc libfuse-dev libarchive-dev xfsprogs valgrind gcc-mingw-w64-i686 wine qemu-user-static linux-headers-$(uname -r)
17+
- sudo apt-get update; sudo apt-get install bc libfuse-dev libarchive-dev xfsprogs valgrind gcc-mingw-w64-i686 wine qemu-user-static linux-headers-$(uname -r) ccache
1818
- /usr/local/android-ndk/build/tools/make-standalone-toolchain.sh --platform=android-21 --install-dir=/home/ubuntu/android-toolchain --arch=arm
19-
20-
21-
test:
22-
pre:
2319
- sudo cp tools/lkl/bin/i686-w64-mingw32-* /usr/bin:
2420
parallel: true
2521
- tools/lkl/scripts/checkpatch.sh
26-
2722
override:
23+
- mkdir -p ~/.ccache
2824
- cd tools/lkl && make clean:
2925
parallel: true
3026
- cd tools/lkl && ./scripts/dpdk-sdk-build.sh:
3127
parallel: true
3228
- cd tools/lkl && make -j8 ${MKARG}:
3329
parallel: true
30+
cache_directories:
31+
- "~/.ccache"
32+
33+
34+
test:
35+
override:
3436
- cd tools/lkl && if [ $CIRCLE_NODE_INDEX -eq 2 ] ; then make tests/boot-in.o; arm-linux-androideabi-gcc -o tests/boot tests/boot-in.o liblkl.a -static ; fi:
3537
parallel: true
3638
- cd tools/lkl && make test:

0 commit comments

Comments
 (0)