File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ def main() {
10
10
name : ' SKIP_N2A_COMPILER_BUILD' ,
11
11
description : ' Skips building n2a_compiler' ,
12
12
defaultValue : false
13
- )
13
+ ),
14
+ booleanParam(name : " PACKAGE_ONLY" , defaultValue : false , description : ' Only package don\' t run tests' )
14
15
]),
15
16
])
16
17
@@ -34,12 +35,12 @@ def main() {
34
35
utils. cmakeBuild(" build" , " -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" , {}, { src_dir ->
35
36
stage(" Python Bindings" ) {
36
37
dir(" ../python" ) {
37
- utils. setPythonBuildEnv([]) {
38
+ utils. setPythonBuildEnv([], {
38
39
sh """ #!/bin/bash -ex
39
40
rm -rf dist build
40
41
python3 setup.py bdist_wheel
41
42
"""
42
- }
43
+ }, ' sima ' )
43
44
}
44
45
}
45
46
}, " ../sima-regres.cmake" , " clean all" )
@@ -59,7 +60,9 @@ python3 setup.py bdist_wheel
59
60
}
60
61
61
62
stage(" Upstream" ) {
62
- utils. buildUpstream(" n2a_compiler" , params. SKIP_N2A_COMPILER_BUILD , [])
63
+ utils. buildUpstream(" n2a_compiler" , params. SKIP_N2A_COMPILER_BUILD , [
64
+ booleanParam(name : ' PACKAGE_ONLY' , value : params. PACKAGE_ONLY )
65
+ ])
63
66
}
64
67
}
65
68
You can’t perform that action at this time.
0 commit comments