You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have part of this written here where I have stan math compiling with cmake. I'd be happy to expand this into a CMakeLists.txt file in the stan math repo, which would then allow cmake users to do something like the above to include stan math in their projects.
Do any folks have objections to this? I'd say the cmake file I have there is like 60% complete. It does all the correct includes, but does not handle some of the specific flags we use. It also does not support MPI, but that should be easy to setup.
If I set this up we could also setup our test suite to integrate with ctest
Expected Output
Please provide the expected output.
If this is a bug report, show what you expected to happen. Please also show what currently happens.
If this is a feature request, show what you expect to happen if the feature exists.
Current Version:
v4.7.0
The text was updated successfully, but these errors were encountered:
SteveBronder
changed the title
Allow cmake users to use
Allow cmake users to use FetchContent_Declare
Oct 25, 2023
Having a canonical version that's tested would be wonderful.
I'm interested in moving to cmake because there's a new Python build system scikit-build that would allow pystan/httpstan to create a source distribution. It would work even if the user doesn't have cmake installed. It works on many more platforms than we currently support.
I'm afraid I haven't found time to really learn cmake, otherwise I'd be more than happy to help out with this.
Description
It would be nice for cmake users to be able to use something like the following to include Stan math in their projects
I have part of this written here where I have stan math compiling with cmake. I'd be happy to expand this into a CMakeLists.txt file in the stan math repo, which would then allow cmake users to do something like the above to include stan math in their projects.
Do any folks have objections to this? I'd say the cmake file I have there is like 60% complete. It does all the correct includes, but does not handle some of the specific flags we use. It also does not support MPI, but that should be easy to setup.
If I set this up we could also setup our test suite to integrate with ctest
Expected Output
Please provide the expected output.
If this is a bug report, show what you expected to happen. Please also show what currently happens.
If this is a feature request, show what you expect to happen if the feature exists.
Current Version:
v4.7.0
The text was updated successfully, but these errors were encountered: