-
Notifications
You must be signed in to change notification settings - Fork 12
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
Upgrade build system #75
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 54c7c84 in 1 minute and 1 seconds
More details
- Looked at
1108
lines of code in43
files - Skipped
2
files when reviewing. - Skipped posting
8
drafted comments based on config settings.
1. .gitmodules:1
- Draft comment:
The removal of submodules from .gitmodules should be reflected in the removal of their usage in the codebase. Ensure that any references to these submodules in the codebase are also removed or updated accordingly. - Reason this comment was not posted:
Comment did not seem useful.
2. CMakeLists.txt:26
- Draft comment:
Useif(SC_BUILD_TESTS)
instead ofif(${SC_BUILD_TESTS})
to check the option correctly. This applies to other similar conditions in this file. - Reason this comment was not posted:
Confidence changes required:50%
The CMakeLists.txt file has been updated to use modern CMake practices, which is good. However, the use ofif(${SC_BUILD_TESTS})
andif(${SC_CLANG_FORMAT_CODE})
should beif(SC_BUILD_TESTS)
andif(SC_CLANG_FORMAT_CODE)
respectively, as these are options and should be checked without the${}
.
3. CMakePresets.json:3
- Draft comment:
Ensure that the includedConanPresets.json
file exists and is correctly configured to avoid build issues. - Reason this comment was not posted:
Confidence changes required:50%
TheCMakePresets.json
file is well-structured and includes necessary configurations for different build types. However, it is important to ensure that the includedConanPresets.json
file exists and is correctly configured to avoid build issues.
4. cmake/ClangFormat.cmake:17
- Draft comment:
Ensure that theclang-format
tool is available in the environment to avoid configuration errors when this script is executed. - Reason this comment was not posted:
Confidence changes required:50%
TheClangFormat.cmake
file is well-structured and provides a good setup for formatting targets. However, ensure that theclang-format
tool is available in the environment where this CMake script is executed to avoid configuration errors.
5. cmake/install.cmake:4
- Draft comment:
Ensure that all paths and variables used in this script are correctly defined and available in the build environment to avoid installation issues. - Reason this comment was not posted:
Confidence changes required:50%
Theinstall.cmake
script is well-structured for installing targets and setting up CPack. However, ensure that all paths and variables used are correctly defined and available in the build environment to avoid installation issues.
6. cmake/tests.cmake:17
- Draft comment:
Ensure that theGTest
library is correctly linked and available in the build environment to avoid test execution issues. - Reason this comment was not posted:
Confidence changes required:50%
Thetests.cmake
function is well-structured for creating tests from a folder. However, ensure that theGTest
library is correctly linked and available in the build environment to avoid test execution issues.
7. conanfile.py:13
- Draft comment:
Ensure that the specified versions of dependencies are available in the Conan repository to avoid build issues. - Reason this comment was not posted:
Confidence changes required:50%
Theconanfile.py
script is well-structured for defining Conan dependencies. However, ensure that the specified versions of dependencies are available in the Conan repository to avoid build issues.
8. ostis-metasystem.ini:9
- Draft comment:
Ensure that the removal of theextensions
path is intentional and that the system can function correctly without this configuration. - Reason this comment was not posted:
Confidence changes required:50%
Theostis-metasystem.ini
file has been updated to remove theextensions
path. Ensure that this change is intentional and that the system can function correctly without this configuration.
Workflow ID: wflow_DQ2WpX6YdwcQwizd
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
46548bd
to
eeb3562
Compare
@ellipsis, review PR, please |
I attempted to review the pull request, but it seems there is an issue accessing it. Please verify the pull request's status or visibility, and let me know if there are any changes. |
@ellipsis, give me a code review |
I'm currently unable to access PR #75 for a review. Please verify the repository's access permissions or try again later. If the issue persists, consider reaching out for support. |
sc-models/knowledge-base/ostis-metasystem-components-specification.scs
Outdated
Show resolved
Hide resolved
2. Install C++ problem solver: | ||
|
||
```sh | ||
./scripts/install_cxx_problem_solver.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to check this after everything is released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so error here is expected currently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, not all repos are release yet
...em-solver/cxx/identifiers-module/agent/translate_main_system_idtfs_from_sc_to_file_agent.cpp
Show resolved
Hide resolved
2. Install C++ problem solver: | ||
|
||
```sh | ||
./scripts/install_cxx_problem_solver.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so error here is expected currently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not everything was fixed
|
||
### Pull Request Review | ||
|
||
- Reviewer should test code from PR if CI don't do it; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is something that happens in the past relative to the testing by reviewer so it should use some past tense
To check code with CLangFormat run: | ||
```sh | ||
cmake --preset release-with-tests-conan -DSC_CLANG_FORMAT_CODE=ON | ||
cmake --build --preset release --target clangformat_check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on:
Important
Upgrade build system by updating CMake configuration, adding Conan, and modifying scripts and logging.
CMakeLists.txt
to require CMake version 3.24 and set project version to 0.1.0.CMakePresets.json
for build configuration presets.conanfile.py
.ostis-web-platform
andthirdparty/googletest
from.gitmodules
.cmake/ClangFormat.cmake
for code formatting.cmake/install.cmake
for installation configuration.cmake/tests.cmake
for test configuration.scripts/clang/check_formatting.sh
andscripts/clang/format_code.sh
for code formatting.scripts/install_metasystem.sh
to remove platform installation steps.scripts/set_vars.sh
to remove platform-related variables.translate_main_system_idtfs_from_sc_to_file_agent.cpp
and other agents to usem_logger
.ostis-metasystem.ini
to changeparallel_actions
to 1.identifiers-module
andsections-module
in respectivetest
directories.This description was created by
for 54c7c84. It will automatically update as commits are pushed.