Skip to content

Commit d95ff7f

Browse files
committed
debug: set env var in build stage
1 parent 8e72c4c commit d95ff7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/Jenkinsfile.macos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ pipeline {
5454
environment {
5555
NPROC = Runtime.getRuntime().availableProcessors()
5656
MAKEFLAGS = "V=${params.VERBOSITY} NIM_COMMIT=${params.NIM_COMMIT} -j${env.NPROC}"
57-
XDG_CACHE_HOME = "${env.WORKSPACE_TMP}/.cache"
58-
// Workaround for clang assember https://github.com/OffchainLabs/hashtree/issues/18
59-
CFLAGS = "-fno-integrated-as"
57+
XDG_CACHE_HOME = "${env.WORKSPACE_TMP}/.cache"
6058
}
6159

6260
stages {
@@ -88,6 +86,8 @@ pipeline {
8886

8987
stage('Build') {
9088
steps { timeout(50) {
89+
// Workaround for clang assember https://github.com/OffchainLabs/hashtree/issues/18
90+
env.CFLAGS = "-fno-integrated-as"
9191
sh 'make LOG_LEVEL=TRACE'
9292
} }
9393
}

0 commit comments

Comments
 (0)