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

Deploy CMake addon for speeding up compilation on Windows #268

Open
wyldckat opened this issue Nov 28, 2024 · 0 comments
Open

Deploy CMake addon for speeding up compilation on Windows #268

wyldckat opened this issue Nov 28, 2024 · 0 comments

Comments

@wyldckat
Copy link
Member

Based on the last presentation here: https://youtu.be/U9opl90DPPg?t=2756 - it is possible to speed up OpenFOAM compilation by a lot. And on Windows, we need it even more for enhanced performance. And CMake even has the ability to blob up various C files into one for Unity builds, which can reduce even further the time it takes to compile.

Online there is this repository: https://github.com/stuart23/cmake-OpenFOAM - which provides an adapted installation of OpenFOAM 4.x.
And here is a few instructions on how to do it in general: https://www.cfd-online.com/Forums/openfoam-programming-development/241735-how-develop-openfoam-cmake-popular-ides.html

Now, given how everyone simply hacks the repo, we need something that allows us to do it dynamically, i.e. a wrapper, which allows generating the initial CMake files based on the wmake rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant