We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 295c2ca commit 1edb5c3Copy full SHA for 1edb5c3
src/ci/docker/scripts/cmake.sh
@@ -2,7 +2,7 @@
2
set -ex
3
4
hide_output() {
5
- set +x
+ # set +x
6
on_err="
7
echo ERROR: An error was encountered with the build.
8
cat /tmp/build.log
@@ -15,7 +15,7 @@ exit 1
15
trap - ERR
16
kill $PING_LOOP_PID
17
rm /tmp/build.log
18
- set -x
+ # set -x
19
}
20
21
# LLVM 12 requires CMake 3.13.4 or higher.
@@ -26,10 +26,11 @@ curl -L https://github.com/Kitware/CMake/releases/download/v$CMAKE/cmake-$CMAKE.
26
mkdir cmake-build
27
cd cmake-build
28
ls -al /tmp/build.log || true
29
-who am i
30
-../cmake-$CMAKE/configure
31
-make -j$(nproc)
32
-make install
+whoami
+echo foo &> /tmp/build.log
+hide_output ../cmake-$CMAKE/configure
+hide_output make -j$(nproc)
33
+hide_output make install
34
35
cd ..
36
rm -rf cmake-build
0 commit comments