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
Fixes a CMake configuration issue related to aliasing an ``ALIAS`` target when
using ``ENABLE_KLU=ON`` in combination with a static-only build of SuiteSparse.
See LLNL#579 for details.
FixesLLNL#579.
Signed-off-by: Daniel Weindl <[email protected]>
dweindl
added a commit
to dweindl/sundials
that referenced
this issue
Sep 30, 2024
Fixes a CMake configuration issue related to aliasing an ``ALIAS`` target when
using ``ENABLE_KLU=ON`` in combination with a static-only build of SuiteSparse.
See LLNL#579 for details.
FixesLLNL#579.
Signed-off-by: Daniel Weindl <[email protected]>
Fixes a CMake configuration issue related to aliasing an ``ALIAS``
target when using ``ENABLE_KLU=ON`` in combination with a static-only
build of SuiteSparse.
See #579 for details.
Fixes#579.
---------
Signed-off-by: Daniel Weindl <[email protected]>
Co-authored-by: Daniel R. Reynolds <[email protected]>
Current Behavior:
Configuring sundials with KLU fails with
Expected Behavior:
Configuring succeeds.
Steps To Reproduce:
BUILD_SHARED_LIBS=OFF
CMAKE_PREFIX_PATH
so the SuiteSparse CMake config can be found-DENABLE_KLU=ON
(and not setting anyKLU_*
)Environment:
Anything else:
Here, sundials tries to create an ALIAS target
SUNDIALS::KLU
forSuiteSparse::KLU
:sundials/cmake/tpl/FindKLU.cmake
Lines 33 to 40 in c28eaa3
This works as long as
SuiteSparse::KLU
is not an alias target itself.However, for a SuiteSparse static-only build,
SuiteSparse::KLU
is already an ALIAS ofSuiteSparse::KLU_static
:https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/c8c3a9de1c8eef54da5ff19fd0bcf7ca6e8bc9de/KLU/Config/KLUConfig.cmake.in#L113-L116
Proposed fix:
Replace
sundials/cmake/tpl/FindKLU.cmake
Line 40 in c28eaa3
by
The text was updated successfully, but these errors were encountered: