From 711e406d1db8d594069ff26aedf9fc1bfd80a141 Mon Sep 17 00:00:00 2001 From: Liyulingyue <852433440@qq.com> Date: Sat, 24 Feb 2024 13:30:48 +0800 Subject: [PATCH 1/3] add cmakelist --- test/cpp/fluid/CMakeLists.txt | 1 + test/cpp/fluid/platform/CMakeLists.txt | 2 ++ test/cpp/fluid/platform/device/CMakeLists.txt | 1 + test/cpp/fluid/platform/device/custom/CMakeLists.txt | 1 + test/cpp/fluid/platform/profiler/CMakeLists.txt | 1 + 5 files changed, 6 insertions(+) create mode 100644 test/cpp/fluid/platform/CMakeLists.txt create mode 100644 test/cpp/fluid/platform/device/CMakeLists.txt create mode 100644 test/cpp/fluid/platform/device/custom/CMakeLists.txt create mode 100644 test/cpp/fluid/platform/profiler/CMakeLists.txt diff --git a/test/cpp/fluid/CMakeLists.txt b/test/cpp/fluid/CMakeLists.txt index 6e006b16ad6ef6..f49eefb4354d0f 100644 --- a/test/cpp/fluid/CMakeLists.txt +++ b/test/cpp/fluid/CMakeLists.txt @@ -1,6 +1,7 @@ add_subdirectory(memory) add_subdirectory(benchmark) add_subdirectory(framework) +add_subdirectory(platform) if(WITH_CINN) add_subdirectory(cinn) diff --git a/test/cpp/fluid/platform/CMakeLists.txt b/test/cpp/fluid/platform/CMakeLists.txt new file mode 100644 index 00000000000000..d57ed923b4a632 --- /dev/null +++ b/test/cpp/fluid/platform/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(device) +add_subdirectory(profiler) diff --git a/test/cpp/fluid/platform/device/CMakeLists.txt b/test/cpp/fluid/platform/device/CMakeLists.txt new file mode 100644 index 00000000000000..33311abc3d2793 --- /dev/null +++ b/test/cpp/fluid/platform/device/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(custom) diff --git a/test/cpp/fluid/platform/device/custom/CMakeLists.txt b/test/cpp/fluid/platform/device/custom/CMakeLists.txt new file mode 100644 index 00000000000000..3c1030e5ab47c6 --- /dev/null +++ b/test/cpp/fluid/platform/device/custom/CMakeLists.txt @@ -0,0 +1 @@ +# (Liyulingyue) create an empty cmake file to avoid conflict diff --git a/test/cpp/fluid/platform/profiler/CMakeLists.txt b/test/cpp/fluid/platform/profiler/CMakeLists.txt new file mode 100644 index 00000000000000..3c1030e5ab47c6 --- /dev/null +++ b/test/cpp/fluid/platform/profiler/CMakeLists.txt @@ -0,0 +1 @@ +# (Liyulingyue) create an empty cmake file to avoid conflict From 0bab5f4a632fe81fb9ba3b42ce1ad662f7364c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Sat, 24 Feb 2024 13:36:13 +0800 Subject: [PATCH 2/3] Update CMakeLists.txt --- test/cpp/fluid/platform/device/custom/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/fluid/platform/device/custom/CMakeLists.txt b/test/cpp/fluid/platform/device/custom/CMakeLists.txt index 3c1030e5ab47c6..0a95e9a292a4dd 100644 --- a/test/cpp/fluid/platform/device/custom/CMakeLists.txt +++ b/test/cpp/fluid/platform/device/custom/CMakeLists.txt @@ -1 +1 @@ -# (Liyulingyue) create an empty cmake file to avoid conflict +# Note(Liyulingyue): create an empty cmake file to avoid conflict From ef3bd86209b311d46bee862facf0929ed335dcfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Sat, 24 Feb 2024 13:36:26 +0800 Subject: [PATCH 3/3] Update CMakeLists.txt --- test/cpp/fluid/platform/profiler/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/fluid/platform/profiler/CMakeLists.txt b/test/cpp/fluid/platform/profiler/CMakeLists.txt index 3c1030e5ab47c6..0a95e9a292a4dd 100644 --- a/test/cpp/fluid/platform/profiler/CMakeLists.txt +++ b/test/cpp/fluid/platform/profiler/CMakeLists.txt @@ -1 +1 @@ -# (Liyulingyue) create an empty cmake file to avoid conflict +# Note(Liyulingyue): create an empty cmake file to avoid conflict