Hi Xianyi,

By updating FindBlas.cmake, did you mean that the module should try to find
OpenBlas if it could not find any other implementation ? Or do you want to
provide an easy for developer to import the OpenBlas library in their
project ?

Either way, as described by Eike, the first step would be to update your
project so that it can create a OpenBlasConfig.cmake. See [1] for some
documentation

With such a file, it would then be possible for developer to do something
like:

           find_package(OpenBlas)

.. and have the CMake targets available in the current scope.

Let us know if you have any questions,
Jc

[1]
http://www.cmake.org/cmake/help/git-master/manual/cmake-packages.7.html#creating-packages



On Wed, Nov 5, 2014 at 2:10 AM, Rolf Eike Beer <[email protected]> wrote:

> Am Mittwoch, 5. November 2014, 09:20:15 schrieb Zhang Xianyi:
> > Hi Folks,
> >
> > I am the developer of OpenBLAS, an optimized BLAS implementation forked
> > from GotoBLAS2.
> >
> > So far, the FindBLAS.cmake module cannot recognize OpenBLAS as a
> legitimate
> > library. Is it possible to support OpenBLAS in FindBLAS module?
>
> Yes, but the preferable solution would be that you ship a
> OpenBLASConfig.cmake
> with your installation, so it would work with any CMake version and you can
> adapt that file yourself in case of new components, library locations or
> other
> things.
>
> Eike
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>



-- 
+1 919 869 8849
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to