Skip to content

pybind: Errors when compiling with clang#334

Merged
leonardocarreras merged 5 commits intosogno-platform:masterfrom
leonardocarreras:fix-pybind-clang
May 19, 2025
Merged

pybind: Errors when compiling with clang#334
leonardocarreras merged 5 commits intosogno-platform:masterfrom
leonardocarreras:fix-pybind-clang

Conversation

@leonardocarreras
Copy link
Copy Markdown
Contributor

@leonardocarreras leonardocarreras commented Feb 7, 2025

This PR aims to fix:

  • Problems compiling with clang using pybind (errors that do not allow the binding to be active)
  • Reinstate ability of the workflow to compile using clang with pybind activated

@stv0g stv0g force-pushed the fix-pybind-clang branch from f90c821 to bc4b495 Compare March 25, 2025 03:17
stv0g
stv0g previously approved these changes Mar 25, 2025
Copy link
Copy Markdown
Contributor

@stv0g stv0g left a comment

Choose a reason for hiding this comment

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

Looks good to me :)

I dont see how this enables Clang compilation in the pipeline though.

But from my side, we can merge it

@leonardocarreras
Copy link
Copy Markdown
Contributor Author

@stv0g I think there are probably more things to check and this is not fully finished, some structures are not accepted in the way they are by the compiler and produce errors on compilation or linking, I did not have the time to follow up

@leonardocarreras
Copy link
Copy Markdown
Contributor Author

With the changes (tested locally), after merging on villas and deploying the newer rocky container, we should be on a good path

@leonardocarreras
Copy link
Copy Markdown
Contributor Author

Almost ready, need to readapt the commit number. Waiting for VILLASframework/node#908 and VILLASframework/node#910

Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
@leonardocarreras leonardocarreras moved this to In Progress in DPsim May 12, 2025
@leonardocarreras leonardocarreras marked this pull request as ready for review May 12, 2025 09:02
@leonardocarreras leonardocarreras moved this from In Progress to Ready for Review in DPsim May 12, 2025
@leonardocarreras
Copy link
Copy Markdown
Contributor Author

This is stable enough for the moment, ready.

@leonardocarreras leonardocarreras merged commit 3136b5a into sogno-platform:master May 19, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in DPsim May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants