Skip to content

Commit 9285ac5

Browse files
committed
log output
1 parent 7933911 commit 9285ac5

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/build-all-rapids-repos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
SCCACHE_DIST_MAX_RETRIES=inf
5050
SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=false
5151
build_command: |
52+
set -x;
53+
5254
# Install the latest sccache client
5355
devcontainer-utils-install-sccache --repo trxcllnt/sccache;
5456
@@ -71,8 +73,6 @@ jobs:
7173
# so that fix needs to be integrated into the kitware pip ninja builds.
7274
rapids-post-start-command --exclude <(echo ninja);
7375
74-
set -x;
75-
7676
# Configure all the C++ libs
7777
configure-all \
7878
-j$(ulimit -Hn) \

features/src/rapids-build-utils/opt/rapids-build-utils/bin/post-start-command.sh

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
#!/usr/bin/env bash
22

33
if ! test -n "${SKIP_RAPIDS_BUILD_UTILS_POST_START_COMMAND:+x}"; then
4-
rapids-generate-scripts &
5-
rapids-update-build-dir-links -j &
6-
rapids-make-vscode-workspace --update &
7-
rapids-merge-compile-commands-json > ~/compile_commands.json &
4+
time (
5+
rapids-generate-scripts;
6+
{ set +x; } 2>/dev/null; echo -n "rapids-generate-scripts time:";
7+
) 2>&1 & true
8+
time (
9+
rapids-update-build-dir-links -j;
10+
{ set +x; } 2>/dev/null; echo -n "rapids-update-build-dir-links time:";
11+
) 2>&1 & true
12+
time (
13+
rapids-make-vscode-workspace --update;
14+
{ set +x; } 2>/dev/null; echo -n "rapids-make-vscode-workspace -- time:";
15+
) 2>&1 & true
16+
time (
17+
rapids-merge-compile-commands-json > ~/compile_commands.json;
18+
{ set +x; } 2>/dev/null; echo -n "rapids-merge-compile-commands-json time:";
19+
) 2>&1 & true
820
if test -n "${PYTHON_PACKAGE_MANAGER:+x}"; then
921
rapids-make-"${PYTHON_PACKAGE_MANAGER}"-env "$@" || true;
1022
fi

0 commit comments

Comments
 (0)