-
Notifications
You must be signed in to change notification settings - Fork 112
Add light runtime mode tests in CI #1038
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
base: master
Are you sure you want to change the base?
Changes from 32 commits
718951b
5db00ea
c42a920
99b437f
3ece261
318cfda
7aaf62d
66c040f
ddc5272
78bee1f
a931aa6
ef02515
5f9c6b6
1f6928c
6500be4
ea216c2
2bcaf27
807e588
d5482a6
cb09c76
790db6e
b611b47
f5a4edd
8d194f1
6c49565
bf88ac2
e8fd52f
1ec1a02
32d1a24
92ccc80
4675969
937d928
ee71a42
6245489
984ca27
f0de71c
4f2cc92
83273c3
25ca5f2
9ed7351
882f983
2125a43
5630c2b
caa0b2b
3138ca6
7683a57
251a039
9b4f525
6cbbfc5
b5f7182
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES Clang) | |
| set(COMPILER_CLANG True) | ||
| elseif(CMAKE_CXX_COMPILER_ID MATCHES GNU) | ||
| if (COMPILE_RUNTIME_LIGHT) | ||
| check_compiler_version(gcc 10.1.0) | ||
| check_compiler_version(gcc 11.4.0) | ||
| else() | ||
| check_compiler_version(gcc 8.3.0) | ||
| endif() | ||
|
|
@@ -106,7 +106,8 @@ endif() | |
| add_compile_options(-Werror -Wall -Wextra -Wunused-function -Wfloat-conversion -Wno-sign-compare | ||
| -Wuninitialized -Wno-redundant-move -Wno-missing-field-initializers) | ||
| if(COMPILE_RUNTIME_LIGHT) | ||
| add_compile_options(-Wno-vla-cxx-extension) | ||
| add_compile_options(-Wno-type-limits -Wno-attributes -Wno-ignored-attributes) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are this options necessary? Which compiler doesn't compile without them?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be better to fix the places in the code that cause the errors
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that you add if for GCC in this place. In my opinion this check should't exist, but it's a different task |
||
| add_compile_options(-Wno-vla-extension) | ||
| endif() | ||
|
|
||
| if(NOT APPLE) | ||
|
|
@@ -134,6 +135,7 @@ if(COMPILE_RUNTIME_LIGHT) | |
| "${PROJECT_BINARY_DIR}/tmp" | ||
| "${PROJECT_BINARY_DIR}/check_coroutine_include.cpp" | ||
| COMPILE_DEFINITIONS "${TRY_COMPILE_COMPILE_OPTIONS}" | ||
| CXX_STANDARD 20 | ||
|
andarut marked this conversation as resolved.
|
||
| ) | ||
| if(NOT HAS_COROUTINE) | ||
| message(FATAL_ERROR "Compiler or libstdc++ does not support coroutines") | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And why are these changes here?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Like all
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. to bypass clang-format, these changes provided by @astrophysik and merged to my branch for testing checking step
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It shouldn't be in this MR anyway. There should be a separate MR for
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I don't think that this is important |
Uh oh!
There was an error while loading. Please reload this page.