Skip to content

Commit

Permalink
all
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli committed Jun 3, 2024
1 parent 348bbb6 commit a86eaff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/template/DLAFConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ set(LAPACK_INCLUDE_DIR "@LAPACK_INCLUDE_DIR@")
find_dependency(LAPACK)

if(DLAF_WITH_SCALAPACK)
set(SCALAPACK_LIBRARY "@SCALAPACK_LIBRARY@")
set(SCALAPACK_INCLUDE_DIR "@SCALAPACK_INCLUDE_DIR@")
set(DLAF_SCALAPACK_LIBRARY "@DLAF_SCALAPACK_LIBRARY@")
set(DLAF_SCALAPACK_INCLUDE_DIR "@DLAF_SCALAPACK_INCLUDE_DIR@")
find_dependency(SCALAPACK)
endif()

Expand Down
2 changes: 1 addition & 1 deletion spack/packages/dla-future/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def cmake_args(self):
)
)
if "+scalapack" in spec:
args.append(self.define("SCALAPACK_LIBRARY", spec["scalapack"].libs.ld_flags))
args.append(self.define("DLAF_SCALAPACK_LIBRARY", spec["scalapack"].libs.ld_flags))

args.append(self.define_from_variant("DLAF_WITH_SCALAPACK", "scalapack"))

Expand Down

0 comments on commit a86eaff

Please sign in to comment.