From 49348520038f7cfbb2188c2a6379de96cad9742f Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Fri, 16 Sep 2022 11:54:23 +0300 Subject: [PATCH] Declarative Pipeline Jenkins environment attempt --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2d314841..7480b771 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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") {