ProjectPhysX / FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs via OpenCL. Free for non-commercial use.
https://youtube.com/@ProjectPhysX
Other
3.81k stars 301 forks source link

MacOS build? #51

Closed bcardarella closed 1 year ago

bcardarella commented 1 year ago

I know MacOS, especially Intel chips, aren't ideal for the GPU performance but as far as getting to play with FluidX3D before considering buying a dedicated machine for rendering it would be nice to have a MacOS build. Is that a heavy lift?

ProjectPhysX commented 1 year ago

Uncomment the "MacOS" compiler line in make.sh, and compile. Should work out-of-the-box, even on Apple M1/M2. Only interactive graphics probably won't work as they need WinAPI/X11.

bcardarella commented 1 year ago

Will give it a go, thank you

ProjectPhysX commented 1 year ago

Edit/update: the compiler call for MacOS is already in the file make.sh, just uncomment the line therein and run it.