Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Sympiler Wrapper #34

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion cmake/recipes/sympiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,21 @@ else()
endif()

if(SYMPILER_BLAS_BACKEND STREQUAL "MKL")
message("INCLUDING MKL")
include(mkl)
if(NOT TARGET MKL::MKL)
add_library(MKL::MKL ALIAS mkl::mkl)
endif()
endif()

include(CPM)
CPMAddPackage(
NAME sympiler
GITHUB_REPOSITORY ryansynk/sympiler
GIT_TAG 51bffd948f902b4606b8a8173a933ad9b54e29bf
ryansynk marked this conversation as resolved.
Show resolved Hide resolved
OPTIONS "SYMPILER_BLAS_BACKEND MKL"
)

add_library(sympiler INTERFACE)
add_library(sympiler::sym_sparse_blas ALIAS sym_sparse_blas)

include(GNUInstallDirs)
Expand Down