Skip to content

Commit 9eb8013

Browse files
committed
Remove tee from multilib build
tee and stdout/stderr redirection mangle the build output we get on Azure Pipelines significantly, making it close to impossible to see where an error occurred. The build log remains available through Azure Pipelines.
1 parent da54aae commit 9eb8013

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build-gcc-multilib.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ git checkout $RISCV_GNU_TOOLCHAIN_COMMIT_ID
1919

2020
# Build ELF Multilib
2121
./configure --prefix=/tools/riscv/elf \
22-
--enable-multilib 2>&1 | tee --append $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.log
23-
make -j$(( `nproc` * 2 )) 2>&1 | tee --append $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.log
22+
--enable-multilib
23+
make -j$(( `nproc` * 2 ))
2424

2525
make clean
2626
# Build Linux Multilib
2727
./configure --prefix=/tools/riscv/linux \
28-
--enable-multilib 2>&1 | tee --append $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.log
29-
make -j$(( `nproc` * 2 )) linux 2>&1 | tee --append $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.log
28+
--enable-multilib
29+
make -j$(( `nproc` * 2 )) linux
3030

31-
make -j$(( `nproc` * 2 )) build-qemu 2?&1 | tee --append $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.log
31+
make -j$(( `nproc` * 2 )) build-qemu
3232

3333
echo -n 'lowRISC toolchain version: ' >> /tools/riscv/buildinfo
3434
git -C $TOP describe --always >> /tools/riscv/buildinfo

0 commit comments

Comments
 (0)