Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix build without dealii (clang-format not applied yet) #262

Closed
wants to merge 1 commit into from

Conversation

dalg24
Copy link
Collaborator

@dalg24 dalg24 commented Oct 12, 2017

fix #261

@dalg24 dalg24 changed the title [tmp] Fix build without dealii (clang-format not applied yet) [WIP] Fix build without dealii (clang-format not applied yet) Oct 12, 2017
@dalg24
Copy link
Collaborator Author

dalg24 commented Oct 13, 2017

We might need a runtime api call that tells whether Cap was compiled with deal.II or not to emulate the #ifdef WITH_DEAL_II in Python.

@@ -1,8 +1,10 @@
include(${CMAKE_SOURCE_DIR}/cmake/UnitTesting.cmake)

if(ENABLE_DEAL_II)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you indent the lines below. It makes it easier to see what's in the if.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I expect clang-format will do that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh right this is CMake... I will do that.

@ORNL-CEES ORNL-CEES deleted a comment from dalg24-jenkins Nov 3, 2017
@masterleinad
Copy link

Any reason not to merge this after formatting?

@Rombur
Copy link
Collaborator

Rombur commented Jul 10, 2019

I think that would be fine but I don't know if @dalg24 ever tried to compile without deal.II (I assume that's why it's WIP)

@dalg24
Copy link
Collaborator Author

dalg24 commented Jul 10, 2019

We need a way to find out whether Cap was built with deal.II or nor from the Python side and then we need to conditionally enable the tests with the supercapacitor. I remember I was looking at how NumPy records whether it was built with BLAS.

@masterleinad
Copy link

Isn't that a separate issue besides just being able to compile without deal.II?

@dalg24
Copy link
Collaborator Author

dalg24 commented Jul 11, 2019

Isn't that a separate issue besides just being able to compile without deal.II?

Yes and no. It will compile but the tests won't pass.

@dalg24 dalg24 closed this Mar 12, 2021
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.

Bug: current version won't build if deal.II is not enabled
3 participants