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 can see here that there is a template for a well made find module for OpenBLAS. However, the find module provided with the pre-built releases is extremely basic and doesn't work without modification.
Where does the nicer find module get used? Is there a reason not to include it with the download?
The .cmake.in gets serves as a template during the install step to create the .cmake module. Which release did you look at ? I think there used to be a problem where the Makefile and CMake builds did not create the same "nice" quality module.
Sorry, I really do not know how to improve this - the precompiled binaries are provided as a convenience for anybody who cannot build their own, and I have no idea where they would end up on a user's system. The paths you saw simply correspond to the (relative) install locations on my build host - which currently happens to be a Linux system with a mingw(gcc)-based cross-compiler
The user just needs to set an OpenBLAS_DIR cache variable that points to the location of the find module. The find module will provide the same OpenBLAS::OpenBLAS target that you gen when building from source or using VCPKG.
Activity
martin-frbg commentedon Dec 27, 2023
The .cmake.in gets serves as a template during the install step to create the .cmake module. Which release did you look at ? I think there used to be a problem where the Makefile and CMake builds did not create the same "nice" quality module.
nickanthony-dgl commentedon Dec 27, 2023
I am using the 0.3.25-x64 release for Windows. The contents of
OpenBLASConfig.cmakeare:which doesn't work without some changes.
martin-frbg commentedon Dec 27, 2023
Sorry, I really do not know how to improve this - the precompiled binaries are provided as a convenience for anybody who cannot build their own, and I have no idea where they would end up on a user's system. The paths you saw simply correspond to the (relative) install locations on my build host - which currently happens to be a Linux system with a mingw(gcc)-based cross-compiler
nickanthony-dgl commentedon Dec 27, 2023
Here is what I am using which I think would be an improvement.
The user just needs to set an
OpenBLAS_DIRcache variable that points to the location of the find module. The find module will provide the sameOpenBLAS::OpenBLAStarget that you gen when building from source or using VCPKG.