File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ pipeline {
9
9
// Job pool
10
10
COMPILE_THREADS = 24
11
11
LINK_THREADS = 8
12
- // Need to use either gcc-10 or clang to compile recent llvm
13
- CC = " /opt/nec/nosupport/llvm-ve-1.16.0/bin/clang"
14
- CXX = " /opt/nec/nosupport/llvm-ve-1.16.0/bin/clang++"
15
12
REPO_URL = sh(
16
13
returnStdout : true ,
17
14
script : " echo ${ env.GIT_URL} | sed -e 's:/[^/]*\$ ::'" ). trim()
@@ -44,8 +41,7 @@ pipeline {
44
41
dir(' llvm-dev' ) {
45
42
sh """
46
43
make clean
47
- CC="${ CC} " CXX="${ CXX} " make \
48
- SRCDIR=${ TOP} /llvm-project CMAKE=${ CMAKE} \
44
+ make SRCDIR=${ TOP} /llvm-project CMAKE=${ CMAKE} \
49
45
COMPILE_THREADS=${ COMPILE_THREADS} \
50
46
LINK_THREADS=${ LINK_THREADS} cmake build
51
47
"""
@@ -107,11 +103,9 @@ pipeline {
107
103
}
108
104
dir(' vml/build' ) {
109
105
sh """
110
- # Use sed since CMakeLists.txt does not use option command.
111
- sed -e 's:linux/libclang_rt.builtins-ve.a:ve-unknown-linux-gnu/libclang_rt.builtins.a:' -i ../CMakeLists.txt
112
106
${ CMAKE} -DCMAKE_BUILD_TYPE="Debug" \
113
107
-DLLVM_DIR=${ TOP} /llvm-dev/install/lib/cmake/llvm \
114
- -DCLANG_RUNTIME=${ TOP} /llvm-dev/install/lib/clang/14 .0.0/lib/ve-unknown-linux-gnu/libclang_rt.builtins.a \
108
+ -DCLANG_RUNTIME=${ TOP} /llvm-dev/install/lib/clang/15 .0.0/lib/ve-unknown-linux-gnu/libclang_rt.builtins.a \
115
109
-DNCC_VERSION=-3.0.6 ..
116
110
# make -j often crash
117
111
make -j${ COMPILE_THREADS}
You can’t perform that action at this time.
0 commit comments