Skip to content

Commit 625cb4d

Browse files
committed
build scripts: no need for a escaped newline after &&
1 parent f84e89e commit 625cb4d

8 files changed

+25
-25
lines changed

build.analyze.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ mkdir -p $BUILD_DIR/$REPORT_DIR
131131
-DPAPI_PREFIX=${PAPI_HOME} \
132132
\
133133
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
134-
../ && \
135-
await_confirm && \
136-
$BUILD_WRAPPER $SCANBUILD_OPTS make) && \
137-
(cp $BUILD_DIR/compile_commands.json .) && \
134+
../ &&
135+
await_confirm &&
136+
$BUILD_WRAPPER $SCANBUILD_OPTS make) &&
137+
(cp $BUILD_DIR/compile_commands.json .) &&
138138
exit_message
139139

build.cov.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ rm -Rf $BUILD_DIR/*
9090
\
9191
-DIPM_PREFIX=${IPM_HOME} \
9292
-DPAPI_PREFIX=${PAPI_HOME} \
93-
../ && \
94-
await_confirm && \
95-
make -j 4) && \
93+
../ &&
94+
await_confirm &&
95+
make -j 4) &&
9696
exit_message

build.debug.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ rm -Rf $BUILD_DIR/*
9494
-DPAPI_PREFIX=${PAPI_HOME} \
9595
\
9696
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
97-
../ && \
98-
await_confirm && \
99-
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) && \
97+
../ &&
98+
await_confirm &&
99+
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) &&
100100
exit_message
101101

build.dev.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ rm -Rf $BUILD_DIR/*
9494
-DPAPI_PREFIX=${PAPI_HOME} \
9595
\
9696
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
97-
../ && \
98-
await_confirm && \
99-
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) && \
97+
../ &&
98+
await_confirm &&
99+
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) &&
100100
exit_message
101101

build.mic.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ rm -Rf $BUILD_DIR/*
8080
\
8181
-DPAPI_PREFIX=${PAPI_HOME} \
8282
-DIPM_PREFIX=${IPM_BASE} \
83-
../ && \
84-
await_confirm && \
85-
make -j 5) && \
83+
../ &&
84+
await_confirm &&
85+
make -j 5) &&
8686
exit_message

build.minimal.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ rm -Rf $BUILD_DIR/*
8686
-DPAPI_PREFIX=${PAPI_HOME} \
8787
\
8888
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
89-
../ && \
90-
await_confirm && \
91-
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) && \
89+
../ &&
90+
await_confirm &&
91+
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) &&
9292
exit_message

build.nasty.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ rm -Rf $BUILD_DIR/*
101101
-DPAPI_PREFIX=${PAPI_HOME} \
102102
\
103103
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
104-
../ && \
105-
await_confirm && \
106-
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) && \
104+
../ &&
105+
await_confirm &&
106+
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) &&
107107
exit_message
108108

build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ rm -Rf $BUILD_DIR/*
9494
-DPAPI_PREFIX=${PAPI_HOME} \
9595
\
9696
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
97-
../ && \
98-
await_confirm && \
99-
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) && \
97+
../ &&
98+
await_confirm &&
99+
make -j 4) && (cp $BUILD_DIR/compile_commands.json .) &&
100100
exit_message
101101

0 commit comments

Comments
 (0)