Skip to content

Commit

Permalink
Fix lgtm C++ error (microsoft#13613)
Browse files Browse the repository at this point in the history
### 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">
  • Loading branch information
mszhanyi authored Nov 10, 2022
1 parent cd85a63 commit 240a7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extraction:
after_prepare:
# Install cmake
- mkdir custom_cmake
- 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
- 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
- "export PATH=$(pwd)/custom_cmake/bin:${PATH}"
index:
build_command:
Expand Down

0 comments on commit 240a7ec

Please sign in to comment.