]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Declarative Pipeline Jenkins environment attempt
authorKonstantinos Margaritis <markos@freevec.org>
Fri, 16 Sep 2022 08:54:23 +0000 (11:54 +0300)
committerKonstantinos Margaritis <markos@freevec.org>
Fri, 16 Sep 2022 08:54:23 +0000 (11:54 +0300)
Jenkinsfile

index 2d314841268ad5241869a2669adfa0881682d725..7480b771e503e45f2f0f1c6704558e63a0269a27 100644 (file)
@@ -303,8 +303,12 @@ pipeline {
                             }
                         } 
                         stage("Build") {
+                            environment {
+                                CC=clang
+                                CXX=clang++
+                            }
                             steps {
-                                cmakeBuild buildDir: 'build-clang-release-SSE', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no', installation: 'InSearchPath', steps: [[withEnv: 'CC=clang CXX=clang++', args: '--parallel 4', withCmake: true]]
+                                cmakeBuild buildDir: 'build-clang-release-SSE', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
                             }
                         }
                         stage("Unit Test") {