Skip to content

Commit da55a85

Browse files
jmmartinezlamb-j
authored andcommitted
[COMGR][Test] Remove unused cmake macro
Change-Id: Ic72ebc71c0fc2c49122755711e620f4dfdf18dff
1 parent be8bf83 commit da55a85

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

amd/comgr/test/CMakeLists.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,6 @@ macro(add_test_input_binary name input output)
2020
list(APPEND TEST_INPUT_BINARIES "${name}")
2121
endmacro()
2222

23-
# Creates target ${name} and output ${output} by linking two object files.
24-
# ${target1} and ${target2} should refer to the targets created in the above
25-
# add_test_input_binary() macro, and ${input1} and ${input2} should refer
26-
# to the associated object files built by the same macro.
27-
macro(add_test_shared_binary name target1 input1 target2 input2 output)
28-
add_custom_command(
29-
OUTPUT "${output}"
30-
COMMAND "$<TARGET_FILE:clang>" --target=amdgcn-amd-amdhsa
31-
"${input1}" "${input2}" -o "${output}"
32-
VERBATIM
33-
DEPENDS clang lld ${target1} ${target2})
34-
add_custom_target("${name}"
35-
DEPENDS "${output}"
36-
SOURCES "${input1}" "${input2}")
37-
list(APPEND TEST_INPUT_BINARIES "${name}")
38-
endmacro()
39-
4023
# Creates target ${name} which depends on a clang command to compile ${input} to
4124
# ${output}, with any additional arguments from ${ARGN}, and add it to the
4225
# TEST_INPUT_BITCODES target list.

0 commit comments

Comments
 (0)