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

Moving C++ code to new repo #1

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Moving C++ code to new repo #1

merged 4 commits into from
Mar 13, 2024

Conversation

drewoldag
Copy link
Collaborator

Change Description

Pulling in the C++ code form the original LePhare repository into the new. Moved to a slightly new location:
.../source/*.cpp -> .../src/lib/*cpp

This PR also includes the top level CMakeLists.txt file as well as some of the .gitignore file contents.

@drewoldag drewoldag self-assigned this Mar 12, 2024
@drewoldag drewoldag requested review from johannct, raphaelshirley and OliviaLynn and removed request for johannct, raphaelshirley and OliviaLynn March 12, 2024 01:52
@raphaelshirley
Copy link
Member

I successfully built on my mac. There was one warning which is present on the original make too. cmake failed due to pybind missing as possibly expected.

This branch can be merged to main in my opinion.

@johannct
Copy link
Member

johannct commented Mar 12, 2024

Makefile runs make to completion but creates the bin/ directory with the executables under src/ not under the root dir. This is clearly related to having moved the source code one level down in path without modifying the Makefile. Is this by design or by overlook?

@drewoldag
Copy link
Collaborator Author

@johannct That was an oversight. I'll fix that when I get to my desk!

@OliviaLynn
Copy link
Collaborator

OliviaLynn commented Mar 13, 2024

This looks good and builds for me on NERSC so far

@drewoldag
Copy link
Collaborator Author

Alright folks, I've addressed the comment about the location of bin directory. I've updated .../src/lib/Makefile so that the binary files are moved to a top level bin directory. (Also updated the clean section to remove the correct files. I'll go ahead and merge so we can move on.

@drewoldag drewoldag merged commit 24397b3 into main Mar 13, 2024
2 of 5 checks passed
@drewoldag drewoldag deleted the awo/add-c-code branch March 13, 2024 18:21
johannct pushed a commit that referenced this pull request Mar 13, 2024
* WIP - adding c code. Running `make` seems to work correctly.

* fix a trivial warning left over from gitlab

* Updating Makefile and gitignore so that binary files are placed in top level `bin` directory.

---------

Co-authored-by: Johann Cohen-Tanugi <[email protected]>
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.

4 participants