add support for building with cmake
Opened this issue · 2 comments
aivazis commented
now that pyre builds with cmake, we should add cmake support in altar and retire the default build system
lijun99 commented
I tried cmake on Linux and it worked perfectly!
- I will try Mac/Anaconda when I get access to a mac;
- I will follow your example to write a cmake file for the seismic model as well as for cuda extensions;
- I can also take care of the installation how-to.
lijun99 commented
I have added cmake support to cuda extensions in pyre and altar as well. All things go well. The only hassle is that when using enable_language(CUDA) instead of FindCUDA, it does not seem to work inside a function and has to be put under PARENT_SCOPE. I will do more tests and write a guide next week. Mac/Anaconda also works well. Shall we write a setup.py to make the installation step even simpler?