Skip to content

Commit

Permalink
Merge pull request #738 from mmuetzel/graphblas
Browse files Browse the repository at this point in the history
GraphBLAS: Override `GrBJITPackageGenerator_DIR` when cross-compiling.
  • Loading branch information
DrTimothyAldenDavis authored Jan 17, 2024
2 parents 5966e4b + 08bb8de commit d88745b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GraphBLAS/JITpackage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ if ( CMAKE_CROSSCOMPILING )
CMAKE_ARGS ${GRAPHBLAS_CROSS_TOOLCHAIN_FLAGS_NATIVE}
INSTALL_COMMAND "" )

# Overriding this variable seems to be necessary if users set
# CMAKE_FIND_ROOT_PATH_MODE_PACKAGE to ONLY.
# See: https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/729
set( GrBJITPackageGenerator_DIR ${PROJECT_BINARY_DIR}/native )

# The following package won't be found on the first run (before the native
# grb_jitpackage has been built). But it should be found after the above
# external project has built it.
Expand Down

0 comments on commit d88745b

Please sign in to comment.