Skip to content

Commit 240a7ec

Browse files
authored
Fix lgtm C++ error (#13613)
### Description <!-- Describe your changes. --> ### Motivation and Context Recently, every change in C/C++ code has the exception as below ``` [2022-11-10 04:36:05] [build-stderr] CMake Error at CMakeLists.txt:5 (cmake_minimum_required): [2022-11-10 04:36:05] [build-stderr] CMake 3.24 or higher is required. You are running version 3.23.1 ``` https://lgtm.com/projects/g/microsoft/onnxruntime/logs/rev/pr-9c39e0fe82768b017af09118af7344a9703317a5/lang:cpp/stage:Build%20merge_d70f6e7a151e1fea8003b81a4e6d6aa6a80a788d ### Verification We could see the test commit in my branch passed. Once the PR is merged, master build check would pass too. <img width="767" alt="image" src="https://user-images.githubusercontent.com/16190118/201086512-25ea69e7-6fe5-4939-b557-b3468428d363.png">
1 parent cd85a63 commit 240a7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgtm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extraction:
1313
after_prepare:
1414
# Install cmake
1515
- mkdir custom_cmake
16-
- wget --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C custom_cmake
16+
- wget --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C custom_cmake
1717
- "export PATH=$(pwd)/custom_cmake/bin:${PATH}"
1818
index:
1919
build_command:

0 commit comments

Comments
 (0)