Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -ev |
| 3 | |
| 4 | mkdir -p cmake_build && cd cmake_build |
| 5 | cmake $* .. |
Nobuaki Sukegawa | c40018b | 2016-02-22 21:29:13 +0900 | [diff] [blame] | 6 | for LIB in $BUILD_LIBS; do |
| 7 | if ! grep "^BUILD_${LIB}:BOOL=ON$" CMakeCache.txt ; then |
| 8 | echo "failed to configure $LIB" |
| 9 | exit 1 |
| 10 | fi |
| 11 | done |
Nobuaki Sukegawa | 2c5ed27 | 2016-02-27 18:22:40 +0900 | [diff] [blame] | 12 | make -j3 |
Nobuaki Sukegawa | a6ab1f5 | 2015-11-28 15:04:39 +0900 | [diff] [blame] | 13 | cpack |
| 14 | ctest -VV -E "(concurrency_test|processor_test)" |