File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -e
4
+
5
+ INST_DIR=` pwd` /inst
6
+
7
+ mkdir -p build
8
+ cd build
9
+ cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} \
10
+ -DLLVM_INSTALL_UTILS=On \
11
+ -DCMAKE_BUILD_TYPE=release \
12
+ -DLLVM_ENABLE_ASSERTIONS=On \
13
+ -DLLVM_ENABLE_PROJECTS=" lld;clang" \
14
+ ../llvm
15
+ make -j ` nproc` install
16
+
17
+ # There are many test suites for LLVM:
18
+ # https://llvm.org/docs/TestingGuide.html
19
+ #
20
+ # This runs unit and integration tests.
21
+ make -j ` nproc` check-all
22
+ cd ..
23
+
24
+ # FIXME The commented code below should run the `test-suite` tests, as
25
+ # described at https://llvm.org/docs/TestSuiteGuide.html.
26
+ #
27
+ # However, the suite fails (even on a stock LLVM) with this error:
28
+ # retref-bench.cc:17:10: fatal error: 'xray/xray_interface.h' file not found
29
+ # #include "xray/xray_interface.h"
30
+ # ^~~~~~~~~~~~~~~~~~~~~~~
31
+ #
32
+ # git clone --depth 1 --branch llvmorg-12.0.0 https://github.com/llvm/llvm-test-suite.git test-suite
33
+ # mkdir -p test-suite-build
34
+ # cd test-suite-build
35
+ # cmake -DCMAKE_C_COMPILER=${INST_DIR}/bin/clang \
36
+ # -C../test-suite/cmake/caches/O3.cmake \
37
+ # ../test-suite
38
+ # make -j `nproc`
39
+ # llvm-lit -v -j 1 -o results.json .
Original file line number Diff line number Diff line change
1
+ # The service providing the commit statuses to GitHub.
2
+ status = [" buildbot/yk-buildbot-build-script-hw" ]
3
+
4
+ # Allow four hours for builds + tests.
5
+ timeout_sec = 14400
6
+
7
+ # Have bors delete auto-merged branches
8
+ delete_merged_branches = true
9
+
10
+ cut_body_after = " "
You can’t perform that action at this time.
0 commit comments