Skip to content

Commit 1438707

Browse files
Espresso: Only set ESPRESSO_HOME when building the default targets
1 parent b78d5cc commit 1438707

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

espresso/ci/ci_common/common.jsonnet

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
201201
run+: [
202202
['mx'] + extra_dynamic_imports_args + ['sversions'],
203203
that._mx(env, (if debug then ['--debug-images'] else []) + extra_mx_args + extra_dynamic_imports_args + ['build'] + targets_args),
204-
['set-export', 'ESPRESSO_HOME', that._mx(env, ['--quiet', '--no-warning'] + extra_mx_args + extra_dynamic_imports_args + ['path', '--output', standalone])],
205-
],
204+
] + if default_env_traget then [
205+
['set-export', 'ESPRESSO_HOME', that._mx(env, ['--quiet', '--no-warning'] + extra_mx_args + extra_dynamic_imports_args + ['path', '--output', standalone])]
206+
] else [],
206207
},
207208

208209
// LD_DEBUG=unused is a workaround for: symbol lookup error: jre/lib/amd64/libnio.so: undefined symbol: fstatat64

0 commit comments

Comments
 (0)