Skip to content

Commit 6a30476

Browse files
bjorn-rivosConchuOD
authored andcommitted
rv: add a clang allmodconfig test
Signed-off-by: Björn Töpel <[email protected]> [cherry picked and dropped the podman stuff] Signed-off-by: Conor Dooley <[email protected]>
1 parent 52fce91 commit 6a30476

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
# SPDX-License-Identifier: GPL-2.0
3+
#
4+
# Copyright (c) 2022 by Rivos Inc.
5+
6+
tmpdir=$(mktemp -d)
7+
rc=0
8+
9+
tuxmake --wrapper ccache --target-arch riscv --directory . \
10+
--environment=KBUILD_BUILD_TIMESTAMP=@1621270510 \
11+
--environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake \
12+
-o $tmpdir --toolchain llvm allmodconfig || rc=1
13+
14+
if [ $rc -ne 0 ]; then
15+
echo "Build failed" >&$DESC_FD
16+
fi
17+
18+
rm -rf $tmpdir
19+
20+
exit $rc
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"run": ["build_allmod_rv64_clang.sh"],
3+
"pull-requests": true,
4+
"disabled": true
5+
}

0 commit comments

Comments
 (0)