Skip to content

Commit 1edb5c3

Browse files
committed
Root should be writeable
1 parent 295c2ca commit 1edb5c3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/ci/docker/scripts/cmake.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -ex
33

44
hide_output() {
5-
set +x
5+
# set +x
66
on_err="
77
echo ERROR: An error was encountered with the build.
88
cat /tmp/build.log
@@ -15,7 +15,7 @@ exit 1
1515
trap - ERR
1616
kill $PING_LOOP_PID
1717
rm /tmp/build.log
18-
set -x
18+
# set -x
1919
}
2020

2121
# 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.
2626
mkdir cmake-build
2727
cd cmake-build
2828
ls -al /tmp/build.log || true
29-
who am i
30-
../cmake-$CMAKE/configure
31-
make -j$(nproc)
32-
make install
29+
whoami
30+
echo foo &> /tmp/build.log
31+
hide_output ../cmake-$CMAKE/configure
32+
hide_output make -j$(nproc)
33+
hide_output make install
3334

3435
cd ..
3536
rm -rf cmake-build

0 commit comments

Comments
 (0)