Skip to content

Commit

Permalink
[NFC] Don't print generated device binary names
Browse files Browse the repository at this point in the history
Pass -q to `clang-offload-extract` so it doesn't generate binary names
when building.

Closes: oneapi-src#2084
  • Loading branch information
RossBrunton committed Oct 1, 2024
1 parent 675dd29 commit 76ade35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conformance/device_code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ macro(add_device_binary SOURCE_FILE)
${AMD_TARGET_BACKEND} ${AMD_OFFLOAD_ARCH} ${AMD_NOGPULIB}
${DPCXX_BUILD_FLAGS_LIST} ${SOURCE_FILE} -o ${EXE_PATH}

COMMAND ${CMAKE_COMMAND} -E env ${EXTRA_ENV} ${UR_DEVICE_CODE_EXTRACTOR} --stem="${TRIPLE}.bin" ${EXE_PATH}
COMMAND ${CMAKE_COMMAND} -E env ${EXTRA_ENV} ${UR_DEVICE_CODE_EXTRACTOR} -q --stem="${TRIPLE}.bin" ${EXE_PATH}

WORKING_DIRECTORY "${DEVICE_BINARY_DIR}"
DEPENDS ${SOURCE_FILE}
Expand Down

0 comments on commit 76ade35

Please sign in to comment.