Skip to content

Commit c78ae8a

Browse files
committed
[Comgr] Add missing -nogpulib to test bitcode generation
Change-Id: Ia423b9d1c02daa983a7e5b7188bf870a149205f3
1 parent 29ca7a3 commit c78ae8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amd/comgr/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ macro(add_test_input_bitcode name input output)
4444
add_custom_command(
4545
OUTPUT "${output}"
4646
COMMAND "$<TARGET_FILE:clang>" -c -emit-llvm -target amdgcn-amd-amdhsa
47-
-mcpu=gfx900
47+
-mcpu=gfx900 -nogpulib
4848
${ARGN} "${CMAKE_CURRENT_SOURCE_DIR}/${input}"
4949
-o "${output}"
5050
VERBATIM

0 commit comments

Comments
 (0)