Skip to content

Commit 698244e

Browse files
updated
1 parent 1577954 commit 698244e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ pipeline {
88

99
environment {
1010
BUILD_TYPE = 'Release'
11-
LLVM_PROJECTS = 'clang;lld' // adjust if you want more/less
11+
LLVM_PROJECTS = 'clang;lld' // adjust if you want more or less
1212
BUILD_DIR = 'build'
1313
}
1414

1515
stages {
1616
stage('Checkout') {
1717
steps {
18-
// Uses the same repo/branch that triggered the multibranch job
18+
// Uses the same repo and branch that triggered the multibranch job
1919
checkout scm
2020
}
2121
}
@@ -29,7 +29,9 @@ pipeline {
2929
3030
cmake3 -S llvm -B "${BUILD_DIR}" -G Ninja \
3131
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}" \
32-
-DLLVM_ENABLE_PROJECTS="${LLVM_PROJECTS}"
32+
-DLLVM_ENABLE_PROJECTS="${LLVM_PROJECTS}" \
33+
-DCMAKE_C_COMPILER=/usr/bin/gcc10 \
34+
-DCMAKE_CXX_COMPILER=/usr/bin/g++10
3335
'''
3436
}
3537
}

0 commit comments

Comments
 (0)