quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navsan <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #22: Add a shell script that logs the build...
Date Sun, 12 Jun 2016 21:50:14 GMT
Github user navsan commented on a diff in the pull request:

    --- Diff: build/profile_build.sh ---
    @@ -0,0 +1,111 @@
    +# This script may be useful for developers to profile the build process itself.
    +# This shell script runs CMake and make, dumping all output into a log file.
    +# It also logs the CPU usage and memory information during the build.
    +# All log messages are timestamped to enable profiling.
    +# Dependencies:
    +# - ts
    +# sudo apt-get install -y libtime-duration-perl moreutils
    +# - vmstat and mpstat
    +# sudo apt-get install -y sysstat
    +# Usage: ./profile_build.sh
    +# Set the CMake and make command you want to use below.
    +# By default, the number of parallel make jobs is equal to the number of
    +# (virtual) CPUs on the machine (nproc).
    +# If CMakeLists.txt is detected, the script exits because in-source-tree build
    +# is not supported.
    +# If CMakeCache.txt is detected, the script skips cmake and runs make only.
    +#   Copyright 2011-2015 Quickstep Technologies LLC.
    +#   Copyright 2015-2016 Pivotal Software, Inc.
    --- End diff --

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message