Open emmenlau opened 2 years ago
The PR does not fully work out of the box, because it will not select the sources dynamically for the precision. I can provide an improved version if this is relevant at all?
Hi @LecrisUT , thanks for your interest to push the cmake support forward, it's appreciated. However I should note that currently the commit CMakeLists.txt: Support multi-precision builds is broken because it makes some wrong assumption about which code needs to be built. I don't even recall the details but there was a flaw that requires slightly larger re-design of the change.
The only part that I can see is the lack of target_compile_definitions
for FFTW_SINGLE
etc. Check these lines:
https://github.com/FFTW/fftw3/blob/9426cd59106ffddde1f55131c07fa9c562fa2f8e/kernel/ifftw.h#L63-L78
Hi @LecrisUT , thanks for your interest to push the cmake support forward, it's appreciated. However I should note that currently the commit CMakeLists.txt: Support multi-precision builds is broken because it makes some wrong assumption about which code needs to be built. I don't even recall the details but there was a flaw that requires slightly larger re-design of the change.
Hey @LecrisUT , I've re-considered this PR and I'm not sure whether there is a problem with my changes or not. It may help if you could try the fftw built with these instructions here and see if it is any faster or slower than the "common" fftw. Is that something you can test?
Honestly I have completely lost interest in contributing to modernizing this project after the comments in #307. I have no hope that any improvements we make will be considered. Cmake fully supports OCaml and the project can be made to be fully compiled with cmake, but until that is being considered I don't think I'll participate.
Von: Cristian Le @.> Gesendet: Sonntag, 25. Juni 2023 23:03 An: FFTW/fftw3 @.> Cc: Subscribed @.***> Betreff: Re: [FFTW/fftw3] CMake: Adding support for building multiple precisions at once (PR #276)
Honestly I have completely lost interest in contributing to modernizing this project after the comments in #307https://github.com/FFTW/fftw3/issues/307. I have no hope that any improvements we make will be considered. Cmake fully supports OCaml and the project can be made to be fully compiled with cmake, but until that is being considered I don't think I'll participate.
— Reply to this email directly, view it on GitHubhttps://github.com/FFTW/fftw3/pull/276#issuecomment-1606260689, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGRKXG5PKUEJZGATTK3P2WTXNCRRZANCNFSM5QKYXOPA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
@JiahanBro, did you meant to forward that message internally or make a comment?
This PR allows to build multiple (or all) precisions in a single go in cmake. Please let me know what you think?