Skip to content

add custom easyblock for pocl#3978

Merged
jfgrimm merged 4 commits intoeasybuilders:developfrom
PetrKralCZ:20251027072825_new_pr_pocl
Nov 28, 2025
Merged

add custom easyblock for pocl#3978
jfgrimm merged 4 commits intoeasybuilders:developfrom
PetrKralCZ:20251027072825_new_pr_pocl

Conversation

@PetrKralCZ
Copy link
Copy Markdown
Contributor

@PetrKralCZ PetrKralCZ commented Oct 27, 2025

Comment thread easybuild/easyblocks/p/pocl.py Outdated
@boegel boegel changed the title new easyblock for pocl add custom easyblock for pocl Nov 19, 2025
@boegel boegel added the new label Nov 19, 2025
@boegel boegel added this to the next release (5.2.0) milestone Nov 19, 2025
…Make generic easyblock, set additional configure options, add custom sanity check
Comment on lines +75 to +88
else:
# cleanup of options being passed to CMakeNinja.configure_step
if orig_fail_on_error is None:
del kwargs['fail_on_error']
else:
kwargs['fail_on_error'] = orig_fail_on_error

if orig_return_full_cmd_result is None:
del kwargs['return_full_cmd_result']
else:
kwargs['return_full_cmd_result'] = orig_return_full_cmd_result

self.cfg.update('configopts', '-DLLC_HOST_CPU=native')
return CMakeNinja.configure_step(self, *args, **kwargs)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be good to print a clear warning message, stating that the build failed without CPU auto-detection, and that this will be tried as a fallback

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfgrimm OK, makes sense

Done in 718159e

WARNING: Configuring with CPU auto-detection enabled failed, so trying again with extra configure option -DLLC_HOST_CPU=native

@jfgrimm jfgrimm merged commit 2f300a3 into easybuilders:develop Nov 28, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants