Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lgtm C++ error #13613

Merged
merged 4 commits into from
Nov 10, 2022
Merged

Fix lgtm C++ error #13613

merged 4 commits into from
Nov 10, 2022

Conversation

mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Nov 10, 2022

Description

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.
image

@mszhanyi mszhanyi changed the title fix lgtm error fix lgtm C++ error Nov 10, 2022
@mszhanyi mszhanyi changed the title fix lgtm C++ error Fix lgtm C++ error Nov 10, 2022
@mszhanyi mszhanyi requested review from justinchuby and snnn November 10, 2022 12:07
Copy link
Member

@snnn snnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@justinchuby
Copy link
Contributor

Thanks! We can take this and use it for migration to CodeQL

@snnn snnn merged commit 240a7ec into main Nov 10, 2022
@snnn snnn deleted the zhanyi/lgtm branch November 10, 2022 18:06
henrywu2019 pushed a commit to henrywu2019/onnxruntime that referenced this pull request Dec 21, 2022
### 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">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants