Skip to content

Commit

Permalink
Rebased
Browse files Browse the repository at this point in the history
Signed-off-by: chenwei.sun <[email protected]>
  • Loading branch information
tomflinda committed Apr 9, 2024
1 parent d8fb0ba commit e8f7133
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// RUN: rm -rf %T && mkdir -p %T
// RUN: cd %T
// RUN: cp %S/input.cmake ./input.cmake
// RUN: dpct -in-root ./ -out-root out ./input.cmake --migrate-build-script-only
// RUN: echo "begin" > %T/diff.txt
// RUN: diff --strip-trailing-cr %S/expected.txt %T/out/input.cmake >> %T/diff.txt
// RUN: echo "end" >> %T/diff.txt

// CHECK: begin
// CHECK-NEXT: end
2 changes: 2 additions & 0 deletions clang/test/dpct/cmake_migration/case_040/expected.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DPCT3000:1: Migration of syntax "cuda_select_nvcc_arch_flags" is not supported. You may need to adjust the code.
cuda_select_nvcc_arch_flags(CUSTOM_FLAGS 3.0 FOO_ARCH)
1 change: 1 addition & 0 deletions clang/test/dpct/cmake_migration/case_040/input.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cuda_select_nvcc_arch_flags(CUSTOM_FLAGS 3.0 FOO_ARCH)

0 comments on commit e8f7133

Please sign in to comment.