Skip to content

Commit

Permalink
added debugging for build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-clmsn committed Oct 27, 2023
1 parent 7aadc54 commit da474ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/HPX_SetupOpenSHMEM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@ macro(hpx_setup_openshmem)
)

if(OPENSHMEM_BUILD_STATUS)
file(READ ${OPENSHMEM_BUILD_OUTPUT} OPENSHMEM_BUILD_OUTPUT_CONTENT)

message(
FATAL_ERROR
"OpenSHMEM build result = ${OPENSHMEM_SRC_BUILD_STATUS} - see ${OPENSHMEM_SRC_BUILD_OUTPUT} for more details"
"OpenSHMEM build result = ${OPENSHMEM_BUILD_STATUS} - see ${OPENSHMEM_BUILD_OUTPUT} for more details\nOpenSHMEM build command\t:./autogen.sh && CC=${CMAKE_C_COMPILER} ./configure --prefix=${OPENSHMEM_DIR}/install --enable-shared --disable-fortran ${PMI_AUTOCONF_OPTS} && make && make install\n${OPENSHMEM_BUILD_OUTPUT_CONTENT}"
)
else()

Expand Down

0 comments on commit da474ca

Please sign in to comment.