Skip to content

Commit

Permalink
make METIS compilation optional
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Mar 15, 2023
1 parent a81c60f commit 464980b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ target_sources(ginkgo
multigrid/fixed_coarsening.cpp
preconditioner/isai.cpp
preconditioner/jacobi.cpp
reorder/nested_dissection.cpp
reorder/rcm.cpp
reorder/scaled_reordered.cpp
solver/bicg.cpp
Expand All @@ -79,6 +78,10 @@ if(GINKGO_HAVE_PAPI_SDE)
target_sources(ginkgo PRIVATE log/papi.cpp)
endif()

if(GINKGO_HAVE_METIS)
target_sources(ginkgo PRIVATE reorder/nested_dissection.cpp)
endif()

if(GINKGO_BUILD_MPI)
target_sources(ginkgo
PRIVATE
Expand Down

0 comments on commit 464980b

Please sign in to comment.