@@ -216,12 +216,12 @@ for libomptarget_target in config.libomptarget_all_targets:
216
216
"%libomptarget-run-" + libomptarget_target ))
217
217
config .substitutions .append (("%libomptarget-compilexx-" + \
218
218
libomptarget_target , \
219
- "%clangxx-" + libomptarget_target + " %s -o %t" \
220
- " -lcgpu" if config .libomptarget_has_libc else "" ))
219
+ "%clangxx-" + libomptarget_target + " %s -o %t" + \
220
+ ( " -lcgpu" if config .libomptarget_has_libc else "" ) ))
221
221
config .substitutions .append (("%libomptarget-compile-" + \
222
222
libomptarget_target , \
223
- "%clang-" + libomptarget_target + " %s -o %t"
224
- " -lcgpu" if config .libomptarget_has_libc else "" ))
223
+ "%clang-" + libomptarget_target + " %s -o %t" +
224
+ ( " -lcgpu" if config .libomptarget_has_libc else "" ) ))
225
225
config .substitutions .append (("%libomptarget-compileoptxx-run-and-check-" + \
226
226
libomptarget_target , \
227
227
"%libomptarget-compileoptxx-and-run-" + libomptarget_target + \
@@ -240,12 +240,12 @@ for libomptarget_target in config.libomptarget_all_targets:
240
240
"%libomptarget-run-" + libomptarget_target ))
241
241
config .substitutions .append (("%libomptarget-compileoptxx-" + \
242
242
libomptarget_target , \
243
- "%clangxx-" + libomptarget_target + " -O3 %s -o %t"
244
- " -lcgpu" if config .libomptarget_has_libc else "" ))
243
+ "%clangxx-" + libomptarget_target + " -O3 %s -o %t" +
244
+ ( " -lcgpu" if config .libomptarget_has_libc else "" ) ))
245
245
config .substitutions .append (("%libomptarget-compileopt-" + \
246
246
libomptarget_target , \
247
- "%clang-" + libomptarget_target + " -O3 %s -o %t"
248
- " -lcgpu" if config .libomptarget_has_libc else "" ))
247
+ "%clang-" + libomptarget_target + " -O3 %s -o %t" +
248
+ ( " -lcgpu" if config .libomptarget_has_libc else "" ) ))
249
249
config .substitutions .append (("%libomptarget-run-" + \
250
250
libomptarget_target , \
251
251
"%t" ))
0 commit comments