Skip to content

Clad plugin for xeus-cpp #314

Closed
kr-2003 wants to merge 2 commits into
compiler-research:mainfrom
kr-2003:clad
Closed

Clad plugin for xeus-cpp #314
kr-2003 wants to merge 2 commits into
compiler-research:mainfrom
kr-2003:clad

Conversation

@kr-2003

@kr-2003 kr-2003 commented May 26, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@vgvassilev

Copy link
Copy Markdown
Contributor

These kernels should be added by the clad-feedstock if it detects xeus-cpp. They are added here:

https://github.com/conda-forge/clad-feedstock/blob/d5ca50e56bd1e853b4e9905f7b53c889e09ae95a/recipe/build.sh#L73-L90

Is there something that's not sufficient?

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.78%. Comparing base (51aeae3) to head (ec158cc).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #314   +/-   ##
=======================================
  Coverage   81.78%   81.78%           
=======================================
  Files          20       20           
  Lines         950      950           
  Branches       87       87           
=======================================
  Hits          777      777           
  Misses        173      173           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@anutosh491

Copy link
Copy Markdown
Collaborator

Hi,

Just trying to extrapolate this to the lite use case.

Can clad be built against emscripten -> and then used through -fplugin ?

I am not sure if clang plugins would work with lite (should they ? 🤔 )

@vgvassilev

Copy link
Copy Markdown
Contributor

Hi,

Just trying to extrapolate this to the lite use case.

Can clad be built against emscripten -> and then used through -fplugin ?

I am not sure if clang plugins would work with lite (should they ? 🤔 )

If dlopen works then they should.

@SylvainCorlay

SylvainCorlay commented Jun 7, 2025

Copy link
Copy Markdown
Collaborator

I think we need to hold off on including plugins without defining a plugin API surface, or in the core of the package, as discussed with the Python magic.

@vgvassilev

Copy link
Copy Markdown
Contributor

We can mark it as complete because @kr-2003 solved it in the clad-feedstock. That’s not a xeus-cpp plugin but a clang plugin which is basically running the kernel with different flags.

@anutosh491

Copy link
Copy Markdown
Collaborator

Yeah can be closed I think. Thanks @kr-2003

@anutosh491 anutosh491 closed this Jun 9, 2025
@kr-2003 kr-2003 deleted the clad branch June 9, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants