equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
145 AC_MSG_RESULT([$JOBS]) |
145 AC_MSG_RESULT([$JOBS]) |
146 else |
146 else |
147 JOBS=$with_jobs |
147 JOBS=$with_jobs |
148 fi |
148 fi |
149 AC_SUBST(JOBS) |
149 AC_SUBST(JOBS) |
|
150 ]) |
|
151 |
|
152 AC_DEFUN_ONCE([BPERF_SETUP_TEST_JOBS], |
|
153 [ |
|
154 # The number of test jobs will be chosen automatically if TEST_JOBS is 0 |
|
155 AC_ARG_WITH(test-jobs, [AS_HELP_STRING([--with-test-jobs], |
|
156 [number of parallel tests jobs to run @<:@based on build jobs@:>@])]) |
|
157 if test "x$with_test_jobs" = x; then |
|
158 TEST_JOBS=0 |
|
159 else |
|
160 TEST_JOBS=$with_test_jobs |
|
161 fi |
|
162 AC_SUBST(TEST_JOBS) |
150 ]) |
163 ]) |
151 |
164 |
152 AC_DEFUN([BPERF_SETUP_CCACHE], |
165 AC_DEFUN([BPERF_SETUP_CCACHE], |
153 [ |
166 [ |
154 AC_ARG_ENABLE([ccache], |
167 AC_ARG_ENABLE([ccache], |