]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check.sh: inform user of make -j setting
authorNathan Cutler <ncutler@suse.com>
Fri, 6 Jul 2018 22:29:04 +0000 (00:29 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 9 Jul 2018 12:29:04 +0000 (14:29 +0200)
This can help the user figure out why the build is so slow.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
run-make-check.sh

index 75c8ae9ee4f23e2e87de541b3e5c1a4779abe13e..59abcbbf7c8bc8bf4403758141a559d629bb7607 100755 (executable)
@@ -89,6 +89,7 @@ function run() {
     # Init defaults after deps are installed. get_processors() depends on coreutils nproc.
     DEFAULT_MAKEOPTS=${DEFAULT_MAKEOPTS:--j$(get_processors)}
     BUILD_MAKEOPTS=${BUILD_MAKEOPTS:-$DEFAULT_MAKEOPTS}
+    test "$BUILD_MAKEOPTS" && echo "make will run with option(s) $BUILD_MAKEOPTS"
     CHECK_MAKEOPTS=${CHECK_MAKEOPTS:-$DEFAULT_MAKEOPTS}
 
     CMAKE_PYTHON_OPTS=